Passed
Pull Request — master (#228)
by Alex
07:39
created
src/Models/ObjectMap/Entities/EntityGubbins.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -120,13 +120,13 @@  discard block
 block discarded – undo
120 120
     public function setFields(array $fields) : void
121 121
     {
122 122
         if (0 == count($fields)) {
123
-            $msg = 'Fields array must not be empty for '.$this->getClassName();
123
+            $msg = 'Fields array must not be empty for ' . $this->getClassName();
124 124
             throw new \Exception($msg);
125 125
         }
126 126
         $keys = [];
127 127
         foreach ($fields as $propName => $field) {
128 128
             if (!$field instanceof EntityField) {
129
-                $msg = 'Fields array must only have EntityField objects for '.$this->getClassName();
129
+                $msg = 'Fields array must only have EntityField objects for ' . $this->getClassName();
130 130
                 throw new \Exception($msg);
131 131
             }
132 132
             if ($field->getIsKeyField()) {
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
             }
135 135
         }
136 136
         if (0 == count($keys)) {
137
-            $msg = 'No key field supplied in fields array for '.$this->getClassName();
137
+            $msg = 'No key field supplied in fields array for ' . $this->getClassName();
138 138
             throw new \Exception($msg);
139 139
         }
140 140
         $this->fields    = $fields;
Please login to merge, or discard this patch.