@@ -315,7 +315,7 @@ discard block |
||
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 |
||
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 |
@@ -414,8 +414,8 @@ |
||
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 | { |
@@ -346,6 +346,7 @@ |
||
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) |
@@ -67,7 +67,7 @@ |
||
67 | 67 | } |
68 | 68 | |
69 | 69 | /** |
70 | - * @return mixed |
|
70 | + * @return boolean |
|
71 | 71 | */ |
72 | 72 | protected function getIsDumping() |
73 | 73 | { |
@@ -41,8 +41,8 @@ |
||
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'); |