1
0
Fork 0
pull/2179/head
Nils Adermann 2013-08-14 18:30:09 +02:00
parent 919a190153
commit f00f5113bf
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class EventDispatcher
$listeners = $this->getListeners($event);
foreach ($listeners as $callable) {
if ((is_array($callable) && $is_callable($callable)) || $callable instanceof Closure) {
if ((is_array($callable) && is_callable($callable)) || $callable instanceof Closure) {
$callable($event);
} elseif ($this->isPhpScript($callable)) {
$className = substr($callable, 0, strpos($callable, '::'));