Completed
Push — master ( 81f8fc...23337c )
by Arjay
14:07
created
src/Utilities/Helper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
      */
141 141
     public static function getOrMethod($method)
142 142
     {
143
-        if (! Str::contains(Str::lower($method), 'or')) {
143
+        if (!Str::contains(Str::lower($method), 'or')) {
144 144
             return 'or' . ucfirst($method);
145 145
         }
146 146
 
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
     {
257 257
         $matches = explode(' as ', Str::lower($str));
258 258
 
259
-        if (! empty($matches)) {
259
+        if (!empty($matches)) {
260 260
             if ($wantsAlias) {
261 261
                 return array_pop($matches);
262 262
             }
Please login to merge, or discard this patch.
src/CollectionDataTable.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -223,8 +223,8 @@  discard block
 block discarded – undo
223 223
             foreach ($this->request->searchableColumnIndex() as $index) {
224 224
                 $column = $this->getColumnName($index);
225 225
                 $value = Arr::get($data, $column);
226
-                if (! $value || is_array($value)) {
227
-                    if (! is_numeric($value)) {
226
+                if (!$value || is_array($value)) {
227
+                    if (!is_numeric($value)) {
228 228
                         continue;
229 229
                     }
230 230
 
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
     protected function defaultOrdering()
248 248
     {
249 249
         $criteria = $this->request->orderableColumns();
250
-        if (! empty($criteria)) {
250
+        if (!empty($criteria)) {
251 251
             $sorter = $this->getSorter($criteria);
252 252
 
253 253
             $this->collection = $this->collection
Please login to merge, or discard this patch.