Test Setup Failed
Pull Request — master (#62)
by Alex
03:26
created
src/Query/LaravelQuery.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
     }
316 316
     /**
317 317
      * Delete resource from a resource set.
318
-     * @param ResourceSet|null $sourceResourceSet
318
+     * @param ResourceSet $sourceResourceSet
319 319
      * @param object           $sourceEntityInstance
320 320
      *
321 321
      * return bool true if resources sucessfully deteled, otherwise false.
@@ -460,7 +460,7 @@  discard block
 block discarded – undo
460 460
      * @param ResourceSet $sourceResourceSet
461 461
      * @param $sourceEntityInstance
462 462
      * @param $data
463
-     * @param $verb
463
+     * @param string $verb
464 464
      * @return mixed
465 465
      * @throws ODataException
466 466
      * @throws \POData\Common\InvalidOperationException
Please login to merge, or discard this patch.
src/Models/MetadataTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -414,8 +414,8 @@
 block discarded – undo
414 414
      * @param $first
415 415
      * @param $property
416 416
      * @param $last
417
-     * @param $mult
418
-     * @param $targ
417
+     * @param string $mult
418
+     * @param string $targ
419 419
      */
420 420
     private function addRelationsHook(&$hooks, $first, $property, $last, $mult, $targ)
421 421
     {
Please login to merge, or discard this patch.
src/Query/LaravelReadQuery.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -346,6 +346,7 @@
 block discarded – undo
346 346
 
347 347
     /**
348 348
      * @param $sourceEntityInstance
349
+     * @param Model $checkInstance
349 350
      * @throws ODataException
350 351
      */
351 352
     private function checkAuth($sourceEntityInstance, $checkInstance = null)
Please login to merge, or discard this patch.
src/Controllers/ODataController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     }
68 68
 
69 69
     /**
70
-     * @return mixed
70
+     * @return boolean
71 71
      */
72 72
     protected function getIsDumping()
73 73
     {
Please login to merge, or discard this patch.
src/Serialisers/IronicSerialiser.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -362,6 +362,9 @@  discard block
 block discarded – undo
362 362
         return $this->stack;
363 363
     }
364 364
 
365
+    /**
366
+     * @param string $containerName
367
+     */
365 368
     protected function getEntryInstanceKey($entityInstance, ResourceType $resourceType, $containerName)
366 369
     {
367 370
         $typeName = $resourceType->getName();
@@ -394,7 +397,7 @@  discard block
 block discarded – undo
394 397
     /**
395 398
      * @param $entryObject
396 399
      * @param $type
397
-     * @param $relativeUri
400
+     * @param string $relativeUri
398 401
      * @param $resourceType
399 402
      * @return array
400 403
      */
@@ -461,7 +464,7 @@  discard block
 block discarded – undo
461 464
      * Find a 'ExpandedProjectionNode' instance in the projection tree
462 465
      * which describes the current segment.
463 466
      *
464
-     * @return ExpandedProjectionNode|null
467
+     * @return null|\POData\UriProcessor\QueryProcessor\ExpandProjectionParser\RootProjectionNode|ExpandedProjectionNode
465 468
      */
466 469
     protected function getCurrentExpandedProjectionNode()
467 470
     {
Please login to merge, or discard this patch.