Skip to content

Commit

Permalink
Note the need to add public methods to docblock.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterwilsoncc committed Feb 2, 2023
1 parent 1c4c2bf commit 1948031
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion includes/classes/DistributorPost.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
* repeating code to determine if `switch_to_blog()` is required.
*
* When adding new methods to this class, please ensure that the method is
* protected to ensure the magic method is used.
* protected to ensure the magic method is used. If the method is intended to
* be public, please add it to the `@method` docblock below to ensure it is
* shown in IDEs.
*
* @since x.x.x
*
Expand Down

0 comments on commit 1948031

Please sign in to comment.