@@ -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) |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | /** |
108 | 108 | * Write a top level entry resource. |
109 | 109 | * |
110 | - * @param mixed $entryObject Reference to the entry object to be written |
|
110 | + * @param QueryResult $entryObject Reference to the entry object to be written |
|
111 | 111 | * |
112 | 112 | * @return ODataEntry |
113 | 113 | */ |
@@ -257,7 +257,7 @@ discard block |
||
257 | 257 | /** |
258 | 258 | * Write top level url element. |
259 | 259 | * |
260 | - * @param mixed $entryObject The entry resource whose url to be written |
|
260 | + * @param QueryResult $entryObject The entry resource whose url to be written |
|
261 | 261 | * |
262 | 262 | * @return ODataURL |
263 | 263 | */ |
@@ -281,7 +281,7 @@ discard block |
||
281 | 281 | /** |
282 | 282 | * Write top level url collection. |
283 | 283 | * |
284 | - * @param array $entryObjects Array of entry resources |
|
284 | + * @param QueryResult $entryObjects Array of entry resources |
|
285 | 285 | * whose url to be written |
286 | 286 | * |
287 | 287 | * @return ODataURLCollection |
@@ -441,6 +441,9 @@ discard block |
||
441 | 441 | return $this->stack; |
442 | 442 | } |
443 | 443 | |
444 | + /** |
|
445 | + * @param string $containerName |
|
446 | + */ |
|
444 | 447 | protected function getEntryInstanceKey($entityInstance, ResourceType $resourceType, $containerName) |
445 | 448 | { |
446 | 449 | $typeName = $resourceType->getName(); |
@@ -472,7 +475,7 @@ discard block |
||
472 | 475 | /** |
473 | 476 | * @param $entryObject |
474 | 477 | * @param $type |
475 | - * @param $relativeUri |
|
478 | + * @param string $relativeUri |
|
476 | 479 | * @param $resourceType |
477 | 480 | * @return array |
478 | 481 | */ |
@@ -539,7 +542,7 @@ discard block |
||
539 | 542 | * Find a 'ExpandedProjectionNode' instance in the projection tree |
540 | 543 | * which describes the current segment. |
541 | 544 | * |
542 | - * @return ExpandedProjectionNode|null |
|
545 | + * @return null|\POData\UriProcessor\QueryProcessor\ExpandProjectionParser\RootProjectionNode|ExpandedProjectionNode |
|
543 | 546 | */ |
544 | 547 | protected function getCurrentExpandedProjectionNode() |
545 | 548 | { |
@@ -764,7 +767,7 @@ discard block |
||
764 | 767 | /** |
765 | 768 | * @param $entryObject |
766 | 769 | * @param $prop |
767 | - * @param $nuLink |
|
770 | + * @param ODataLink $nuLink |
|
768 | 771 | * @param $propKind |
769 | 772 | * @param $propName |
770 | 773 | */ |
@@ -875,6 +878,9 @@ discard block |
||
875 | 878 | return $internalContent; |
876 | 879 | } |
877 | 880 | |
881 | + /** |
|
882 | + * @param ResourcePropertyKind $resourceKind |
|
883 | + */ |
|
878 | 884 | public static function isMatchPrimitive($resourceKind) |
879 | 885 | { |
880 | 886 | if (16 > $resourceKind) { |