From 27c4e8cb1e5ebec5b298adc9ba91c9575d456bed Mon Sep 17 00:00:00 2001 From: obozdag Date: Sun, 9 Jun 2024 11:51:54 +0200 Subject: [PATCH] docs: Fix typo in extending/core_classes.rst Fix typo in extending/core_classes.rst --- user_guide_src/source/extending/core_classes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_guide_src/source/extending/core_classes.rst b/user_guide_src/source/extending/core_classes.rst index a1731e7e460a..2e4b1ac134a3 100644 --- a/user_guide_src/source/extending/core_classes.rst +++ b/user_guide_src/source/extending/core_classes.rst @@ -86,7 +86,7 @@ Then you would add the ``routes`` service in **app/Config/Services.php** to load Extending Core Classes ====================== -If all you need to is add some functionality to an existing library - perhaps add a method or two - then it's overkill +If all you need is to add some functionality to an existing library - perhaps add a method or two - then it's overkill to recreate the entire library. In this case, it's better to simply extend the class. Extending the class is nearly identical to `Replacing Core Classes`_ with one exception: