@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | $targetEntity = current( |
| 224 | 224 | array_filter( |
| 225 | 225 | $classes, |
| 226 | - function (ClassMetadata $class) use ($idMapping) : bool { |
|
| 226 | + function(ClassMetadata $class) use ($idMapping) : bool { |
|
| 227 | 227 | return $class->name === $idMapping['targetEntity']; |
| 228 | 228 | } |
| 229 | 229 | ) |
@@ -654,8 +654,8 @@ discard block |
||
| 654 | 654 | |
| 655 | 655 | if ( ! $definingClass) { |
| 656 | 656 | throw new \Doctrine\ORM\ORMException( |
| 657 | - 'Column name `' . $joinColumn['referencedColumnName'] . '` referenced for relation from ' |
|
| 658 | - . $mapping['sourceEntity'] . ' towards ' . $mapping['targetEntity'] . ' does not exist.' |
|
| 657 | + 'Column name `'.$joinColumn['referencedColumnName'].'` referenced for relation from ' |
|
| 658 | + . $mapping['sourceEntity'].' towards '.$mapping['targetEntity'].' does not exist.' |
|
| 659 | 659 | ); |
| 660 | 660 | } |
| 661 | 661 | |
@@ -841,7 +841,7 @@ discard block |
||
| 841 | 841 | if ($table->hasPrimaryKey()) { |
| 842 | 842 | $columns = $table->getPrimaryKey()->getColumns(); |
| 843 | 843 | if (count($columns) == 1) { |
| 844 | - $checkSequence = $table->getName() . '_' . $columns[0] . '_seq'; |
|
| 844 | + $checkSequence = $table->getName().'_'.$columns[0].'_seq'; |
|
| 845 | 845 | if ($fullSchema->hasSequence($checkSequence)) { |
| 846 | 846 | $visitor->acceptSequence($fullSchema->getSequence($checkSequence)); |
| 847 | 847 | } |
@@ -906,7 +906,7 @@ discard block |
||
| 906 | 906 | * @return string[] |
| 907 | 907 | */ |
| 908 | 908 | private function getNamespaces() { |
| 909 | - if (! $this->platform->supportsSchemas()) { |
|
| 909 | + if ( ! $this->platform->supportsSchemas()) { |
|
| 910 | 910 | return []; |
| 911 | 911 | } |
| 912 | 912 | |