diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 90a8d4feb8..968fb4a167 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -74,7 +74,6 @@ 'curly_braces_position' => true, 'declare_equal_normalize' => true, 'declare_parentheses' => true, - 'function_typehint_space' => true, 'general_phpdoc_annotation_remove' => [ 'annotations' => [ 'author', @@ -222,6 +221,11 @@ ], ], 'trim_array_spaces' => true, + 'type_declaration_spaces' => [ + 'elements' => [ + 'function', + ], + ], 'unary_operator_spaces' => true, 'visibility_required' => [ 'elements' => [