From 69e0e5333b44933751b868a0bd37dfd288e01cc3 Mon Sep 17 00:00:00 2001 From: calavera Date: Tue, 19 Nov 2024 16:52:13 +0100 Subject: [PATCH 1/2] [11.x] Removing unused var assignment in Illuminate Router --- src/Illuminate/Routing/Router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Routing/Router.php b/src/Illuminate/Routing/Router.php index 2be5d05e3a14..dfe5dedc8711 100644 --- a/src/Illuminate/Routing/Router.php +++ b/src/Illuminate/Routing/Router.php @@ -709,7 +709,7 @@ protected function mergeGroupAttributesIntoRoute($route) { $route->setAction($this->mergeWithLastGroup( $route->getAction(), - $prependExistingPrefix = false + false )); } From 208f837e1b709a9b6301c8d3273ca861de23ef03 Mon Sep 17 00:00:00 2001 From: calavera Date: Tue, 19 Nov 2024 17:53:33 +0100 Subject: [PATCH 2/2] fix: readability concerns --- src/Illuminate/Routing/Router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Routing/Router.php b/src/Illuminate/Routing/Router.php index dfe5dedc8711..379dcdd3bd63 100644 --- a/src/Illuminate/Routing/Router.php +++ b/src/Illuminate/Routing/Router.php @@ -709,7 +709,7 @@ protected function mergeGroupAttributesIntoRoute($route) { $route->setAction($this->mergeWithLastGroup( $route->getAction(), - false + prependExistingPrefix: false )); }