Passed
Pull Request — master (#20)
by
unknown
02:14
created
src/Configurator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@
 block discarded – undo
205 205
         $field = new Field();
206 206
 
207 207
         $field->setType($column->getType());
208
-        $field->setColumn($columnPrefix . ($column->getColumn() ?? $this->inflector->tableize($name)));
208
+        $field->setColumn($columnPrefix.($column->getColumn() ?? $this->inflector->tableize($name)));
209 209
         $field->setPrimary($column->isPrimary());
210 210
 
211 211
         $field->setTypecast($this->resolveTypecast($column->getTypecast(), $class));
Please login to merge, or discard this patch.
src/ReaderFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
                         'Argument $reader must be an instance of %s or %s, but %s passed.',
42 42
                         ReaderInterface::class,
43 43
                         DoctrineReader::class,
44
-                        'instance of ' . explode("\0", get_class($reader))[0]
44
+                        'instance of '.explode("\0", get_class($reader))[0]
45 45
                     )
46 46
                 );
47 47
         }
Please login to merge, or discard this patch.
src/Entities.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
                      * @see https://github.com/cycle/schema-builder/issues/25
161 161
                      */
162 162
                     if ($r->getOptions()->has('throughInnerKey')) {
163
-                        if ($throughInnerKey = (array)$r->getOptions()->get('throughInnerKey')) {
163
+                        if ($throughInnerKey = (array) $r->getOptions()->get('throughInnerKey')) {
164 164
                             if (count($throughInnerKey) > 1) {
165 165
                                 throw new AnnotationException(
166 166
                                     sprintf(
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
                     }
177 177
 
178 178
                     if ($r->getOptions()->has('throughOuterKey')) {
179
-                        if ($throughOuterKey = (array)$r->getOptions()->get('throughOuterKey')) {
179
+                        if ($throughOuterKey = (array) $r->getOptions()->get('throughOuterKey')) {
180 180
                             if (count($throughOuterKey) > 1) {
181 181
                                 throw new AnnotationException(
182 182
                                     sprintf(
Please login to merge, or discard this patch.