diff --git a/src/CallableResolver/ServiceLocatorAwareCallableResolver.php b/src/CallableResolver/ServiceLocatorAwareCallableResolver.php index 7336372..511a255 100644 --- a/src/CallableResolver/ServiceLocatorAwareCallableResolver.php +++ b/src/CallableResolver/ServiceLocatorAwareCallableResolver.php @@ -36,7 +36,7 @@ public function resolve($maybeCallable) return [$maybeCallable, 'handle']; } - // to make the upgrade process easier: auto-select the "handle" method + // to make the upgrade process easier: auto-select the "notify" method if (is_object($maybeCallable) && method_exists($maybeCallable, 'notify')) { return [$maybeCallable, 'notify']; }