@@ -48,8 +48,8 @@ public function __construct(Client $client)
4848     * Catches any undefined "get{$field}" calls, and passes them 
4949     * to the getField() if the $field is in the $this->fields property 
5050     * 
51-      * @param string $method     called method 
52-      * @param array   $arguments array of arguments passed to called method 
51+      * @param string $method called method 
52+      * @param array $arguments array of arguments passed to called method 
5353     * 
5454     * @return array 
5555     * 
@@ -85,7 +85,7 @@ public function getFields()
8585    /** 
8686     * Get a field value by field name 
8787     * 
88-      * @param string $id     the board's id 
88+      * @param string $id the board's id 
8989     * @param string $field the field 
9090     * 
9191     * @return mixed field value 
@@ -98,21 +98,21 @@ public function getField($id, $field)
9898            throw  new  InvalidArgumentException (sprintf ('There is no field named %s. ' , $ field
9999        }
100100
101-         $ response$ this get ($ this path . '/ ' . rawurlencode ($ id. '/ ' . rawurlencode ($ field
101+         $ response$ this get ($ this path  .  '/ '  .  rawurlencode ($ id .  '/ '  .  rawurlencode ($ field
102102
103103        return  isset ($ response'_value ' ]) ? $ response'_value ' ] : $ response
104104    }
105105
106106    /** 
107107     * Send a GET request with query parameters. 
108108     * 
109-      * @param string $path            Request path. 
110-      * @param array   $parameters      GET parameters. 
111-      * @param array   $requestHeaders Request Headers. 
109+      * @param string $path Request path. 
110+      * @param array $parameters GET parameters. 
111+      * @param array $requestHeaders Request Headers. 
112112     * 
113-      * @return \Guzzle\Http\EntityBodyInterface| mixed|string  
113+      * @return mixed 
114114     */ 
115-     protected  function  get ($ patharray  $ parametersarray () , $ requestHeadersarray () )
115+     protected  function  get ($ patharray  $ parameters[] , $ requestHeaders[] )
116116    {
117117        $ response$ this client ->getHttpClient ()->get ($ path$ parameters$ requestHeaders
118118
@@ -122,31 +122,31 @@ protected function get($path, array $parameters = array(), $requestHeaders = arr
122122    /** 
123123     * Send a HEAD request with query parameters 
124124     * 
125-      * @param string $path            Request path. 
126-      * @param array   $parameters      HEAD parameters. 
127-      * @param array   $requestHeaders Request headers. 
125+      * @param string $path Request path. 
126+      * @param array $parameters HEAD parameters. 
127+      * @param array $requestHeaders Request headers. 
128128     * 
129-      * @return \Guzzle\Http \Message\Response 
129+      * @return \GuzzleHttp \Message\Response 
130130     */ 
131-     protected  function  head ($ patharray  $ parametersarray () , $ requestHeadersarray () )
131+     protected  function  head ($ patharray  $ parameters[] , $ requestHeaders[] )
132132    {
133-         $ response$ this client ->getHttpClient ()->request ($ pathnull , 'HEAD ' , $ requestHeadersarray ( 
133+         $ response$ this client ->getHttpClient ()->request ($ pathnull , 'HEAD ' , $ requestHeaders[ 
134134            'query '  => $ parameters
135-         ) );
135+         ] );
136136
137137        return  $ response
138138    }
139139
140140    /** 
141141     * Send a POST request with JSON-encoded parameters. 
142142     * 
143-      * @param string $path            Request path. 
144-      * @param array   $parameters      POST parameters to be JSON encoded. 
145-      * @param array   $requestHeaders Request headers. 
143+      * @param string $path Request path. 
144+      * @param array $parameters POST parameters to be JSON encoded. 
145+      * @param array $requestHeaders Request headers. 
146146     * 
147147     * @return mixed 
148148     */ 
149-     protected  function  post ($ patharray  $ parametersarray () , $ requestHeadersarray () )
149+     protected  function  post ($ patharray  $ parameters[] , $ requestHeaders[] )
150150    {
151151        return  $ this postRaw (
152152            $ path
@@ -158,13 +158,13 @@ protected function post($path, array $parameters = array(), $requestHeaders = ar
158158    /** 
159159     * Send a POST request with raw data. 
160160     * 
161-      * @param string $path            Request path. 
162-      * @param mixed   $body            Request body. 
163-      * @param array   $requestHeaders Request headers. 
161+      * @param string $path Request path. 
162+      * @param mixed $body Request body. 
163+      * @param array $requestHeaders Request headers. 
164164     * 
165-      * @return \Guzzle\Http\EntityBodyInterface| mixed|string  
165+      * @return mixed 
166166     */ 
167-     protected  function  postRaw ($ path$ body$ requestHeadersarray () )
167+     protected  function  postRaw ($ path$ body$ requestHeaders[] )
168168    {
169169        $ response$ this client ->getHttpClient ()->post (
170170            $ path
@@ -178,13 +178,13 @@ protected function postRaw($path, $body, $requestHeaders = array())
178178    /** 
179179     * Send a PATCH request with JSON-encoded parameters. 
180180     * 
181-      * @param string $path            Request path. 
182-      * @param array   $parameters      POST parameters to be JSON encoded. 
183-      * @param array   $requestHeaders Request headers. 
181+      * @param string $path Request path. 
182+      * @param array $parameters POST parameters to be JSON encoded. 
183+      * @param array $requestHeaders Request headers. 
184184     * 
185185     * @return mixed 
186186     */ 
187-     protected  function  patch ($ patharray  $ parametersarray () , $ requestHeadersarray () )
187+     protected  function  patch ($ patharray  $ parameters[] , $ requestHeaders[] )
188188    {
189189        $ response$ this client ->getHttpClient ()->patch (
190190            $ path
@@ -198,13 +198,13 @@ protected function patch($path, array $parameters = array(), $requestHeaders = a
198198    /** 
199199     * Send a PUT request with JSON-encoded parameters. 
200200     * 
201-      * @param string $path            Request path. 
202-      * @param array   $parameters      POST parameters to be JSON encoded. 
203-      * @param array   $requestHeaders Request headers. 
201+      * @param string $path Request path. 
202+      * @param array $parameters POST parameters to be JSON encoded. 
203+      * @param array $requestHeaders Request headers. 
204204     * 
205205     * @return mixed 
206206     */ 
207-     protected  function  put ($ patharray  $ parametersarray () , $ requestHeadersarray () )
207+     protected  function  put ($ patharray  $ parameters[] , $ requestHeaders[] )
208208    {
209209        foreach  ($ parametersas  $ name$ parameter
210210            if  (is_bool ($ parameter
@@ -224,13 +224,13 @@ protected function put($path, array $parameters = array(), $requestHeaders = arr
224224    /** 
225225     * Send a DELETE request with JSON-encoded parameters. 
226226     * 
227-      * @param string $path            Request path. 
228-      * @param array   $parameters      POST parameters to be JSON encoded. 
229-      * @param array   $requestHeaders Request headers. 
227+      * @param string $path Request path. 
228+      * @param array $parameters POST parameters to be JSON encoded. 
229+      * @param array $requestHeaders Request headers. 
230230     * 
231231     * @return mixed 
232232     */ 
233-     protected  function  delete ($ patharray  $ parametersarray () , $ requestHeadersarray () )
233+     protected  function  delete ($ patharray  $ parameters[] , $ requestHeaders[] )
234234    {
235235        $ response$ this client ->getHttpClient ()->delete (
236236            $ path
@@ -258,7 +258,7 @@ protected function createParametersBody(array $parameters)
258258                    if  (is_bool ($ subParameter
259259                        $ subParameter$ subParameter'true '  : 'false ' ;
260260                    }
261-                     $ parameters$ name. '/ ' . $ subName$ subParameter
261+                     $ parameters$ name .  '/ '  .  $ subName$ subParameter
262262                }
263263                unset($ parameters$ name
264264            } elseif  ($ parameterinstanceof  DateTime) {
@@ -282,7 +282,7 @@ protected function getPath($id = null)
282282     * Validate parameters array 
283283     * 
284284     * @param string[] $required required properties (array keys) 
285-      * @param array $params    array to check for existence of the required keys 
285+      * @param array $params array to check for existence of the required keys 
286286     * 
287287     * @throws MissingArgumentException if a required parameter is missing 
288288     */ 
@@ -299,8 +299,8 @@ protected function validateRequiredParameters(array $required, array $params)
299299     * Validate allowed parameters array 
300300     * Checks whether the passed parameters are allowed 
301301     * 
302-      * @param string[]         $allowed allowed properties 
303-      * @param array|string $params   array to check 
302+      * @param string[] $allowed allowed properties 
303+      * @param array|string $params array to check 
304304     * @param string $paramName 
305305     * 
306306     * @return array array of validated parameters 
@@ -310,7 +310,7 @@ protected function validateRequiredParameters(array $required, array $params)
310310    protected  function  validateAllowedParameters (array  $ allowed$ params$ paramName
311311    {
312312        if  (!is_array ($ params
313-             $ paramsarray ( $ params) ;
313+             $ params[ $ params] ;
314314        }
315315
316316        foreach  ($ paramsas  $ param
@@ -332,7 +332,7 @@ protected function validateAllowedParameters(array $allowed, $params, $paramName
332332     * the keys in a given array 
333333     * 
334334     * @param string[] $atLeastOneOf allowed properties 
335-      * @param array $params        array to check 
335+      * @param array $params array to check 
336336     * 
337337     * @return boolean 
338338     * 
0 commit comments