Completed
Branch master (fc452c)
by Adam
02:24
created
src/CassandraServiceProvider.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     {
19 19
         // Attempt to load default configuration
20 20
         $this->mergeConfigFrom(
21
-          __DIR__ . '/../config/cassandra.php', 'cassandra'
21
+            __DIR__ . '/../config/cassandra.php', 'cassandra'
22 22
         );
23 23
 
24 24
         // Configure cassandra options
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Cassandra.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,21 +20,21 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.