Skip to content

Commit bba1979

Browse files
[DI] minor docblock fixes
1 parent 26ebb46 commit bba1979

5 files changed

+0
-36
lines changed

ContainerAwareEventDispatcher.php

-12
Original file line numberDiff line numberDiff line change
@@ -23,30 +23,18 @@
2323
*/
2424
class ContainerAwareEventDispatcher extends EventDispatcher
2525
{
26-
/**
27-
* The container from where services are loaded.
28-
*
29-
* @var ContainerInterface
30-
*/
3126
private $container;
3227

3328
/**
3429
* The service IDs of the event listeners and subscribers.
35-
*
36-
* @var array
3730
*/
3831
private $listenerIds = array();
3932

4033
/**
4134
* The services registered as listeners.
42-
*
43-
* @var array
4435
*/
4536
private $listeners = array();
4637

47-
/**
48-
* @param ContainerInterface $container A ContainerInterface instance
49-
*/
5038
public function __construct(ContainerInterface $container)
5139
{
5240
$this->container = $container;

Debug/TraceableEventDispatcher.php

-5
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ class TraceableEventDispatcher implements TraceableEventDispatcherInterface
3333
private $dispatcher;
3434
private $wrappedListeners;
3535

36-
/**
37-
* @param EventDispatcherInterface $dispatcher An EventDispatcherInterface instance
38-
* @param Stopwatch $stopwatch A Stopwatch instance
39-
* @param LoggerInterface $logger A LoggerInterface instance
40-
*/
4136
public function __construct(EventDispatcherInterface $dispatcher, Stopwatch $stopwatch, LoggerInterface $logger = null)
4237
{
4338
$this->dispatcher = $dispatcher;

EventDispatcherInterface.php

-7
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ public function addListener($eventName, $listener, $priority = 0);
4848
*
4949
* The subscriber is asked for all the events he is
5050
* interested in and added as a listener for these events.
51-
*
52-
* @param EventSubscriberInterface $subscriber The subscriber
5351
*/
5452
public function addSubscriber(EventSubscriberInterface $subscriber);
5553

@@ -61,11 +59,6 @@ public function addSubscriber(EventSubscriberInterface $subscriber);
6159
*/
6260
public function removeListener($eventName, $listener);
6361

64-
/**
65-
* Removes an event subscriber.
66-
*
67-
* @param EventSubscriberInterface $subscriber The subscriber
68-
*/
6962
public function removeSubscriber(EventSubscriberInterface $subscriber);
7063

7164
/**

GenericEvent.php

-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ class GenericEvent extends Event implements \ArrayAccess, \IteratorAggregate
2929

3030
/**
3131
* Array of arguments.
32-
*
33-
* @var array
3432
*/
3533
protected $arguments;
3634

ImmutableEventDispatcher.php

-10
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,8 @@
1818
*/
1919
class ImmutableEventDispatcher implements EventDispatcherInterface
2020
{
21-
/**
22-
* The proxied dispatcher.
23-
*
24-
* @var EventDispatcherInterface
25-
*/
2621
private $dispatcher;
2722

28-
/**
29-
* Creates an unmodifiable proxy for an event dispatcher.
30-
*
31-
* @param EventDispatcherInterface $dispatcher The proxied event dispatcher
32-
*/
3323
public function __construct(EventDispatcherInterface $dispatcher)
3424
{
3525
$this->dispatcher = $dispatcher;

0 commit comments

Comments
 (0)