@@ -205,7 +205,7 @@ |
||
| 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)); |
@@ -41,7 +41,7 @@ |
||
| 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 | } |
@@ -160,7 +160,7 @@ discard block |
||
| 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 |
||
| 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( |