We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maybe by using something like this so that if statement can remain non-static but callable statically?
if
public static function __callStatic($method, $parameters) { if($method === 'if' and !self::ifCalled) { return (new static)->$method(...$parameters); } }
Reviewable under the spec of best practices and performance.
The text was updated successfully, but these errors were encountered:
Merge pull request #51 from omitobi/feature/#14-remove-static-propeties
e584d29
Feature/#14 remove static propeties
Successfully merging a pull request may close this issue.
Maybe by using something like this so that
if
statement can remain non-static but callable statically?The text was updated successfully, but these errors were encountered: