File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -52,10 +52,7 @@ public function getPostBuildTasks(): array
5252 );
5353 }
5454
55- /**
56- * @deprecated Public usage of this method is deprecated as the method will be made protected.
57- */
58- public static function findTasksInAppDirectory (): array
55+ protected static function findTasksInAppDirectory (): array
5956 {
6057 $ tasks = [];
6158
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ public function test_find_tasks_in_app_directory_method_discovers_tasks_in_app_d
186186 File::makeDirectory (Hyde::path ('app/Actions ' ));
187187 Hyde::touch ('app/Actions/FooBuildTask.php ' );
188188
189- $ this ->assertEquals (['App\Actions\FooBuildTask ' ], BuildTaskService:: findTasksInAppDirectory ());
189+ $ this ->assertEquals (['App\Actions\FooBuildTask ' ], ( new BuildTaskService ())-> getPostBuildTasks ());
190190 File::deleteDirectory (Hyde::path ('app/Actions ' ));
191191 }
192192
You can’t perform that action at this time.
0 commit comments