add missing typehints and return types;

This commit is contained in:
Chuck Burgess
2018-01-31 08:57:30 -06:00
parent cd3bee0c73
commit 5ea3cbf8cf
8 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -133,7 +133,7 @@ final class DocBlock
*
* @return Tag[]
*/
public function getTags()
public function getTags(): array
{
return $this->tags;
}
@@ -146,7 +146,7 @@ final class DocBlock
*
* @return Tag[]
*/
public function getTagsByName(string $name)
public function getTagsByName(string $name): array
{
$result = [];