mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-24 15:18:40 +00:00
Minor bug fixes
This commit is contained in:
parent
6255bd9ab2
commit
907c7b6f49
|
|
@ -67,10 +67,6 @@ class FunctionParser
|
|||
|
||||
public function setStatic(bool $static) {
|
||||
$this->isStatic = $static;
|
||||
|
||||
if($this->isStatic) {
|
||||
$this->isConst = false;
|
||||
}
|
||||
}
|
||||
|
||||
public function isStatic() : bool
|
||||
|
|
@ -142,5 +138,7 @@ class FunctionParser
|
|||
$member .= rtrim($parameters, ', ') . ') ';
|
||||
$member .= ($this->return ?? '') . PHP_EOL;
|
||||
$member .= '{' . PHP_EOL . $this->body . PHP_EOL . '}';
|
||||
|
||||
return $member;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user