From e17895b18c3c12fc7d2ceae7e0d4e7e48fedda8f Mon Sep 17 00:00:00 2001 From: Instrye Date: Mon, 30 Mar 2020 17:15:31 +0800 Subject: [PATCH] [ci skip] _remap method must have return --- user_guide_src/source/incoming/controllers.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user_guide_src/source/incoming/controllers.rst b/user_guide_src/source/incoming/controllers.rst index d945a0f28bf0..bb8ed35a9f51 100644 --- a/user_guide_src/source/incoming/controllers.rst +++ b/user_guide_src/source/incoming/controllers.rst @@ -205,11 +205,11 @@ be passed as a parameter to the ``_remap()`` method:: { if ($method === 'some_method') { - $this->$method(); + return $this->$method(); } else { - $this->default_method(); + return $this->default_method(); } }