PHP callables cannot containing spaces
parent
5aa3762c09
commit
22cab83bb1
|
@ -151,6 +151,6 @@ class EventDispatcher
|
|||
*/
|
||||
protected function isPhpScript($callable)
|
||||
{
|
||||
return false !== strpos($callable, '::');
|
||||
return false === strpos($callable, ' ') && false !== strpos($callable, '::');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue