Test Setup Failed
Push — master ( d6051c...9048ee )
by Roman
02:37
created
src/CassandraConnector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
      */
89 89
     protected function getPort(array $config)
90 90
     {
91
-        return !empty($config['port']) ? (int)$config['port'] : 9042;
91
+        return !empty($config['port']) ? (int) $config['port'] : 9042;
92 92
     }
93 93
 
94 94
     /**
Please login to merge, or discard this patch.
src/Eloquent/Model.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
     public function newCassandraCollection($rows)
151 151
     {
152 152
         if (!is_array($rows) && !$rows instanceof Rows) {
153
-            throw new \Exception('Wrong type to create collection');//TODO: customize error
153
+            throw new \Exception('Wrong type to create collection'); //TODO: customize error
154 154
         }
155 155
 
156 156
         $items = [];
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
         }
202 202
 
203 203
         return is_numeric($current) && is_numeric($original)
204
-            && strcmp((string)$current, (string)$original) === 0;
204
+            && strcmp((string) $current, (string) $original) === 0;
205 205
     }
206 206
 
207 207
     /**
Please login to merge, or discard this patch.