-
Notifications
You must be signed in to change notification settings - Fork 320
core(cmd) : Improve cmd class PHPDoc #3026
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
base: alpha
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return type is incorrecte for most of the function, e.g.: return static[]
93d4cb6
to
ba97c41
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kwizer15 Il faut mettre a jour il y a eu des modification depuis
Ca marche je ferais un rebase |
C'est bon. Y a juste une petite modif de code : j'ai retiré le isset($level) car il existe forcément dans le cas où on se trouve. Ca provoquait une erreur phpstan. |
Documentation PHPDoc de la classe cmd
Description
Cette PR standardise la documentation PHPDoc de la classe cmd (
cmd.class.php
).Aucun changement fonctionnel n'est effectué.
Merci de créer de commenter directement cette PR si vous constatez des erreurs ou avez des suggestions d'amélioration.
Points clés
Suggested changelog entry
Related issues/external references
https://github.com/jeedom/documentations/blob/89cf4578ad04b59abebe40217b6cfdf0dacc195e/fr_FR/dev/php/phpdoc.md
https://community.jeedom.com/t/aide-phpdoc-du-core/63287
Types of changes
PR checklist