From 11647e1ceb3aca3b0dd652a866f2da0e3153b937 Mon Sep 17 00:00:00 2001 From: Mostafa Khudair <59371810+mostafakhudair@users.noreply.github.com> Date: Fri, 6 Oct 2023 09:01:08 +0300 Subject: [PATCH 1/2] docs: fix class name --- user_guide_src/source/extending/core_classes/003.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_guide_src/source/extending/core_classes/003.php b/user_guide_src/source/extending/core_classes/003.php index c726b71ea95d..aefc135c62e2 100644 --- a/user_guide_src/source/extending/core_classes/003.php +++ b/user_guide_src/source/extending/core_classes/003.php @@ -4,7 +4,7 @@ use CodeIgniter\Router\RouteCollection; -class RouteCollection extends RouteCollection +class MyRouteCollection extends RouteCollection { // ... } From 749753225a95757f3f32bf67318b9b14f688aa49 Mon Sep 17 00:00:00 2001 From: Mostafa Khudair <59371810+mostafakhudair@users.noreply.github.com> Date: Fri, 6 Oct 2023 12:20:23 +0300 Subject: [PATCH 2/2] apply suggestion --- user_guide_src/source/extending/core_classes/003.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user_guide_src/source/extending/core_classes/003.php b/user_guide_src/source/extending/core_classes/003.php index aefc135c62e2..9e89d87d46df 100644 --- a/user_guide_src/source/extending/core_classes/003.php +++ b/user_guide_src/source/extending/core_classes/003.php @@ -2,9 +2,9 @@ namespace App\Libraries; -use CodeIgniter\Router\RouteCollection; +use CodeIgniter\Router\RouteCollection as BaseRouteCollection; -class MyRouteCollection extends RouteCollection +class RouteCollection extends BaseRouteCollection { // ... }