From ebde54f25107a04b32c5db4a5f29351b7e7fedde Mon Sep 17 00:00:00 2001 From: Thomas Picquet Date: Fri, 28 Jan 2022 07:34:08 -0800 Subject: [PATCH] style fix --- Annotation/Areas.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Annotation/Areas.php b/Annotation/Areas.php index 384b9fe..805275d 100644 --- a/Annotation/Areas.php +++ b/Annotation/Areas.php @@ -22,7 +22,7 @@ final class Areas public function __construct(array $properties) { - if ($properties === []) { + if ([] === $properties) { throw new \InvalidArgumentException('An array of areas was expected'); }