We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
When attempting to the following code:
<?php require 'vendor/autoload.php'; $file = \Nette\PhpGenerator\PhpFile::fromCode(<<<PHP <?php namespace Hello; class World { public function example(/** @noinspection */?string \$example) :? string { return 'boo'; } } PHP );
I get an exception saying
Value '/** @noinspection */ ?string' is not valid type.
That is because when parsing the parameter type for $example, this package doesn't clear the comment before attempting to get the parameter type.
$example
Currently running 3.6.9.
The text was updated successfully, but these errors were encountered:
I don't know what you're doing that's throwing you an error.
Sorry, something went wrong.
I have updated the original message to give better explanation.
8fb56fb
Extractor::toPhp() removes doc comments [Closes #135]
df22ef1
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
When attempting to the following code:
I get an exception saying
That is because when parsing the parameter type for
$example
, this package doesn't clear the comment before attempting to get the parameter type.Currently running 3.6.9.
The text was updated successfully, but these errors were encountered: