Test Setup Failed
Pull Request — master (#60)
by Christopher
04: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/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 2 patches
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.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
             $xTest = $request->header('XTest');
42 42
             $xTest = (null !== $xTest) ? $xTest : $request->method() . ";" . str_replace("/", "-", $request->path()) . ";" . date("h:i:s A") . ";";
43 43
             if (null != $xTest) {
44
-            	$reflectionClass = new \ReflectionClass('Illuminate\Http\Request');
45
-            	$reflectionProperty = $reflectionClass->getProperty('userResolver');
44
+                $reflectionClass = new \ReflectionClass('Illuminate\Http\Request');
45
+                $reflectionProperty = $reflectionClass->getProperty('userResolver');
46 46
                 $reflectionProperty->setAccessible(true);
47 47
                 $reflectionProperty->setValue($request, null);
48 48
                 $reflectionProperty = $reflectionClass->getProperty('routeResolver');
Please login to merge, or discard this patch.