diff --git a/src/DevUtilities/src/Rector/Rector.php b/src/DevUtilities/src/Rector/Rector.php index cf4a487..af127c9 100644 --- a/src/DevUtilities/src/Rector/Rector.php +++ b/src/DevUtilities/src/Rector/Rector.php @@ -23,7 +23,7 @@ class Rector { - public static function rules(array $rules): array + public static function rules(array $rules = []): array { return array_merge([ AddVoidReturnTypeWhereNoReturnRector::class, @@ -31,7 +31,7 @@ public static function rules(array $rules): array ], $rules); } - public static function skip(array $rules): array + public static function skip(array $rules = []): array { return array_merge([ CompactToVariablesRector::class,