@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | } elseif (method_exists($class, $obj)) { // maybe its a function? |
| 139 | 139 | $class = $class::$obj; // call function |
| 140 | 140 | } else { |
| 141 | - throw new SyntaxException('Filter callback execution failed: ' . $filterName); |
|
| 141 | + throw new SyntaxException('Filter callback execution failed: '.$filterName); |
|
| 142 | 142 | } |
| 143 | 143 | |
| 144 | 144 | } |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | if (method_exists($class, $method)) { |
| 149 | 149 | $check = @$class::$method($fieldValue, $filterArgs); |
| 150 | 150 | } else { |
| 151 | - throw new SyntaxException('Filter callback execution failed: ' . $filterName); |
|
| 151 | + throw new SyntaxException('Filter callback execution failed: '.$filterName); |
|
| 152 | 152 | } |
| 153 | 153 | } elseif (method_exists('Ffcms\Core\Helper\ModelFilters', $filterName)) { // only full namespace\class path based :( |
| 154 | 154 | if ($filterArgs != null) { |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | $check = ModelFilters::$filterName($fieldValue); |
| 158 | 158 | } |
| 159 | 159 | } else { |
| 160 | - throw new SyntaxException('Filter "' . $filterName . '" is not exist'); |
|
| 160 | + throw new SyntaxException('Filter "'.$filterName.'" is not exist'); |
|
| 161 | 161 | } |
| 162 | 162 | if ($check !== true) { // switch only on fail check. |
| 163 | 163 | $this->_badAttr[] = $propertyName; |
@@ -323,10 +323,10 @@ discard block |
||
| 323 | 323 | $paramQuery = $this->getFormName(); |
| 324 | 324 | if (Str::contains('.', $param)) { |
| 325 | 325 | foreach (explode('.', $param) as $item) { |
| 326 | - $paramQuery .= '[' . $item . ']'; |
|
| 326 | + $paramQuery .= '['.$item.']'; |
|
| 327 | 327 | } |
| 328 | 328 | } else { |
| 329 | - $paramQuery .= '[' . $param . ']'; |
|
| 329 | + $paramQuery .= '['.$param.']'; |
|
| 330 | 330 | } |
| 331 | 331 | |
| 332 | 332 | if ($method === null) { |