@@ -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) { |