Passed
Pull Request — master (#117)
by Alex
03:38
created
src/POData/ObjectModel/ObjectModelSerializer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -892,6 +892,9 @@
 block discarded – undo
892 892
         return [$odataPropertyContent, $navigationProperties];
893 893
     }
894 894
 
895
+    /**
896
+     * @param ResourcePropertyKind $resourceKind
897
+     */
895 898
     public static function isMatchPrimitive($resourceKind)
896 899
     {
897 900
         if (16 > $resourceKind) {
Please login to merge, or discard this patch.
src/POData/Providers/Metadata/ResourceAssociationType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
      * @param ResourceEntityType    $resourceType     Resource type for the source end
125 125
      * @param ResourceProperty      $resourceProperty Resource property for the source end
126 126
      *
127
-     * @return ResourceAssociationTypeEndRelated Association type end for the
127
+     * @return ResourceAssociationTypeEnd|null Association type end for the
128 128
      *                                           given parameters
129 129
      */
130 130
     public function getRelatedResourceAssociationSetEnd(
Please login to merge, or discard this patch.
src/POData/BaseService.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -674,6 +674,7 @@
 block discarded – undo
674 674
      *                                               True if response needs to be
675 675
      *                                               serialized, False otherwise
676 676
      * @param bool         $needToSerializeResponse
677
+     * @param QueryResult $entryObject
677 678
      *
678 679
      * @return string|null The ETag for the entry object if it has eTag properties
679 680
      *                     NULL otherwise
Please login to merge, or discard this patch.
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/UriProcessorNew.php 1 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.
src/POData/HttpProcessUtility.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -431,6 +431,7 @@
 block discarded – undo
431 431
      * @param int    &$textIndex    Index into text where the qvalue starts
432 432
      * @param int    &$qualityValue After the method executes, the normalized qvalue
433 433
      * @param int    $textIndex
434
+     * @param string $qualityValue
434 435
      *
435 436
      * @throws HttpHeaderFailure    If any error occurred while reading and processing
436 437
      *                              the quality factor
Please login to merge, or discard this patch.
src/POData/Providers/Query/IQueryProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
163 163
     /**
164 164
      * Puts an entity instance to entity set identified by a key.
165 165
      *
166
-     * @param ResourceSet   $sourceResourceSet  The entity set containing the entity to update
166
+     * @param ResourceSet   $sourceresourceSet  The entity set containing the entity to update
167 167
      * @param KeyDescriptor $keyDescriptor      The key identifying the entity to update
168 168
      * @param $data
169 169
      *
Please login to merge, or discard this patch.