mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Fixed some doc problems
This commit is contained in:
@ -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{
|
||||
|
Reference in New Issue
Block a user