@@ -220,7 +220,7 @@ |
||
220 | 220 | return ['id' => $value]; |
221 | 221 | }, $filter[$filterField]); |
222 | 222 | $filterToUse[$filterField] = $filter[$filterField]; |
223 | - } else if (in_array($type, ['text', 'multiline', 'fixed'])){ |
|
223 | + } else if (in_array($type, ['text', 'multiline', 'fixed'])) { |
|
224 | 224 | $filterToUse[$filterField] = '%'.$filter[$filterField].'%'; |
225 | 225 | $filterOperators[$filterField] = 'LIKE'; |
226 | 226 | } |
@@ -315,9 +315,9 @@ |
||
315 | 315 | public function getEntitiesNavBar() { |
316 | 316 | foreach ($this->datas as $entity => $data) { |
317 | 317 | $navBarGroup = $data->getDefinition()->getNavBarGroup(); |
318 | - if ($navBarGroup !== 'main'){ |
|
318 | + if ($navBarGroup !== 'main') { |
|
319 | 319 | $result[$navBarGroup][] = $entity; |
320 | - }else{ |
|
320 | + } else { |
|
321 | 321 | $result[$entity] = 'main'; |
322 | 322 | } |
323 | 323 | } |
@@ -72,7 +72,7 @@ |
||
72 | 72 | 'whitespace' => false, |
73 | 73 | 'recursion.detect' => false |
74 | 74 | ]); |
75 | - $cache = '<?php $crudlexCacheContent = '.$contentPHP.';'; |
|
75 | + $cache = '<?php $crudlexCacheContent = '.$contentPHP.';'; |
|
76 | 76 | file_put_contents($this->getCacheFile($fileName), $cache); |
77 | 77 | } |
78 | 78 |