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