Skip to content

Commit 991b4e1

Browse files
committed
Add Countable type hints
1 parent cb8a423 commit 991b4e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Tmdb/Model/Common/GenericCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct(array $data = [])
4848
/**
4949
* @return int
5050
*/
51-
public function count()
51+
public function count(): int
5252
{
5353
return count($this->data);
5454
}

0 commit comments

Comments
 (0)