Completed
Pull Request — master (#54)
by Alex
03:49
created
src/POData/ObjectModel/ObjectModelSerializer.php 3 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -770,9 +770,9 @@  discard block
 block discarded – undo
770 770
     /**
771 771
      * @param $customObject
772 772
      * @param ResourceType $resourceType
773
-     * @param $relativeUri
773
+     * @param string $relativeUri
774 774
      * @param ODataPropertyContent $odataPropertyContent
775
-     * @param $resourceTypeKind
775
+     * @param ResourceTypeKind $resourceTypeKind
776 776
      * @param $navigationProperties
777 777
      * @return array
778 778
      * @throws ODataException
@@ -879,9 +879,9 @@  discard block
 block discarded – undo
879 879
     /**
880 880
      * @param $customObject
881 881
      * @param ResourceType $resourceType
882
-     * @param $relativeUri
882
+     * @param string $relativeUri
883 883
      * @param ODataPropertyContent $odataPropertyContent
884
-     * @param $projectionNodes
884
+     * @param \POData\UriProcessor\QueryProcessor\ExpandProjectionParser\ProjectionNode[] $projectionNodes
885 885
      * @param $navigationProperties
886 886
      * @return array
887 887
      * @throws ODataException
Please login to merge, or discard this patch.
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -695,7 +695,6 @@
 block discarded – undo
695 695
      *                                            whose value need to be converted
696 696
      * @param mixed $primitiveValue Primitive value to convert
697 697
      * @return string
698
-
699 698
      */
700 699
     private function _primitiveToString(
701 700
         ResourceType &$primitiveResourceType,
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
     public function writeTopLevelComplexObject(
187 187
         &$complexValue,
188 188
         $propertyName,
189
-        ResourceType &$resourceType
189
+        ResourceType & $resourceType
190 190
     ) {
191 191
         $propertyContent = new ODataPropertyContent();
192 192
         $this->_writeComplexValue(
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
      */
331 331
     private function _writeFeedElements(
332 332
         &$entryObjects,
333
-        ResourceType &$resourceType,
333
+        ResourceType & $resourceType,
334 334
         $title,
335 335
         $absoluteUri,
336 336
         $relativeUri,
@@ -698,7 +698,7 @@  discard block
 block discarded – undo
698 698
 
699 699
      */
700 700
     private function _primitiveToString(
701
-        ResourceType &$primitiveResourceType,
701
+        ResourceType & $primitiveResourceType,
702 702
         $primitiveValue
703 703
     ) {
704 704
         $type = $primitiveResourceType->getInstanceType();
@@ -779,9 +779,9 @@  discard block
 block discarded – undo
779 779
      */
780 780
     private function writeObjectPropertiesUnexpanded(
781 781
         $customObject,
782
-        ResourceType &$resourceType,
782
+        ResourceType & $resourceType,
783 783
         $relativeUri,
784
-        ODataPropertyContent &$odataPropertyContent,
784
+        ODataPropertyContent & $odataPropertyContent,
785 785
         $resourceTypeKind,
786 786
         $navigationProperties
787 787
     ) {
@@ -888,9 +888,9 @@  discard block
 block discarded – undo
888 888
      */
889 889
     private function writeObjectPropertiesExpanded(
890 890
         $customObject,
891
-        ResourceType &$resourceType,
891
+        ResourceType & $resourceType,
892 892
         $relativeUri,
893
-        ODataPropertyContent &$odataPropertyContent,
893
+        ODataPropertyContent & $odataPropertyContent,
894 894
         $projectionNodes,
895 895
         $navigationProperties
896 896
     ) {
Please login to merge, or discard this patch.