@@ -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 | { |
@@ -362,6 +362,9 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | { |