Completed
Push — master ( d03abb...fe3c08 )
by Alex
01:26
created
src/POData/Writers/Metadata/MetadataWriter.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
         $resourceTypesInContainerNamespace = array();
99 99
         $containerNamespace = $this->providersWrapper->getContainerNamespace();
100 100
         foreach ($this->_metadataManager->getResourceTypesAlongWithNamespace()
101
-                 as $resourceTypeNamespace => $resourceTypesWithName) {
101
+                    as $resourceTypeNamespace => $resourceTypesWithName) {
102 102
             if ($resourceTypeNamespace == $containerNamespace) {
103 103
                 foreach ($resourceTypesWithName as $resourceTypeName => $resourceType) {
104 104
                     $resourceTypesInContainerNamespace[] = $resourceType;
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
     private function _writeProperties(ResourceType $resourceType, $associationTypesInResourceTypeNamespace)
280 280
     {
281 281
         foreach ($this->_metadataManager->getAllVisiblePropertiesDeclaredOnThisType($resourceType)
282
-                 as $resourceProperty) {
282
+                    as $resourceProperty) {
283 283
             if ($resourceProperty->isKindOf(ResourcePropertyKind::BAG)) {
284 284
                 $this->_writeBagProperty($resourceProperty);
285 285
             } elseif ($resourceProperty->isKindOf(ResourcePropertyKind::PRIMITIVE)) {
Please login to merge, or discard this patch.
src/POData/ObjectModel/ObjectModelSerializer.php 1 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.
src/POData/Providers/Stream/SimpleStreamProvider.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,13 +14,13 @@
 block discarded – undo
14 14
         $checkETagForEquality,
15 15
         IOperationContext $operationContext
16 16
     ) {
17
-         return null; // TODO: find default stream and return.
18
-      }
17
+            return null; // TODO: find default stream and return.
18
+        }
19 19
     public function getStreamContentType($entity,IOperationContext $operationContext)
20 20
     {
21 21
         return 'application/octet-stream';
22 22
     }
23
-     public function getStreamETag($entity, IOperationContext $operationContext)
23
+        public function getStreamETag($entity, IOperationContext $operationContext)
24 24
     {
25 25
         return null; // TODO: find default stream and return.
26 26
     }
Please login to merge, or discard this patch.