Fixed some doc problems

This commit is contained in:
Dylan K. Taylor
2017-06-25 12:07:28 +01:00
parent c0377fc63a
commit a365c831a8
28 changed files with 50 additions and 33 deletions

View File

@ -104,9 +104,9 @@ class BanEntry{
/**
* @param string $str
*
* @return BanEntry
* @return BanEntry|null
*/
public static function fromString($str){
public static function fromString(string $str){
if(strlen($str) < 2){
return null;
}else{