1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-16 11:44:42 +02:00

A few minor phpdoc/code comments

This commit is contained in:
Ryan Cramer
2019-02-22 17:45:20 -05:00
parent c6410c6478
commit c80ae0acd8
3 changed files with 37 additions and 5 deletions

View File

@@ -138,11 +138,10 @@ class WireHooks {
*
* @param Wire $object
* @param string $method Optional method that hooks will be limited to. Or specify '*' to return all hooks everywhere.
* @param int $type Type of hooks to return: 0=all, 1=local only, 2=static only
* @param int $type Type of hooks to return, specify one of the following constants:
* - WireHooks::getHooksAll returns all hooks (default)
* - WireHooks::getHooksLocal returns local hooks only
* - WireHooks::getHooksStatic returns static hooks only
* - WireHooks::getHooksAll returns all hooks [0] (default)
* - WireHooks::getHooksLocal returns local hooks [1] only
* - WireHooks::getHooksStatic returns static hooks [2] only
* @return array
*
*/