1
0
Fork 0

PHP callables cannot containing spaces

pull/1186/head
John Kary 2012-10-06 22:36:17 -05:00
parent 5aa3762c09
commit 22cab83bb1
1 changed files with 1 additions and 1 deletions

View File

@ -151,6 +151,6 @@ class EventDispatcher
*/ */
protected function isPhpScript($callable) protected function isPhpScript($callable)
{ {
return false !== strpos($callable, '::'); return false === strpos($callable, ' ') && false !== strpos($callable, '::');
} }
} }