@@ -36,7 +36,7 @@ |
||
| 36 | 36 | protected function createToString(array $getters): ClassMethod |
| 37 | 37 | { |
| 38 | 38 | if (!$this instanceof AbstractDriver) { |
| 39 | - throw new TraitMethodCallException("should extend " . AbstractDriver::class); |
|
| 39 | + throw new TraitMethodCallException("should extend ".AbstractDriver::class); |
|
| 40 | 40 | } |
| 41 | 41 | /** @var \ReflectionClass $reflector */ |
| 42 | 42 | $reflector = $this->reflector; |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | protected function createGetter(string $name) |
| 43 | 43 | { |
| 44 | 44 | $this->getters[] = [ |
| 45 | - 'method' => 'get' . ucfirst($name), |
|
| 45 | + 'method' => 'get'.ucfirst($name), |
|
| 46 | 46 | 'property' => $name, |
| 47 | 47 | ]; |
| 48 | 48 | } |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | protected function createGetterMethod(array $getter): ClassMethod |
| 64 | 64 | { |
| 65 | 65 | if (!$this instanceof AbstractDriver) { |
| 66 | - throw new TraitMethodCallException("should extend " . AbstractDriver::class); |
|
| 66 | + throw new TraitMethodCallException("should extend ".AbstractDriver::class); |
|
| 67 | 67 | } |
| 68 | 68 | /** @var \PhpParser\BuilderFactory $builder */ |
| 69 | 69 | $builder = $this->builder; |