Skip to content

Commit

Permalink
Merge pull request #68 from laoneo/patch-1
Browse files Browse the repository at this point in the history
Count must have a propper return type
  • Loading branch information
Nicolab authored Mar 23, 2022
2 parents 9a7a3b5 + d4d2d88 commit 94db75e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FtpClient/FtpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ public function countItems($directory = '.', $type = null, $recursive = true)
* @see countItems
* @return int
*/
public function count()
public function count(): int
{
return $this->countItems();
}
Expand Down

0 comments on commit 94db75e

Please sign in to comment.