Completed
Push — master ( e98ec0...b5ecb4 )
by Arjay
07:49
created
src/CollectionDataTable.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -226,8 +226,7 @@
 block discarded – undo
226 226
                 if (!$value || is_array($value)) {
227 227
                     if (!is_numeric($value)) {
228 228
                         continue;
229
-                    } 
230
-                    else {
229
+                    } else {
231 230
                         $value = (string) $value;
232 231
                     }
233 232
                 }
Please login to merge, or discard this patch.
src/EloquentDataTable.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -122,8 +122,8 @@  discard block
 block discarded – undo
122 122
      */
123 123
     protected function isNotEagerLoaded($relation)
124 124
     {
125
-        return ! $relation
126
-            || ! in_array($relation, array_keys($this->query->getEagerLoads()))
125
+        return !$relation
126
+            || !in_array($relation, array_keys($this->query->getEagerLoads()))
127 127
             || $relation === $this->query->getModel()->getTable();
128 128
     }
129 129
 
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
             $joins[] = $join->table;
197 197
         }
198 198
 
199
-        if (! in_array($table, $joins)) {
199
+        if (!in_array($table, $joins)) {
200 200
             $this->getBaseQueryBuilder()->join($table, $foreign, '=', $other, $type);
201 201
         }
202 202
     }
Please login to merge, or discard this patch.