Remove unnecessary $this.

Related to b3b5e36d42.
This commit is contained in:
resurtm
2013-10-18 19:36:16 +06:00
parent 24bc980da4
commit ffbd10638f
2 changed files with 2 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ class ActionColumn extends Column
*/
protected function renderDataCellContent($model, $index)
{
return preg_replace_callback('/\\{(\w+)\\}/', function ($matches) use ($this, $model) {
return preg_replace_callback('/\\{(\w+)\\}/', function ($matches) use ($model) {
$name = $matches[1];
if (isset($this->buttons[$name])) {
return call_user_func($this->buttons[$name], $model, $this);