Completed
Pull Request — master (#47)
by Christopher
05:34 queued 01:19
created
src/POData/Providers/ProvidersWrapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -966,7 +966,7 @@
 block discarded – undo
966 966
     }
967 967
     /**
968 968
      * @param ResourceSet      $resourceSet   The entity set containing the entity to fetch
969
-     * @param object           $sourceEntityInstance The source entity instance
969
+     * @param KeyDescriptor           $sourceEntityInstance The source entity instance
970 970
      * @param object           $data                 The New data for the entity instance.
971 971
      *
972 972
      * returns object|null returns the newly created model if sucessful or null if model creation failed.
Please login to merge, or discard this patch.
src/POData/UriProcessor/RequestExpander.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
      * Pushes a segment for the root of the tree
171 171
      * Note: Calls to this method should be balanced with calls to popSegment.
172 172
      *
173
-     * @return bool true if the segment was pushed, false otherwise
173
+     * @return boolean|null true if the segment was pushed, false otherwise
174 174
      */
175 175
     private function pushSegmentForRoot()
176 176
     {
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
      * @param ResourceProperty &$resourceProperty Current navigation property
190 190
      *                                            being written out
191 191
      *
192
-     * @return bool true if a segment was pushed, false otherwise
192
+     * @return boolean|null true if a segment was pushed, false otherwise
193 193
      *
194 194
      * @throws InvalidOperationException If this function invoked with non-navigation
195 195
      *                                   property instance
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
      * @param ResourceSetWrapper &$resourceSetWrapper The resource set wrapper
278 278
      *                                                to push
279 279
      *
280
-     * @return bool true if the segment was push, false otherwise
280
+     * @return boolean|null true if the segment was push, false otherwise
281 281
      */
282 282
     private function pushSegment($segmentName, ResourceSetWrapper &$resourceSetWrapper)
283 283
     {
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
     }
302 302
 
303 303
     /**
304
-     * @param $expandedProjectionNode
304
+     * @param ExpandedProjectionNode $expandedProjectionNode
305 305
      * @param $entry
306 306
      * @return null|\object[]
307 307
      */
@@ -327,10 +327,10 @@  discard block
 block discarded – undo
327 327
     }
328 328
 
329 329
     /**
330
-     * @param $expandedProjectionNode
330
+     * @param ExpandedProjectionNode $expandedProjectionNode
331 331
      * @param $entry
332
-     * @param $resourceType
333
-     * @param $expandedPropertyName
332
+     * @param \POData\Providers\Metadata\ResourceType $resourceType
333
+     * @param string $expandedPropertyName
334 334
      * @throws InvalidOperationException
335 335
      * @throws \POData\Common\ODataException
336 336
      */
@@ -360,9 +360,9 @@  discard block
 block discarded – undo
360 360
     /**
361 361
      * @param $entry
362 362
      * @param $result
363
-     * @param $expandedProjectionNode
364
-     * @param $resourceType
365
-     * @param $expandedPropertyName
363
+     * @param ExpandedProjectionNode $expandedProjectionNode
364
+     * @param \POData\Providers\Metadata\ResourceType $resourceType
365
+     * @param string $expandedPropertyName
366 366
      * @throws InvalidOperationException
367 367
      */
368 368
     private function executeCollectionExpansionProcessExpansion(
Please login to merge, or discard this patch.
src/POData/UriProcessor/QueryProcessor/OrderByParser/OrderByLeafNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
      *
92 92
      * @param string[] $ancestors Array of parent properties e.g. array('Orders', 'Customer', 'Customer_Demographics')
93 93
      *
94
-     * @return AnonymousFunction
94
+     * @return \Closure
95 95
      */
96 96
     public function buildComparisonFunction($ancestors)
97 97
     {
Please login to merge, or discard this patch.