| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Side note if ($valueNode instanceof InvalidTagValueNode || $valueNode instanceof TypelessParamTagValueNode) {
if (!isset($valueNode->type)) {
$phpcsFile->addWarning('%s type hint is missing', $tag, 'MissingParamType', [$tokens[$tag]['content']]);
}
continue;
}Note the %s, since it can be others than param as well. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #402
This adds a new warning if a param type has no type hint instead of just bailing out due to an error