Test Setup Failed
Branch master (47e68a)
by Pavel
02:04
created
Category
src/Filters/Filter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      */
121 121
     protected function resolve($column, $key, $last, callable $callback)
122 122
     {
123
-        if (! strpos($column, '.')) {
123
+        if (!strpos($column, '.')) {
124 124
             return $callback("{$last}.{$column}", $key);
125 125
         }
126 126
 
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
         $singular = str_singular($scope);
129 129
         $next = substr(strstr($column, '.'), 1);
130 130
 
131
-        if (! in_array($scope, $this->loaded)) {
131
+        if (!in_array($scope, $this->loaded)) {
132 132
             $this->loaded[] = $scope;
133 133
 
134 134
             $this->builder->join($scope, "{$last}.{$singular}_id", "{$scope}.id");
Please login to merge, or discard this patch.
src/Filters/Behavior/Searchable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public function search($pattern = null)
14 14
     {
15
-        if (! $pattern) {
15
+        if (!$pattern) {
16 16
             return;
17 17
         }
18 18
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     protected function resolveSearch($column, $key)
32 32
     {
33
-        $this->resolve($column, $key, $this->getTableName(), function ($query, $pattern) {
33
+        $this->resolve($column, $key, $this->getTableName(), function($query, $pattern) {
34 34
             $this->builder->orWhere($query, 'LIKE', "%{$pattern}%");
35 35
         });
36 36
     }
Please login to merge, or discard this patch.
src/Filters/Behavior/Orderable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      */
14 14
     public function __call($method, $args)
15 15
     {
16
-        if (! array_key_exists($method, $this->orderable)) {
16
+        if (!array_key_exists($method, $this->orderable)) {
17 17
             return;
18 18
         }
19 19
 
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      */
30 30
     protected function resolveOrder($column, $key)
31 31
     {
32
-        $this->resolve($column, $key, $this->getTableName(), function ($query, $pattern) {
32
+        $this->resolve($column, $key, $this->getTableName(), function($query, $pattern) {
33 33
             $this->builder->orderBy($query, $pattern);
34 34
         });
35 35
     }
Please login to merge, or discard this patch.