mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
Fix type hints
This commit is contained in:
parent
4a5901630a
commit
fd14e8c2ea
|
|
@ -209,7 +209,7 @@ class ClassParser
|
|||
return false;
|
||||
}
|
||||
|
||||
public function getMember($name) : MemberParser
|
||||
public function getMember(string $name) : MemberParser
|
||||
{
|
||||
return $this->members[$name] ?? new MemberParser();
|
||||
}
|
||||
|
|
@ -230,7 +230,7 @@ class ClassParser
|
|||
return false;
|
||||
}
|
||||
|
||||
public function getFunction($name) : FunctionParser
|
||||
public function getFunction(string $name) : FunctionParser
|
||||
{
|
||||
return $this->functions[$name] ?? new FunctionParser();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user