Skip to content

Commit 6f60f64

Browse files
committed
Fix code style and remove original fallback checks
1 parent 078d49e commit 6f60f64

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/app/Library/CrudPanel/CrudFilter.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ public function apply($input = null)
110110
if (is_callable($this->fallbackLogic)) {
111111
return ($this->fallbackLogic)();
112112
}
113+
113114
return;
114115
}
115116

@@ -119,11 +120,6 @@ public function apply($input = null)
119120
} else {
120121
return $this->applyDefaultLogic($this->name, false);
121122
}
122-
123-
// if fallback logic was supplied and is a closure
124-
if (is_callable($this->fallbackLogic)) {
125-
return ($this->fallbackLogic)();
126-
}
127123
}
128124

129125
/**

0 commit comments

Comments
 (0)