Skip to content
New issue

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

Resolve "Result of method File_IMC_Build::validateParam() (void) is used" detected by PHPStan #12

Merged
merged 1 commit into from
Jul 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion File/IMC/Build.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ abstract function setVersion($text = '3.0');
* @param string $iter Optional, the iteration of the property. Only
* used for error messaging.
*
* @return void
* @return mixed Boolean true if the parameter is valid
* @throws File_IMC_Exception if not.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if I wrote this code. 😆

*/
abstract function validateParam($name, $text, $prop = null, $iter = null);
Expand Down