mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-01-17 15:18:17 +01:00
Update default of ClassMethod::$flags in docs
This defaults to 0, not Modifiers::PUBLIC.
This commit is contained in:
parent
f5b56a5c4c
commit
2b562b72a8
@ -47,7 +47,7 @@ class ClassMethod extends Node\Stmt implements FunctionLike {
|
||||
*
|
||||
* @param string|Node\Identifier $name Name
|
||||
* @param array $subNodes Array of the following optional subnodes:
|
||||
* 'flags => MODIFIER_PUBLIC: Flags
|
||||
* 'flags => 0 : Flags
|
||||
* 'byRef' => false : Whether to return by reference
|
||||
* 'params' => array() : Parameters
|
||||
* 'returnType' => null : Return type
|
||||
|
Loading…
x
Reference in New Issue
Block a user