Completed
Pull Request — master (#14)
by Mischa
05:21
created
src/Superdesk/ContentApiSdk/API/Pagerfanta/PackageAdapter.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,9 +32,9 @@
 block discarded – undo
32 32
     /**
33 33
      * Instantiate object.
34 34
      *
35
-     * @param Superdesk\CotentApiSdk\Client\ClientInterface $client HTTP client
36
-     * @param Superdesk\CotentApiSdk\API\Request $request API Request is_object(var)
37
-     * @param Superdesk\CotentApiSdk\ContentApiSdk $apiInstance SDK Instance
35
+     * @param \Superdesk\ContentApiSdk\Client\ClientInterface $client HTTP client
36
+     * @param \Superdesk\ContentApiSdk\API\Request $request API Request is_object(var)
37
+     * @param \Superdesk\ContentApiSdk\ContentApiSdk $apiInstance SDK Instance
38 38
      * @param boolean $resolveAssociations Resolve package associations
39 39
      */
40 40
     public function __construct($client, $request, $apiInstance, $resolveAssociations)
Please login to merge, or discard this patch.
src/Superdesk/ContentApiSdk/ContentApiSdk.php 1 patch
Doc Comments   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
      *
211 211
      * @param array $params Filter parameters
212 212
      *
213
-     * @return mixed
213
+     * @return ResourceCollection
214 214
      */
215 215
     public function getItems($params)
216 216
     {
@@ -259,10 +259,8 @@  discard block
 block discarded – undo
259 259
      * Get multiple packages based on a filter.
260 260
      *
261 261
      * @param array $params       Filter parameters
262
-     * @param bool  $resolveItems Inject full associations recursively instead
263
-     *                            of references by uri.
264 262
      *
265
-     * @return mixed
263
+     * @return ResourceCollection
266 264
      */
267 265
     public function getPackages($params, $resolveAssociations = false)
268 266
     {
@@ -411,7 +409,7 @@  discard block
 block discarded – undo
411 409
      * set to true. Throws an InvalidArgumentException when an invalid value
412 410
      * is supplied for a parameter.
413 411
      *
414
-     * @param  mixed[] $requestParameters Array of parameter, where key
412
+     * @param  string[] $requestParameters Array of parameter, where key
415 413
      *                                    represents the parameter name
416 414
      * @param  boolean $validate Validation boolean
417 415
      *
Please login to merge, or discard this patch.