@@ -23,7 +23,7 @@ |
||
23 | 23 | */ |
24 | 24 | public function boot(Container $container): void |
25 | 25 | { |
26 | - $container->bindSingleton(ReaderInterface::class, static function () { |
|
26 | + $container->bindSingleton(ReaderInterface::class, static function (){ |
|
27 | 27 | return new AttributeReader(); |
28 | 28 | }); |
29 | 29 | } |
@@ -23,7 +23,8 @@ |
||
23 | 23 | */ |
24 | 24 | public function boot(Container $container): void |
25 | 25 | { |
26 | - $container->bindSingleton(ReaderInterface::class, static function () { |
|
26 | + $container->bindSingleton(ReaderInterface::class, static function () |
|
27 | + { |
|
27 | 28 | return new AttributeReader(); |
28 | 29 | }); |
29 | 30 | } |