Passed
Branch master (575dd8)
by Adam
03:13
created
Category
src/DataTables.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
                     }
135 135
 
136 136
                     $searchMethod = $this->getSearchMethod($searchField);
137
-                    [$searchQuery,$searchBindings] = $this->getSearchQuery($searchField, $column);
137
+                    [$searchQuery, $searchBindings] = $this->getSearchQuery($searchField, $column);
138 138
 
139 139
                     $this->query->{$searchMethod}($searchQuery, $searchBindings);
140 140
                 }
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
         $value = $column['search']['value'];
149 149
 
150 150
         if ($this->isDateRange($value)) {
151
-            [$from,$to] = explode(' - ', $value);
151
+            [$from, $to] = explode(' - ', $value);
152 152
 
153 153
             $from = $this->toMySQLDate($from);
154 154
             $to = $this->toMySQLDate($to, 1);
Please login to merge, or discard this patch.
src/DataTablesServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 
19 19
         $app->alias('datatables', DataTables::class);
20 20
 
21
-        $app->singleton('datatables', function () use ($app) {
21
+        $app->singleton('datatables', function() use ($app) {
22 22
             return new DataTables(
23 23
                 $app->make('request'),
24 24
                 $app->make(DatabaseManager::class)
Please login to merge, or discard this patch.