@@ -31,7 +31,7 @@ abstract class ConfigBuilder
3131 * @param array $defaults The default values.
3232 * @param IOInterface|null $io The composer input/output.
3333 */
34- public static function build (Composer $ composer , array $ defaults = [], IOInterface $ io = null ): Config
34+ public static function build (Composer $ composer , array $ defaults = [], IOInterface | null $ io = null ): Config
3535 {
3636 $ config = self ::getConfigBase ($ composer , $ io );
3737
@@ -44,7 +44,7 @@ public static function build(Composer $composer, array $defaults = [], IOInterfa
4444 * @param Composer $composer The composer.
4545 * @param IOInterface|null $io The composer input/output.
4646 */
47- private static function getConfigBase (Composer $ composer , IOInterface $ io = null ): array
47+ private static function getConfigBase (Composer $ composer , IOInterface | null $ io = null ): array
4848 {
4949 $ globalPackageConfig = self ::getGlobalConfig ($ composer , 'composer ' , $ io );
5050 $ globalConfig = self ::getGlobalConfig ($ composer , 'config ' , $ io );
@@ -63,7 +63,7 @@ private static function getConfigBase(Composer $composer, IOInterface $io = null
6363 * @param string $filename The filename.
6464 * @param IOInterface|null $io The composer input/output.
6565 */
66- private static function getGlobalConfig (Composer $ composer , string $ filename , IOInterface $ io = null ): array
66+ private static function getGlobalConfig (Composer $ composer , string $ filename , IOInterface | null $ io = null ): array
6767 {
6868 $ home = self ::getComposerHome ($ composer );
6969 $ file = new JsonFile ($ home . '/ ' . $ filename . '.json ' );
0 commit comments