mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
eliminate remaining empty() usages
This commit is contained in:
@ -88,7 +88,7 @@ trait RegistryTrait{
|
||||
* @return object
|
||||
*/
|
||||
public static function __callStatic($name, $arguments){
|
||||
if(!empty($arguments)){
|
||||
if(count($arguments) > 0){
|
||||
throw new \ArgumentCountError("Expected exactly 0 arguments, " . count($arguments) . " passed");
|
||||
}
|
||||
try{
|
||||
|
Reference in New Issue
Block a user