Skip to content

Commit

Permalink
Define the requirement of the parameter to be an array in the first m…
Browse files Browse the repository at this point in the history
…ethod signature.
  • Loading branch information
tdphillipsjr committed May 17, 2016
1 parent 4ca4164 commit d74ae2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/ApplicationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function setJobApiService(JobApiService $jobService)
* @throws GreenhouseApplicationException if required fields are not included.
* @throws GreenhouseAPIResponseException if a non-200 response is returned.
*/
public function postApplication($postVars=array())
public function postApplication(Array $postVars=array())
{
$this->validateRequiredFields($postVars);
$postParams = $this->_apiClient->formatPostParameters($postVars);
Expand Down

0 comments on commit d74ae2a

Please sign in to comment.