@@ -204,7 +204,7 @@ discard block |
||
| 204 | 204 | */ |
| 205 | 205 | public function select($query, $bindings = [], $useReadPdo = true) |
| 206 | 206 | { |
| 207 | - return $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) { |
|
| 207 | + return $this->run($query, $bindings, function($query, $bindings) use ($useReadPdo) { |
|
| 208 | 208 | if ($this->pretending()) { |
| 209 | 209 | return []; |
| 210 | 210 | } |
@@ -224,7 +224,7 @@ discard block |
||
| 224 | 224 | */ |
| 225 | 225 | public function statement($query, $bindings = []) |
| 226 | 226 | { |
| 227 | - return $this->run($query, $bindings, function ($query, $bindings) { |
|
| 227 | + return $this->run($query, $bindings, function($query, $bindings) { |
|
| 228 | 228 | if ($this->pretending()) { |
| 229 | 229 | return []; |
| 230 | 230 | } |
@@ -246,7 +246,7 @@ discard block |
||
| 246 | 246 | */ |
| 247 | 247 | public function affectingStatement($query, $bindings = []) |
| 248 | 248 | { |
| 249 | - return $this->run($query, $bindings, function ($query, $bindings) { |
|
| 249 | + return $this->run($query, $bindings, function($query, $bindings) { |
|
| 250 | 250 | if ($this->pretending()) { |
| 251 | 251 | return 0; |
| 252 | 252 | } |
@@ -20,8 +20,8 @@ |
||
| 20 | 20 | public function register() |
| 21 | 21 | { |
| 22 | 22 | // Add database driver. |
| 23 | - $this->app->resolving('db', function ($db) { |
|
| 24 | - $db->extend('cassandra', function ($config, $name) { |
|
| 23 | + $this->app->resolving('db', function($db) { |
|
| 24 | + $db->extend('cassandra', function($config, $name) { |
|
| 25 | 25 | $config['name'] = $name; |
| 26 | 26 | return new Connection($config); |
| 27 | 27 | }); |