Add some PHPDoc comments for ease of programming #87
Labels
No labels
Bug
Doc
Feature
Forge
Mode
Cluster
Mode
MultiPHP
Script
Server
Web
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: evolix/evoadmin-web#87
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "mtrossevin/evoadmin-web:doc-comments"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR fix some existing PHPDoc comments and add as many as possible. This is mostly for ease of programming by enabling IDEs to better detect problems with types.
There is exactly 1 change in the code itself, but it shouldn't change anything as the return of
is_superadmin()
is already treated exclusively as abool
and not anint
.There remains a few PHPDocs missing in
evolibs/Form.php
andlib/bdd.php
but it can be done later.WIP: Add some PHPDoc comments for ease of programmingto Add some PHPDoc comments for ease of programmingAdd some PHPDoc comments for ease of programmingto Add some PHPDoc comments for ease of programmingI am unsure on if there should be an entry added to
CHANGELOG.md
for this change (or where to put such an entry) as it isn't an user facing change nor a change in behaviour.Works for me 👍
Works 4 me. Let's merge that