Passed
Pull Request — master (#180)
by Alex
05:01
created
src/Providers/MetadataProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     {
136 136
         /** @var SimpleMetadataProvider $meta */
137 137
         $meta = App::make('metadata');
138
-        $namespace = $meta->getContainerNamespace().'.';
138
+        $namespace = $meta->getContainerNamespace() . '.';
139 139
 
140 140
         $entities = $objectModel->getEntities();
141 141
         foreach ($entities as $entity) {
@@ -150,13 +150,13 @@  discard block
 block discarded – undo
150 150
             $entity->setOdataResourceType($entityType);
151 151
             $this->implementProperties($entity);
152 152
             $meta->addResourceSet($pluralName, $entityType);
153
-            $meta->oDataEntityMap[$className] = $meta->oDataEntityMap[$namespace.$entityName];
153
+            $meta->oDataEntityMap[$className] = $meta->oDataEntityMap[$namespace . $entityName];
154 154
         }
155 155
         $metaCount = count($meta->oDataEntityMap);
156 156
         $entityCount = count($entities);
157 157
         $expected = 2 * $entityCount;
158 158
         if ($metaCount != $expected) {
159
-            $msg = 'Expected ' . $expected . ' items, actually got '.$metaCount;
159
+            $msg = 'Expected ' . $expected . ' items, actually got ' . $metaCount;
160 160
             throw new InvalidOperationException($msg);
161 161
         }
162 162
 
Please login to merge, or discard this patch.