@@ -225,7 +225,7 @@ discard block |
||
| 225 | 225 | $targetEntity = current( |
| 226 | 226 | array_filter( |
| 227 | 227 | $classes, |
| 228 | - function (ClassMetadata $class) use ($idMapping) : bool { |
|
| 228 | + function(ClassMetadata $class) use ($idMapping) : bool { |
|
| 229 | 229 | return $class->name === $idMapping['targetEntity']; |
| 230 | 230 | } |
| 231 | 231 | ) |
@@ -645,8 +645,8 @@ discard block |
||
| 645 | 645 | |
| 646 | 646 | if ( ! $definingClass) { |
| 647 | 647 | throw new \Doctrine\ORM\ORMException( |
| 648 | - 'Column name `' . $joinColumn['referencedColumnName'] . '` referenced for relation from ' |
|
| 649 | - . $mapping['sourceEntity'] . ' towards ' . $mapping['targetEntity'] . ' does not exist.' |
|
| 648 | + 'Column name `'.$joinColumn['referencedColumnName'].'` referenced for relation from ' |
|
| 649 | + . $mapping['sourceEntity'].' towards '.$mapping['targetEntity'].' does not exist.' |
|
| 650 | 650 | ); |
| 651 | 651 | } |
| 652 | 652 | |
@@ -741,7 +741,7 @@ discard block |
||
| 741 | 741 | */ |
| 742 | 742 | private function gatherColumnOptions(array $mapping) : array |
| 743 | 743 | { |
| 744 | - if (! isset($mapping['options'])) { |
|
| 744 | + if ( ! isset($mapping['options'])) { |
|
| 745 | 745 | return []; |
| 746 | 746 | } |
| 747 | 747 | |
@@ -847,7 +847,7 @@ discard block |
||
| 847 | 847 | if ($table->hasPrimaryKey()) { |
| 848 | 848 | $columns = $table->getPrimaryKey()->getColumns(); |
| 849 | 849 | if (count($columns) == 1) { |
| 850 | - $checkSequence = $table->getName() . '_' . $columns[0] . '_seq'; |
|
| 850 | + $checkSequence = $table->getName().'_'.$columns[0].'_seq'; |
|
| 851 | 851 | if ($fullSchema->hasSequence($checkSequence)) { |
| 852 | 852 | $visitor->acceptSequence($fullSchema->getSequence($checkSequence)); |
| 853 | 853 | } |