Completed
Push — master ( 1c2e55...c83e64 )
by Dmitry
03:01
created
src/Schema/Type.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
         $properties = (array) $properties;
51 51
         foreach ($properties as $property) {
52 52
             if (!$this->hasProperty($property)) {
53
-                throw new LogicException("Unknown property $property for " . $this->name);
53
+                throw new LogicException("Unknown property $property for ".$this->name);
54 54
             }
55 55
         }
56 56
 
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         if ($schema->hasIndex($this->getName(), $indexName)) {
63 63
             throw new LogicException("Index $indexName already exists!");
64 64
         }
65
-        if(!$arguments) {
65
+        if (!$arguments) {
66 66
             $arguments = [];
67 67
         }
68 68
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     public function addProperty($first)
87 87
     {
88 88
         $properties = func_get_args();
89
-        if(is_array($first)) {
89
+        if (is_array($first)) {
90 90
             $properties = $properties[0];
91 91
         }
92 92
         foreach ($properties as $property) {
Please login to merge, or discard this patch.