@@ -25,7 +25,7 @@ |
||
| 25 | 25 | $this->app->configure('cassandra'); |
| 26 | 26 | |
| 27 | 27 | // Register cassandra |
| 28 | - $this->app->singleton('Cassandra', function ($app) { |
|
| 28 | + $this->app->singleton('Cassandra', function($app) { |
|
| 29 | 29 | return new Cassandra(); |
| 30 | 30 | }); |
| 31 | 31 | } |
@@ -20,21 +20,21 @@ |
||
| 20 | 20 | |
| 21 | 21 | // Fetch configured port and set it, if it's provided |
| 22 | 22 | $port = config('cassandra.port'); |
| 23 | - if(!empty($port)) |
|
| 23 | + if (!empty($port)) |
|
| 24 | 24 | { |
| 25 | 25 | $builder->withPort($port); |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | // Fetch configured default page size and set it, if it's provided |
| 29 | 29 | $defaultPageSize = config('cassandra.defaultPageSize'); |
| 30 | - if(!empty($defaultPageSize)) |
|
| 30 | + if (!empty($defaultPageSize)) |
|
| 31 | 31 | { |
| 32 | 32 | $builder->withDefaultPageSize($defaultPageSize); |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | // Fetch configured default consistency level and set it, if it's provided |
| 36 | 36 | $defaultConsistency = config('cassandra.withDefaultConsistency'); |
| 37 | - if(!empty($defaultConsistency)) |
|
| 37 | + if (!empty($defaultConsistency)) |
|
| 38 | 38 | { |
| 39 | 39 | $builder->withDefaultConsistency($defaultConsistency); |
| 40 | 40 | } |