fix Event get params

https://github.com/bagisto/bagisto/issues/1280
This commit is contained in:
Karim Qaderi 2019-08-12 19:20:03 +04:30 committed by GitHub
parent a849ae9fc0
commit 324289a4d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ class ViewRenderEventManager
{
$this->params = $params ?? [];
Event::fire($eventName, $this);
Event::fire($eventName, $this->params);
return $this->templates;
}
@ -64,4 +64,4 @@ class ViewRenderEventManager
return $string;
}
}
}