@@ -1288,7 +1288,8 @@ public function getDeclarationName($stackPtr)
12881288 * // or FALSE if there is no type hint.
12891289 * 'type_hint_end_token' => integer, // The stack pointer to the end of the type hint
12901290 * // 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.
12921293 * 'comma_token' => integer, // The stack pointer to the comma after the param
12931294 * // or FALSE if this is the last param.
12941295 * )
@@ -1536,7 +1537,8 @@ public function getMethodParameters($stackPtr)
15361537 * 'return_type' => '', // The return type of the method.
15371538 * 'return_type_token' => integer, // The stack pointer to the start of the return type
15381539 * // 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.
15401542 * 'is_abstract' => false, // TRUE if the abstract keyword was found.
15411543 * 'is_final' => false, // TRUE if the final keyword was found.
15421544 * 'is_static' => false, // TRUE if the static keyword was found.
@@ -1706,7 +1708,8 @@ public function getMethodProperties($stackPtr)
17061708 * // or FALSE if there is no type.
17071709 * 'type_end_token' => integer, // The stack pointer to the end of the type
17081710 * // 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.
17101713 * );
17111714 * </code>
17121715 *
0 commit comments