@@ -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 | { |
@@ -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 | { |
@@ -184,6 +184,7 @@ discard block |
||
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 |
||
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) |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | /** |
106 | 106 | * Write a top level entry resource. |
107 | 107 | * |
108 | - * @param mixed $entryObject Reference to the entry object to be written |
|
108 | + * @param QueryResult $entryObject Reference to the entry object to be written |
|
109 | 109 | * |
110 | 110 | * @return ODataEntry |
111 | 111 | */ |
@@ -250,7 +250,7 @@ discard block |
||
250 | 250 | /** |
251 | 251 | * Write top level url element. |
252 | 252 | * |
253 | - * @param mixed $entryObject The entry resource whose url to be written |
|
253 | + * @param QueryResult $entryObject The entry resource whose url to be written |
|
254 | 254 | * |
255 | 255 | * @return ODataURL |
256 | 256 | */ |
@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | /** |
275 | 275 | * Write top level url collection. |
276 | 276 | * |
277 | - * @param array $entryObjects Array of entry resources |
|
277 | + * @param QueryResult $entryObjects Array of entry resources |
|
278 | 278 | * whose url to be written |
279 | 279 | * |
280 | 280 | * @return ODataURLCollection |
@@ -402,6 +402,9 @@ discard block |
||
402 | 402 | return $this->stack; |
403 | 403 | } |
404 | 404 | |
405 | + /** |
|
406 | + * @param string $containerName |
|
407 | + */ |
|
405 | 408 | protected function getEntryInstanceKey($entityInstance, ResourceType $resourceType, $containerName) |
406 | 409 | { |
407 | 410 | $typeName = $resourceType->getName(); |
@@ -433,7 +436,7 @@ discard block |
||
433 | 436 | /** |
434 | 437 | * @param $entryObject |
435 | 438 | * @param $type |
436 | - * @param $relativeUri |
|
439 | + * @param string $relativeUri |
|
437 | 440 | * @param $resourceType |
438 | 441 | * @return array |
439 | 442 | */ |
@@ -500,7 +503,7 @@ discard block |
||
500 | 503 | * Find a 'ExpandedProjectionNode' instance in the projection tree |
501 | 504 | * which describes the current segment. |
502 | 505 | * |
503 | - * @return ExpandedProjectionNode|null |
|
506 | + * @return null|\POData\UriProcessor\QueryProcessor\ExpandProjectionParser\RootProjectionNode|ExpandedProjectionNode |
|
504 | 507 | */ |
505 | 508 | protected function getCurrentExpandedProjectionNode() |
506 | 509 | { |
@@ -723,7 +726,7 @@ discard block |
||
723 | 726 | /** |
724 | 727 | * @param $entryObject |
725 | 728 | * @param $prop |
726 | - * @param $nuLink |
|
729 | + * @param ODataLink $nuLink |
|
727 | 730 | * @param $propKind |
728 | 731 | * @param $propName |
729 | 732 | */ |