Test Failed
Push — master ( e1913c...b544bf )
by Alex
03:03
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/Providers/MetadataControllerProvider.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 namespace AlgoWeb\PODataLaravel\Providers;
4 4
 
5 5
 use AlgoWeb\PODataLaravel\Controllers\MetadataControllerTrait;
6
-use AlgoWeb\PODataLaravel\Controllers\TestController;
7 6
 use Illuminate\Routing\Controller;
8
-use Illuminate\Support\ServiceProvider;
9 7
 use Illuminate\Support\Facades\Cache;
10 8
 use AlgoWeb\PODataLaravel\Controllers\MetadataControllerContainer;
11 9
 use Illuminate\Support\Facades\App;
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/Providers/MetadataProvider.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,12 +3,9 @@
 block discarded – undo
3 3
 namespace AlgoWeb\PODataLaravel\Providers;
4 4
 
5 5
 use Illuminate\Support\Facades\App;
6
-use Illuminate\Support\ServiceProvider;
7 6
 use Illuminate\Support\Facades\Cache;
8 7
 use POData\Providers\Metadata\IMetadataProvider;
9
-use POData\Providers\Metadata\ResourceType;
10 8
 use POData\Providers\Metadata\SimpleMetadataProvider;
11
-use Illuminate\Support\Facades\Route;
12 9
 use Illuminate\Support\Facades\Schema as Schema;
13 10
 
14 11
 class MetadataProvider extends MetadataBaseProvider
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   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -395,6 +395,9 @@  discard block
 block discarded – undo
395 395
         return $this->stack;
396 396
     }
397 397
 
398
+    /**
399
+     * @param string $containerName
400
+     */
398 401
     protected function getEntryInstanceKey($entityInstance, ResourceType $resourceType, $containerName)
399 402
     {
400 403
         $typeName = $resourceType->getName();
@@ -426,7 +429,7 @@  discard block
 block discarded – undo
426 429
     /**
427 430
      * @param $entryObject
428 431
      * @param $type
429
-     * @param $relativeUri
432
+     * @param string $relativeUri
430 433
      * @param $resourceType
431 434
      * @return array
432 435
      */
@@ -493,7 +496,7 @@  discard block
 block discarded – undo
493 496
      * Find a 'ExpandedProjectionNode' instance in the projection tree
494 497
      * which describes the current segment.
495 498
      *
496
-     * @return ExpandedProjectionNode|null
499
+     * @return null|\POData\UriProcessor\QueryProcessor\ExpandProjectionParser\RootProjectionNode|ExpandedProjectionNode
497 500
      */
498 501
     protected function getCurrentExpandedProjectionNode()
499 502
     {
@@ -664,7 +667,7 @@  discard block
 block discarded – undo
664 667
     /**
665 668
      * @param $entryObject
666 669
      * @param $prop
667
-     * @param $nuLink
670
+     * @param ODataLink $nuLink
668 671
      * @param $propKind
669 672
      * @param $propName
670 673
      */
Please login to merge, or discard this patch.
src/Query/LaravelReadQuery.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -184,6 +184,7 @@  discard block
 block discarded – undo
184 184
      * @param mixed $orderBy sorted order if we want to get the data in some specific order
185 185
      * @param int $top number of records which  need to be skip
186 186
      * @param String $skip value indicating what records to skip
187
+     * @param SkipTokenInfo $skipToken
187 188
      *
188 189
      * @return QueryResult
189 190
      *
@@ -362,6 +363,7 @@  discard block
 block discarded – undo
362 363
 
363 364
     /**
364 365
      * @param $sourceEntityInstance
366
+     * @param Model $checkInstance
365 367
      * @throws ODataException
366 368
      */
367 369
     private function checkAuth($sourceEntityInstance, $checkInstance = null)
Please login to merge, or discard this patch.