From 8226c4f9997ce55433a3efbeb2f29c753ac8fcd9 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Thu, 22 Sep 2022 14:57:17 +0200 Subject: [PATCH] Fix build --- tests/PHPStan/Rules/Properties/data/bug-4680.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/PHPStan/Rules/Properties/data/bug-4680.php b/tests/PHPStan/Rules/Properties/data/bug-4680.php index dd43bf6179..b353ded26e 100644 --- a/tests/PHPStan/Rules/Properties/data/bug-4680.php +++ b/tests/PHPStan/Rules/Properties/data/bug-4680.php @@ -10,7 +10,7 @@ class HelloWorld /** @var \SplObjectStorage */ private $collection2; - public function __construct(): void + public function __construct() { $this->collection1 = new \SplObjectStorage(); $this->collection2 = new \SplObjectStorage();