From d74ae2a3111d889ad3e7722b31afc33dc5f7a448 Mon Sep 17 00:00:00 2001 From: Tom Phillips Date: Tue, 17 May 2016 10:57:41 -0400 Subject: [PATCH] Define the requirement of the parameter to be an array in the first method signature. --- src/Services/ApplicationService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/ApplicationService.php b/src/Services/ApplicationService.php index 089a748..3452b1b 100644 --- a/src/Services/ApplicationService.php +++ b/src/Services/ApplicationService.php @@ -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);