Test Failed
Pull Request — master (#81)
by Alex
04:25
created
src/Serialisers/IronicSerialiser.php 1 patch
Doc Comments   +12 added lines, -6 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.