Skip to content

Commit

Permalink
Chore: Add support for symfony 7 (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
W0rma committed Jan 19, 2024
1 parent 22fb05e commit 293127c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"lastguest/murmurhash": "^2.1",
"psr/http-message": "^1.0 | ^2.0",
"php-http/discovery": "^1.14",
"symfony/event-dispatcher": "^5.0 | ^6.0"
"symfony/event-dispatcher": "^5.0 | ^6.0 | ^7.0"
},
"autoload": {
"psr-4": {
Expand All @@ -36,9 +36,9 @@
"jetbrains/phpstorm-attributes": "^1.0",
"rector/rector": "^0.14.8",
"phpunit/phpunit": "^9.5",
"symfony/http-client": "^5.0 | ^6.0",
"symfony/http-client": "^5.0 | ^6.0 | ^7.0",
"nyholm/psr7": "^1.0",
"symfony/cache": "^5.0 | ^6.0"
"symfony/cache": "^5.0 | ^6.0 | ^7.0"
},
"autoload-dev": {
"psr-4": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ public function setRequestFactory(RequestFactoryInterface $requestFactory): void
$this->requestFactory = $requestFactory;
}

public function addListener(string $eventName, callable $listener, int $priority = 0)
public function addListener(string $eventName, callable $listener, int $priority = 0): void
{
}

public function addSubscriber(EventSubscriberInterface $subscriber)
public function addSubscriber(EventSubscriberInterface $subscriber): void
{
}

public function removeListener(string $eventName, callable $listener)
public function removeListener(string $eventName, callable $listener): void
{
}

public function removeSubscriber(EventSubscriberInterface $subscriber)
public function removeSubscriber(EventSubscriberInterface $subscriber): void
{
}

Expand Down

0 comments on commit 293127c

Please sign in to comment.