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

Fix ISOCodes magic methods phpdocs #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeanlucnguyen
Copy link

@jeanlucnguyen jeanlucnguyen commented Dec 25, 2024

If you don't put the parenthesis, they are not recognized as valid by phpstan.

  :14    PHPDoc tag @method has invalid value (\Juanparati\ISOCodes\Models\ContinentModel  
         continents): Unexpected token "\n * ", expected '(' at offset 109                 
  :14    PHPDoc tag @method has invalid value (\Juanparati\ISOCodes\Models\CountryModel    
         countries): Unexpected token "\n * ", expected '(' at offset 171                  
  :14    PHPDoc tag @method has invalid value (\Juanparati\ISOCodes\Models\CurrencyModel   
         currencies): Unexpected token "\n * ", expected '(' at offset 235                 
  :14    PHPDoc tag @method has invalid value                                              
         (\Juanparati\ISOCodes\Models\CurrencyNumberModel currencyNumbers): Unexpected     
         token "\n * ", expected '(' at offset 310                                         
  :14    PHPDoc tag @method has invalid value (\Juanparati\ISOCodes\Models\LanguageModel   
         languages): Unexpected token "\n ", expected '(' at offset 373

@jeanlucnguyen
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant