From 47750ddc0ebd0435370eab486d459d9a1667eed6 Mon Sep 17 00:00:00 2001 From: Gregurco Vlad Date: Mon, 4 Dec 2023 16:36:54 +0200 Subject: [PATCH] Fix deprecations (return void) --- src/DataCollector/DataCollectorSymfonyCompatibilityTrait.php | 2 +- src/EightPointsGuzzleBundle.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DataCollector/DataCollectorSymfonyCompatibilityTrait.php b/src/DataCollector/DataCollectorSymfonyCompatibilityTrait.php index 33f3006..e0acae6 100644 --- a/src/DataCollector/DataCollectorSymfonyCompatibilityTrait.php +++ b/src/DataCollector/DataCollectorSymfonyCompatibilityTrait.php @@ -16,7 +16,7 @@ abstract protected function doCollect(Request $request, Response $response, \Thr * * @return void */ - public function collect(Request $request, Response $response, \Throwable $exception = null) + public function collect(Request $request, Response $response, \Throwable $exception = null): void { $this->doCollect($request, $response, $exception); } diff --git a/src/EightPointsGuzzleBundle.php b/src/EightPointsGuzzleBundle.php index 5787c18..2fc605c 100644 --- a/src/EightPointsGuzzleBundle.php +++ b/src/EightPointsGuzzleBundle.php @@ -60,7 +60,7 @@ public function getContainerExtension() : ExtensionInterface * * @return void */ - public function boot() + public function boot(): void { foreach ($this->plugins as $plugin) { $plugin->boot();