diff --git a/test/EventManagerTest.php b/test/EventManagerTest.php index 8d53a3a..8bcd546 100644 --- a/test/EventManagerTest.php +++ b/test/EventManagerTest.php @@ -612,9 +612,13 @@ public function testSettingSharedEventManagerSetsStaticEventManagerInstance() $this->assertSame($shared, StaticEventManager::getInstance()); } - public function testSharedEventManagerAttachReturnsCallbackHander(){ + public function testSharedEventManagerAttachReturnsCallbackHandler() + { $shared = new SharedEventManager; - $callbackHandler = $shared->attach('foo', 'bar', function($e){ + $callbackHandler = $shared->attach( + 'foo', + 'bar', + function($e) { return true; } );