Test Setup Failed
Pull Request — master (#140)
by Alex
04:29
created
src/POData/Providers/Metadata/SimpleMetadataProvider.php 1 patch
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -195,9 +195,9 @@  discard block
 block discarded – undo
195 195
     public function getDerivedTypes(ResourceEntityType $resourceType)
196 196
     {
197 197
         $ret = [];
198
-        foreach($this->resourceTypes as $rType){
198
+        foreach($this->resourceTypes as $rType) {
199 199
             $baseTEntityType = $this->oDataEntityMap[$resourceType->getFullName()];
200
-            if($rType->getBaseType() == $baseTEntityType->getName() ){
200
+            if($rType->getBaseType() == $baseTEntityType->getName() ) {
201 201
                 $ret[] = $rType;
202 202
             }
203 203
         }
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
      */
212 212
     public function hasDerivedTypes(ResourceEntityType $resourceType)
213 213
     {
214
-        if(in_array($resourceType,$this->baseTypes)){
214
+        if(in_array($resourceType,$this->baseTypes)) {
215 215
             return true;
216 216
         }
217 217
         return false;
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
         if (null !== $baseType) {
311 311
             $baseTEntityType = $this->oDataEntityMap[$baseType->getFullName()];
312 312
             $this->baseTypes[] = $baseType;
313
-        }  else {
313
+        } else {
314 314
             $baseTEntityType = null;
315 315
         }
316 316
         
Please login to merge, or discard this patch.