8000 [EventDispatcher] Removed "callable" type hint from WrappedListener c… · symfony/symfony@20c587f · GitHub
[go: up one dir, main page]

Skip to content

Commit 20c587f

Browse files
committed
[EventDispatcher] Removed "callable" type hint from WrappedListener constructor
1 parent 
8000
c5772ae commit 20c587f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class WrappedListener
3838
private $priority;
3939
private static $hasClassStub;
4040

41-
public function __construct(callable $listener, ?string $name, Stopwatch $stopwatch, EventDispatcherInterface $dispatcher = null)
41+
public function __construct($listener, ?string $name, Stopwatch $stopwatch, EventDispatcherInterface $dispatcher = null)
4242
{
4343
$this->listener = $listener;
4444
$this->optimizedListener = $listener instanceof \Closure ? $listener : \Closure::fromCallable($listener);

0 commit comments

Comments
 (0)
0