Passed
Push — master ( 2b99ce...30750d )
by Christopher
05:48
created
src/POData/Providers/ProvidersWrapper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -629,7 +629,7 @@  discard block
 block discarded – undo
629 629
      * @param InternalOrderByInfo   $orderBy     The orderBy information
630 630
      * @param int                   $top         The top count
631 631
      * @param int                   $skip        The skip count
632
-     * @param InternalSkipTokenInfo $skipToken   The skip token
632
+     * @param SkipTokenInfo $skipToken   The skip token
633 633
      *
634 634
      * @return QueryResult
635 635
      */
@@ -832,7 +832,7 @@  discard block
 block discarded – undo
832 832
 
833 833
     /**
834 834
      * @param ResourceSet $resourceSet          The entity set containing the entity to fetch
835
-     * @param object      $sourceEntityInstance The source entity instance
835
+     * @param KeyDescriptor      $sourceEntityInstance The source entity instance
836 836
      * @param object      $data                 The New data for the entity instance.
837 837
      *
838 838
      * returns object|null returns the newly created model if successful, or null if model creation failed.
Please login to merge, or discard this patch.
src/POData/UriProcessor/UriProcessor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      */
186 186
     protected function executePut()
187 187
     {
188
-        $this->executeBase(function ($uriProcessor, $segment) {
188
+        $this->executeBase(function($uriProcessor, $segment) {
189 189
             $requestMethod = $uriProcessor->getService()->getOperationContext()->incomingRequest()->getMethod();
190 190
             $resourceSet = $segment->getTargetResourceSetWrapper();
191 191
             $keyDescriptor = $segment->getKeyDescriptor();
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
      */
219 219
     protected function executeDelete()
220 220
     {
221
-        $this->executeBase(function ($uriProcessor, $segment) {
221
+        $this->executeBase(function($uriProcessor, $segment) {
222 222
             $requestMethod = $uriProcessor->getService()->getOperationContext()->incomingRequest()->getMethod();
223 223
             $resourceSet = $segment->getTargetResourceSetWrapper();
224 224
             $keyDescriptor = $segment->getKeyDescriptor();
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
                     //TODO: why are these null?  see #98
388 388
                     null, // $orderby
389 389
                     null, // $top
390
-                    null,  // $skip
390
+                    null, // $skip
391 391
                     $skipToken
392 392
                 );
393 393
 
Please login to merge, or discard this patch.
src/POData/UriProcessor/UriProcessorNew.php 2 patches
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -7,16 +7,11 @@
 block discarded – undo
7 7
 use POData\Common\ODataException;
8 8
 use POData\IService;
9 9
 use POData\OperationContext\HTTPRequestMethod;
10
-use POData\Providers\Metadata\ResourcePropertyKind;
11 10
 use POData\Providers\ProvidersWrapper;
12
-use POData\Providers\Query\QueryResult;
13
-use POData\Providers\Query\QueryType;
14 11
 use POData\UriProcessor\Interfaces\IUriProcessor;
15
-use POData\UriProcessor\QueryProcessor\QueryProcessor;
16 12
 use POData\UriProcessor\ResourcePathProcessor\ResourcePathProcessor;
17 13
 use POData\UriProcessor\ResourcePathProcessor\SegmentParser\SegmentDescriptor;
18 14
 use POData\UriProcessor\ResourcePathProcessor\SegmentParser\TargetKind;
19
-use POData\UriProcessor\ResourcePathProcessor\SegmentParser\TargetSource;
20 15
 
21 16
 /**
22 17
  * Class UriProcessorNew.
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
     /**
298 298
      * @param $resourceSet
299 299
      * @param $keyDescriptor
300
-     * @param $requestMethod
300
+     * @param HTTPRequestMethod $requestMethod
301 301
      * @throws ODataException
302 302
      */
303 303
     protected function checkUriValidForSuppliedVerb($resourceSet, $keyDescriptor, $requestMethod)
@@ -311,7 +311,7 @@  discard block
 block discarded – undo
311 311
     }
312 312
 
313 313
     /**
314
-     * @param $segment
314
+     * @param SegmentDescriptor $segment
315 315
      */
316 316
     private function executeGetSingleton($segment)
317 317
     {
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
     }
322 322
 
323 323
     /**
324
-     * @param $segment
324
+     * @param SegmentDescriptor $segment
325 325
      */
326 326
     private function executeGetResource($segment)
327 327
     {
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
     }
350 350
 
351 351
     /**
352
-     * @param $segment
352
+     * @param SegmentDescriptor $segment
353 353
      */
354 354
     private function executeGetLink($segment)
355 355
     {
Please login to merge, or discard this patch.