diff --git a/tests/framework/console/FakePhp71Controller.php b/tests/framework/console/FakePhp71Controller.php index cc23ae60299..44ba0fbd310 100644 --- a/tests/framework/console/FakePhp71Controller.php +++ b/tests/framework/console/FakePhp71Controller.php @@ -14,9 +14,14 @@ class FakePhp71Controller extends Controller { - public function actionInjection($before, Request $request, $between, DummyService $dummyService, ?Post $post = null, $after) - { - + public function actionInjection( + $before, + Request $request, + $between, + DummyService $dummyService, + ?Post $post, + $after + ) { } public function actionNullableInjection(?Request $request, ?Post $post) diff --git a/tests/framework/web/FakePhp71Controller.php b/tests/framework/web/FakePhp71Controller.php index f84214c6e8d..c48243e2fed 100644 --- a/tests/framework/web/FakePhp71Controller.php +++ b/tests/framework/web/FakePhp71Controller.php @@ -21,9 +21,14 @@ class FakePhp71Controller extends Controller { public $enableCsrfValidation = false; - public function actionInjection($before, Request $request, $between, VendorImage $vendorImage, ?Post $post = null, $after) - { - + public function actionInjection( + $before, + Request $request, + $between, + VendorImage $vendorImage, + ?Post $post, + $after + ) { } public function actionNullableInjection(?Request $request, ?Post $post) diff --git a/tests/framework/web/FakePhp7Controller.php b/tests/framework/web/FakePhp7Controller.php index 381ba3e0ee3..74008f49fad 100644 --- a/tests/framework/web/FakePhp7Controller.php +++ b/tests/framework/web/FakePhp7Controller.php @@ -17,7 +17,7 @@ class FakePhp7Controller extends Controller { public $enableCsrfValidation = false; - public function actionAksi1(int $foo, ?float $bar = null, bool $true, bool $false) + public function actionAksi1(int $foo, ?float $bar, bool $true, bool $false) { }