From ef83737f5bbdf6a8d68a98c46767292211e81503 Mon Sep 17 00:00:00 2001 From: Karel Souffriau Date: Thu, 8 Jun 2023 14:24:33 +0200 Subject: [PATCH] Fix symfony 6.3 return type deprecations --- src/Command/ClearCommand.php | 2 +- src/Command/InvalidatePathCommand.php | 2 +- src/Command/InvalidateRegexCommand.php | 2 +- src/Command/InvalidateTagCommand.php | 2 +- src/Command/RefreshPathCommand.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Command/ClearCommand.php b/src/Command/ClearCommand.php index fb29e363..c5a551cc 100644 --- a/src/Command/ClearCommand.php +++ b/src/Command/ClearCommand.php @@ -29,7 +29,7 @@ class ClearCommand extends BaseInvalidateCommand /** * {@inheritdoc} */ - protected function configure() + protected function configure(): void { $this ->setName('fos:httpcache:clear') diff --git a/src/Command/InvalidatePathCommand.php b/src/Command/InvalidatePathCommand.php index bd2b89ba..bd76ad6c 100644 --- a/src/Command/InvalidatePathCommand.php +++ b/src/Command/InvalidatePathCommand.php @@ -46,7 +46,7 @@ public function __construct(CacheManager $cacheManager = null) /** * {@inheritdoc} */ - protected function configure() + protected function configure(): void { $this ->setName('fos:httpcache:invalidate:path') diff --git a/src/Command/InvalidateRegexCommand.php b/src/Command/InvalidateRegexCommand.php index 1288834d..5cdacfe7 100644 --- a/src/Command/InvalidateRegexCommand.php +++ b/src/Command/InvalidateRegexCommand.php @@ -45,7 +45,7 @@ public function __construct(CacheManager $cacheManager = null, $commandName = 'f /** * {@inheritdoc} */ - protected function configure() + protected function configure(): void { $this ->setName('fos:httpcache:invalidate:regex') diff --git a/src/Command/InvalidateTagCommand.php b/src/Command/InvalidateTagCommand.php index 8770b59b..b11c47c2 100644 --- a/src/Command/InvalidateTagCommand.php +++ b/src/Command/InvalidateTagCommand.php @@ -44,7 +44,7 @@ public function __construct(CacheManager $cacheManager = null, $commandName = 'f /** * {@inheritdoc} */ - protected function configure() + protected function configure(): void { $this ->setName('fos:httpcache:invalidate:tag') diff --git a/src/Command/RefreshPathCommand.php b/src/Command/RefreshPathCommand.php index b9321288..e801d8c9 100644 --- a/src/Command/RefreshPathCommand.php +++ b/src/Command/RefreshPathCommand.php @@ -46,7 +46,7 @@ public function __construct(CacheManager $cacheManager = null) /** * {@inheritdoc} */ - protected function configure() + protected function configure(): void { $this ->setName('fos:httpcache:refresh:path')