Skip to content

Commit

Permalink
Slight simplification.
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-vessey committed Jun 24, 2024
1 parent 12934b9 commit 33f6de0
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/ImageDiscovery.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,13 @@
*/
class ImageDiscovery implements ImageDiscoveryInterface {

/**
* The event dispatcher service.
*
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
*/
protected EventDispatcherInterface $eventDispatcher;

/**
* Constructor.
*/
public function __construct(
EventDispatcherInterface $event_dispatcher,
protected EventDispatcherInterface $eventDispatcher,
) {
$this->eventDispatcher = $event_dispatcher;
// No-op, other than setting property.
}

/**
Expand Down

0 comments on commit 33f6de0

Please sign in to comment.