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'); }