From 1e0ced5e0728d47dda151c345c7c03a7c874664e Mon Sep 17 00:00:00 2001 From: Anani Ananiev Date: Mon, 6 Jan 2020 10:58:51 +0200 Subject: [PATCH] Fix a minor code mistake --- components/string.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/string.rst b/components/string.rst index 83a3f875491..3db3a5df851 100644 --- a/components/string.rst +++ b/components/string.rst @@ -453,7 +453,7 @@ the injected slugger is the same as the request locale:: public function someMethod() { - $slug = $slugger->slug('...'); + $slug = $this->slugger->slug('...'); } }