Commit a56ec896 by Carsten Brandt

Fixed typo in ErrorHandler

`$this` -> `$self`
parent afeee0a3
...@@ -153,7 +153,7 @@ class ErrorHandler extends Component ...@@ -153,7 +153,7 @@ class ErrorHandler extends Component
// method/function call // method/function call
$self = $this; $self = $this;
$html = preg_replace_callback('/^(.*)\(\)$/', function ($matches) use ($self) { $html = preg_replace_callback('/^(.*)\(\)$/', function ($matches) use ($self) {
return '<a href="http://yiiframework.com/doc/api/2.0/' . $this->htmlEncode($matches[1]) . '" target="_blank">' . return '<a href="http://yiiframework.com/doc/api/2.0/' . $self->htmlEncode($matches[1]) . '" target="_blank">' .
$self->htmlEncode($matches[1]) . '</a>()'; $self->htmlEncode($matches[1]) . '</a>()';
}, $code); }, $code);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment