Skip to content

Commit

Permalink
[ci skip] _remap method must have return
Browse files Browse the repository at this point in the history
  • Loading branch information
nyufeng committed Mar 30, 2020
1 parent fa225ab commit e17895b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user_guide_src/source/incoming/controllers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

Expand Down

0 comments on commit e17895b

Please sign in to comment.