|
@@ -74,7 +74,7 @@ discard block |
|
|
block discarded – undo |
|
74
|
74
|
/** |
|
75
|
75
|
* @throws ContainerException |
|
76
|
76
|
*/ |
|
77
|
|
- public static function config(array|ConfigInterface $config = [], Closure|ContainerInterface|null $container = null): bool |
|
|
77
|
+ public static function config(array | ConfigInterface $config = [], Closure | ContainerInterface | null $container = null): bool |
|
78
|
78
|
{ |
|
79
|
79
|
// Convert ConfigInterface to array if needed |
|
80
|
80
|
if ($config instanceof ConfigInterface) { |
|
@@ -114,7 +114,7 @@ discard block |
|
|
block discarded – undo |
|
114
|
114
|
return Artful::get($service); |
|
115
|
115
|
} |
|
116
|
116
|
|
|
117
|
|
- public static function setContainer(Closure|ContainerInterface|null $container): void |
|
|
117
|
+ public static function setContainer(Closure | ContainerInterface | null $container): void |
|
118
|
118
|
{ |
|
119
|
119
|
Artful::setContainer($container); |
|
120
|
120
|
} |
Please login to merge, or discard this patch.