Run Rector on your code to see what it can do for you:
<?php class test { - private static function just_a_test(string $foo, array $bar, $used_parameter): void + private static function just_a_test(string $foo, array $used_parameter): void { \external::whatever($foo, $used_parameter); }
Applied Rules:
Not a change you expect?
rector.php