Completed
Pull Request — develop (#9)
by yuuki
01:56 queued 16s
created
src/Factory/ToStringTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Factory/GetterTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.