@@ -526,20 +526,20 @@ public function testGetAlias()
526
526
527
527
public function testCurrentlyResolving ()
528
528
{
529
- $ container = new Container ;
529
+ $ container = new Container ;
530
530
531
- $ container ->afterResolvingAttribute (ContainerCurrentResolvingAttribute::class, function ($ attr , $ instance , $ container ) {
532
- $ this ->assertEquals (ContainerCurrentResolvingConcrete::class, $ container ->currentlyResolving ());
533
- });
531
+ $ container ->afterResolvingAttribute (ContainerCurrentResolvingAttribute::class, function ($ attr , $ instance , $ container ) {
532
+ $ this ->assertEquals (ContainerCurrentResolvingConcrete::class, $ container ->currentlyResolving ());
533
+ });
534
534
535
- $ container ->when (ContainerCurrentResolvingConcrete::class)
536
- ->needs ('$currentlyResolving ' )
537
- ->give (fn ($ container ) => $ container ->currentlyResolving ());
535
+ $ container ->when (ContainerCurrentResolvingConcrete::class)
536
+ ->needs ('$currentlyResolving ' )
537
+ ->give (fn ($ container ) => $ container ->currentlyResolving ());
538
538
539
- $ resolved = $ container ->make (ContainerCurrentResolvingConcrete::class);
539
+ $ resolved = $ container ->make (ContainerCurrentResolvingConcrete::class);
540
540
541
- $ this ->assertEquals (ContainerCurrentResolvingConcrete::class, $ resolved ->currentlyResolving );
542
- }
541
+ $ this ->assertEquals (ContainerCurrentResolvingConcrete::class, $ resolved ->currentlyResolving );
542
+ }
543
543
544
544
public function testGetAliasRecursive ()
545
545
{
0 commit comments