From f5c50042cb99faaae7677e92339a22d25fa8cd3b Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 22 Feb 2018 18:59:13 +0100 Subject: [PATCH] Add array type hint --- src/Utils/ParsedComment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils/ParsedComment.php b/src/Utils/ParsedComment.php index ba97231d..9fba6ae1 100644 --- a/src/Utils/ParsedComment.php +++ b/src/Utils/ParsedComment.php @@ -119,7 +119,7 @@ public function isRelatedWith(ParsedFunction $function) * @param array $prefixes An array of prefixes to check. * @return bool Whether the comment matches the prefixes or not. */ - public function checkPrefixes($prefixes) + public function checkPrefixes(array $prefixes) { if ('' === $this->comment) { return false;