@@ -88,7 +88,7 @@ |
||
| 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 | /** |
@@ -192,7 +192,7 @@ |
||
| 192 | 192 | public function newCassandraCollection($rows) |
| 193 | 193 | { |
| 194 | 194 | if (!is_array($rows) && !$rows instanceof Rows) { |
| 195 | - throw new \Exception('Wrong type to create collection');//TODO: customize error |
|
| 195 | + throw new \Exception('Wrong type to create collection'); //TODO: customize error |
|
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | $items = []; |