File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
tests/Rector/FuncCall/ArgumentFuncCallToMethodCallRector/Fixture Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,12 @@ namespace RectorLaravel\Tests\Rector\FuncCall\ArgumentFuncCallToMethodCallRector
1818
1919class Broadcast
2020{
21- public function __construct (private readonly \Illuminate \Contracts \Broadcasting \Factory $ broadcastingFactory )
21+ public function __construct (private readonly \Illuminate \Contracts \Broadcasting \Factory $ factory )
2222 {
2323 }
2424 public function action ()
2525 {
26- return $ this ->broadcastingFactory ->event ('template.blade ' );
26+ return $ this ->factory ->event ('template.blade ' );
2727 }
2828}
2929
Original file line number Diff line number Diff line change @@ -23,17 +23,17 @@ namespace RectorLaravel\Tests\Rector\FuncCall\ArgumentFuncCallToMethodCallRector
2323
2424class Config
2525{
26- public function __construct (private readonly \Illuminate \Contracts \Config \Repository $ configRepository )
26+ public function __construct (private readonly \Illuminate \Contracts \Config \Repository $ repository )
2727 {
2828 }
2929 public function actionGet ()
3030 {
31- $ value = $ this ->configRepository ->get ('value ' );
31+ $ value = $ this ->repository ->get ('value ' );
3232 }
3333
3434 public function actionSet ($ value )
3535 {
36- $ this ->configRepository ->set (['value ' => $ value ]);
36+ $ this ->repository ->set (['value ' => $ value ]);
3737 }
3838}
3939
Original file line number Diff line number Diff line change @@ -19,13 +19,13 @@ namespace RectorLaravel\Tests\Rector\FuncCall\ArgumentFuncCallToMethodCallRector
1919
2020class View
2121{
22- public function __construct (private readonly \Illuminate \Contracts \View \Factory $ viewFactory )
22+ public function __construct (private readonly \Illuminate \Contracts \View \Factory $ factory )
2323 {
2424 }
2525 public function action ()
2626 {
27- $ template = $ this ->viewFactory ->make ('template.blade ' );
28- $ viewFactory = $ this ->viewFactory ;
27+ $ template = $ this ->factory ->make ('template.blade ' );
28+ $ viewFactory = $ this ->factory ;
2929 }
3030}
3131
You can’t perform that action at this time.
0 commit comments