@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | } |
| 98 | 98 | |
| 99 | 99 | $mapper = $this->locator->mappers()->createMapper($this->locator, $className); |
| 100 | - $generator = new CriteriaGenerator($mapper->getEntityClass() . self::CLASS_SUFFIX); |
|
| 100 | + $generator = new CriteriaGenerator($mapper->getEntityClass().self::CLASS_SUFFIX); |
|
| 101 | 101 | |
| 102 | 102 | $this->runUserActions($io, $generator, $mapper, $classInfo); |
| 103 | 103 | } |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | |
| 146 | 146 | if ($io->option('backup') && !$io->option('dry-run')) { |
| 147 | 147 | $filesystem->copy($fileName, $fileName.'.bak'); |
| 148 | - $io->comment('backup file "' . $fileName.'.bak' . '"'); |
|
| 148 | + $io->comment('backup file "'.$fileName.'.bak'.'"'); |
|
| 149 | 149 | } |
| 150 | 150 | } |
| 151 | 151 | |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | |
| 161 | 161 | if (!$io->option('dry-run')) { |
| 162 | 162 | $filesystem->dumpFile($fileName, $code); |
| 163 | - $io->comment('generated file "' . $fileName . '"'); |
|
| 163 | + $io->comment('generated file "'.$fileName.'"'); |
|
| 164 | 164 | } |
| 165 | 165 | } |
| 166 | 166 | } |
@@ -315,7 +315,7 @@ discard block |
||
| 315 | 315 | public function setGenerator($generator): void |
| 316 | 316 | { |
| 317 | 317 | if (!is_string($generator) && !$generator instanceof GeneratorInterface) { |
| 318 | - throw new LogicException('Trying to set an invalid generator in "' . get_class($this) . '"'); |
|
| 318 | + throw new LogicException('Trying to set an invalid generator in "'.get_class($this).'"'); |
|
| 319 | 319 | } |
| 320 | 320 | |
| 321 | 321 | $this->generator = $generator; |
@@ -550,7 +550,7 @@ discard block |
||
| 550 | 550 | $class = $this->criteriaClass; |
| 551 | 551 | |
| 552 | 552 | if (!$class) { |
| 553 | - $class = $this->entityClass . 'Criteria'; |
|
| 553 | + $class = $this->entityClass.'Criteria'; |
|
| 554 | 554 | $this->criteriaClass = $class = class_exists($class) ? $class : Criteria::class; |
| 555 | 555 | } |
| 556 | 556 | |
@@ -587,7 +587,7 @@ discard block |
||
| 587 | 587 | $relations = $this->relations(); |
| 588 | 588 | |
| 589 | 589 | if (!isset($relations[$relationName])) { |
| 590 | - throw new RelationNotFoundException('Relation "' . $relationName . '" is not set in ' . $this->metadata->entityName); |
|
| 590 | + throw new RelationNotFoundException('Relation "'.$relationName.'" is not set in '.$this->metadata->entityName); |
|
| 591 | 591 | } |
| 592 | 592 | |
| 593 | 593 | return $relations[$relationName]; |
@@ -768,7 +768,7 @@ discard block |
||
| 768 | 768 | */ |
| 769 | 769 | public function scopes(): array |
| 770 | 770 | { |
| 771 | - throw new LogicException('No scopes have been defined in "' . get_class($this) . '"'); |
|
| 771 | + throw new LogicException('No scopes have been defined in "'.get_class($this).'"'); |
|
| 772 | 772 | } |
| 773 | 773 | |
| 774 | 774 | /** |