@@ -1303,25 +1303,25 @@ public function getDeclarationName($stackPtr)
1303
1303
*
1304
1304
* <code>
1305
1305
* 0 => array(
1306
- * 'name' => '$var', // The variable name.
1307
- * 'token' => integer, // The stack pointer to the variable name.
1308
- * 'content' => string, // The full content of the variable definition.
1309
- * 'has_attributes' => boolean, // Does the parameter have one or more attributes attached ?
1310
- * 'pass_by_reference' => boolean, // Is the variable passed by reference?
1311
- * 'reference_token' => integer, // The stack pointer to the reference operator
1312
- * // or FALSE if the param is not passed by reference.
1313
- * 'variable_length' => boolean, // Is the param of variable length through use of `...` ?
1314
- * 'variadic_token' => integer, // The stack pointer to the ... operator
1315
- * // or FALSE if the param is not variable length.
1316
- * 'type_hint' => string, // The type hint for the variable.
1317
- * 'type_hint_token' => integer, // The stack pointer to the start of the type hint
1318
- * // or FALSE if there is no type hint.
1319
- * 'type_hint_end_token' => integer, // The stack pointer to the end of the type hint
1320
- * // or FALSE if there is no type hint.
1321
- * 'nullable_type' => boolean, // TRUE if the type is preceded by the nullability
1322
- * // operator.
1323
- * 'comma_token' => integer, // The stack pointer to the comma after the param
1324
- * // or FALSE if this is the last param.
1306
+ * 'name' => string, // The variable name.
1307
+ * 'token' => integer, // The stack pointer to the variable name.
1308
+ * 'content' => string, // The full content of the variable definition.
1309
+ * 'has_attributes' => boolean, // Does the parameter have one or more attributes attached ?
1310
+ * 'pass_by_reference' => boolean, // Is the variable passed by reference?
1311
+ * 'reference_token' => integer|false , // The stack pointer to the reference operator
1312
+ * // or FALSE if the param is not passed by reference.
1313
+ * 'variable_length' => boolean, // Is the param of variable length through use of `...` ?
1314
+ * 'variadic_token' => integer|false , // The stack pointer to the ... operator
1315
+ * // or FALSE if the param is not variable length.
1316
+ * 'type_hint' => string, // The type hint for the variable.
1317
+ * 'type_hint_token' => integer|false , // The stack pointer to the start of the type hint
1318
+ * // or FALSE if there is no type hint.
1319
+ * 'type_hint_end_token' => integer|false , // The stack pointer to the end of the type hint
1320
+ * // or FALSE if there is no type hint.
1321
+ * 'nullable_type' => boolean, // TRUE if the type is preceded by the nullability
1322
+ * // operator.
1323
+ * 'comma_token' => integer|false , // The stack pointer to the comma after the param
1324
+ * // or FALSE if this is the last param.
1325
1325
* )
1326
1326
* </code>
1327
1327
*
@@ -1614,19 +1614,19 @@ public function getMethodParameters($stackPtr)
1614
1614
* The format of the return value is:
1615
1615
* <code>
1616
1616
* array(
1617
- * 'scope' => 'public', // Public, private, or protected
1618
- * 'scope_specified' => true, // TRUE if the scope keyword was found.
1619
- * 'return_type' => '', // The return type of the method.
1620
- * 'return_type_token' => integer, // The stack pointer to the start of the return type
1621
- * // or FALSE if there is no return type.
1622
- * 'return_type_end_token' => integer, // The stack pointer to the end of the return type
1623
- * // or FALSE if there is no return type.
1624
- * 'nullable_return_type' => false, // TRUE if the return type is preceded by the
1625
- * // nullability operator.
1626
- * 'is_abstract' => false, // TRUE if the abstract keyword was found.
1627
- * 'is_final' => false, // TRUE if the final keyword was found.
1628
- * 'is_static' => false, // TRUE if the static keyword was found.
1629
- * 'has_body' => false, // TRUE if the method has a body
1617
+ * 'scope' => string, // Public, private, or protected
1618
+ * 'scope_specified' => boolean, // TRUE if the scope keyword was found.
1619
+ * 'return_type' => string, // The return type of the method.
1620
+ * 'return_type_token' => integer|false, // The stack pointer to the start of the return type
1621
+ * // or FALSE if there is no return type.
1622
+ * 'return_type_end_token' => integer|false, // The stack pointer to the end of the return type
1623
+ * // or FALSE if there is no return type.
1624
+ * 'nullable_return_type' => boolean, // TRUE if the return type is preceded by the
1625
+ * // nullability operator.
1626
+ * 'is_abstract' => boolean, // TRUE if the abstract keyword was found.
1627
+ * 'is_final' => boolean, // TRUE if the final keyword was found.
1628
+ * 'is_static' => boolean, // TRUE if the static keyword was found.
1629
+ * 'has_body' => boolean, // TRUE if the method has a body
1630
1630
* );
1631
1631
* </code>
1632
1632
*
@@ -1789,17 +1789,17 @@ public function getMethodProperties($stackPtr)
1789
1789
*
1790
1790
* <code>
1791
1791
* array(
1792
- * 'scope' => string, // Public, private, or protected.
1793
- * 'scope_specified' => boolean, // TRUE if the scope was explicitly specified.
1794
- * 'is_static' => boolean, // TRUE if the static keyword was found.
1795
- * 'is_readonly' => boolean, // TRUE if the readonly keyword was found.
1796
- * 'type' => string, // The type of the var (empty if no type specified).
1797
- * 'type_token' => integer, // The stack pointer to the start of the type
1798
- * // or FALSE if there is no type.
1799
- * 'type_end_token' => integer, // The stack pointer to the end of the type
1800
- * // or FALSE if there is no type.
1801
- * 'nullable_type' => boolean, // TRUE if the type is preceded by the nullability
1802
- * // operator.
1792
+ * 'scope' => string, // Public, private, or protected.
1793
+ * 'scope_specified' => boolean, // TRUE if the scope was explicitly specified.
1794
+ * 'is_static' => boolean, // TRUE if the static keyword was found.
1795
+ * 'is_readonly' => boolean, // TRUE if the readonly keyword was found.
1796
+ * 'type' => string, // The type of the var (empty if no type specified).
1797
+ * 'type_token' => integer|false , // The stack pointer to the start of the type
1798
+ * // or FALSE if there is no type.
1799
+ * 'type_end_token' => integer|false , // The stack pointer to the end of the type
1800
+ * // or FALSE if there is no type.
1801
+ * 'nullable_type' => boolean, // TRUE if the type is preceded by the nullability
1802
+ * // operator.
1803
1803
* );
1804
1804
* </code>
1805
1805
*
@@ -1977,9 +1977,9 @@ public function getMemberProperties($stackPtr)
1977
1977
* The format of the return value is:
1978
1978
* <code>
1979
1979
* array(
1980
- * 'is_abstract' => false , // true if the abstract keyword was found.
1981
- * 'is_final' => false , // true if the final keyword was found.
1982
- * 'is_readonly' => false , // true if the readonly keyword was found.
1980
+ * 'is_abstract' => boolean , // TRUE if the abstract keyword was found.
1981
+ * 'is_final' => boolean , // TRUE if the final keyword was found.
1982
+ * 'is_readonly' => boolean , // TRUE if the readonly keyword was found.
1983
1983
* );
1984
1984
* </code>
1985
1985
*
0 commit comments