@@ -121,7 +121,7 @@ |
||
121 | 121 | * the just created entity |
122 | 122 | * @param string $entityName |
123 | 123 | * the name of the entity as this class here is not aware of it |
124 | - * @param function $function |
|
124 | + * @param \Closure $function |
|
125 | 125 | * the function to perform, takes $entity, $entityName and $field as parameter |
126 | 126 | */ |
127 | 127 | protected function performOnFiles(CRUDEntity $entity, $entityName, $function) { |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use Symfony\Component\HttpFoundation\Request; |
15 | 15 | use Symfony\Component\HttpFoundation\Response; |
16 | 16 | use Symfony\Component\HttpFoundation\StreamedResponse; |
17 | - |
|
18 | 17 | use CRUDlex\CRUDFileProcessorInterface; |
19 | 18 | use CRUDlex\CRUDEntity; |
20 | 19 |