@@ -1288,7 +1288,8 @@ public function getDeclarationName($stackPtr)
1288
1288
* // or FALSE if there is no type hint.
1289
1289
* 'type_hint_end_token' => integer, // The stack pointer to the end of the type hint
1290
1290
* // or FALSE if there is no type hint.
1291
- * 'nullable_type' => boolean, // TRUE if the var type is nullable.
1291
+ * 'nullable_type' => boolean, // TRUE if the type is preceded by the nullability
1292
+ * // operator.
1292
1293
* 'comma_token' => integer, // The stack pointer to the comma after the param
1293
1294
* // or FALSE if this is the last param.
1294
1295
* )
@@ -1536,7 +1537,8 @@ public function getMethodParameters($stackPtr)
1536
1537
* 'return_type' => '', // The return type of the method.
1537
1538
* 'return_type_token' => integer, // The stack pointer to the start of the return type
1538
1539
* // or FALSE if there is no return type.
1539
- * 'nullable_return_type' => false, // TRUE if the return type is nullable.
1540
+ * 'nullable_return_type' => false, // TRUE if the return type is preceded by the
1541
+ * // nullability operator.
1540
1542
* 'is_abstract' => false, // TRUE if the abstract keyword was found.
1541
1543
* 'is_final' => false, // TRUE if the final keyword was found.
1542
1544
* 'is_static' => false, // TRUE if the static keyword was found.
@@ -1706,7 +1708,8 @@ public function getMethodProperties($stackPtr)
1706
1708
* // or FALSE if there is no type.
1707
1709
* 'type_end_token' => integer, // The stack pointer to the end of the type
1708
1710
* // or FALSE if there is no type.
1709
- * 'nullable_type' => boolean, // TRUE if the type is nullable.
1711
+ * 'nullable_type' => boolean, // TRUE if the type is preceded by the nullability
1712
+ * // operator.
1710
1713
* );
1711
1714
* </code>
1712
1715
*
0 commit comments