Completed
Pull Request — master (#8)
by Omid
25:19
created
src/MovingImage/Util/AccessorTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,9 +21,9 @@  discard block
 block discarded – undo
21 21
     {
22 22
         // are we getting or setting?
23 23
         if (preg_match('~^(set|get|is)([A-Z])(.*)$~', $methodName, $matches)) {
24
-            $property = strtolower($matches[2]) . $matches[3];
24
+            $property = strtolower($matches[2]).$matches[3];
25 25
             if (!property_exists($this, $property)) {
26
-                throw new \InvalidArgumentException('Property ' . $property . ' is not exist');
26
+                throw new \InvalidArgumentException('Property '.$property.' is not exist');
27 27
             }
28 28
             switch ($matches[1]) {
29 29
                 case 'set':
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
                     return $this->get($property);
38 38
                 case 'default':
39
-                    throw new \BadMethodCallException('Method ' . $methodName . ' is not exist');
39
+                    throw new \BadMethodCallException('Method '.$methodName.' is not exist');
40 40
             }
41 41
         }
42 42
 
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     {
83 83
         $argc = count($args);
84 84
         if ($argc < $min || $argc > $max) {
85
-            throw new \BadMethodCallException('Method ' . $methodName . ' is not exist');
85
+            throw new \BadMethodCallException('Method '.$methodName.' is not exist');
86 86
         }
87 87
     }
88 88
 
Please login to merge, or discard this patch.