@@ -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 | } |
@@ -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 |
@@ -87,7 +87,7 @@ |
||
87 | 87 | * Enriches an entity with metadata: |
88 | 88 | * id, version, created_at, updated_at |
89 | 89 | * |
90 | - * @param mixed $id |
|
90 | + * @param string|null $id |
|
91 | 91 | * the id of the entity to enrich |
92 | 92 | * @param Entity $entity |
93 | 93 | * the entity to enrich |
@@ -356,7 +356,7 @@ discard block |
||
356 | 356 | /** |
357 | 357 | * Gets the service. |
358 | 358 | * |
359 | - * @return ServiceProvider |
|
359 | + * @return Service |
|
360 | 360 | * the service provider |
361 | 361 | */ |
362 | 362 | public function getService() |
@@ -752,7 +752,7 @@ discard block |
||
752 | 752 | * the name of the field |
753 | 753 | * @param string $key |
754 | 754 | * the value of the key |
755 | - * @param mixed $value |
|
755 | + * @param string $value |
|
756 | 756 | * the new value |
757 | 757 | */ |
758 | 758 | public function setField($name, $key, $value) |