@@ -23,7 +23,7 @@ |
||
| 23 | 23 | $this->app->configure('cassandra'); |
| 24 | 24 | |
| 25 | 25 | // Register cassandra |
| 26 | - $this->app->singleton('Cassandra', function () { |
|
| 26 | + $this->app->singleton('Cassandra', function() { |
|
| 27 | 27 | return new Cassandra(); |
| 28 | 28 | }); |
| 29 | 29 | } |
@@ -22,19 +22,19 @@ |
||
| 22 | 22 | |
| 23 | 23 | // Fetch configured port and set it, if it's provided |
| 24 | 24 | $port = config('cassandra.port'); |
| 25 | - if ( ! empty( $port )) { |
|
| 25 | + if (!empty($port)) { |
|
| 26 | 26 | $builder->withPort($port); |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | // Fetch configured default page size and set it, if it's provided |
| 30 | 30 | $defaultPageSize = config('cassandra.defaultPageSize'); |
| 31 | - if ( ! empty( $defaultPageSize )) { |
|
| 31 | + if (!empty($defaultPageSize)) { |
|
| 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 | $builder->withDefaultConsistency($defaultConsistency); |
| 39 | 39 | } |
| 40 | 40 | |