Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.4.1
-
-
MOODLE_34_STABLE
-
MOODLE_35_STABLE
Description
IMHO the following type-hint should be valid:
/** @var classname $variable */
foreach ($somearray as $variable)
but it gives error: Inline doc block type-hinting for '$variable'
Attachments
Issue Links
- has a non-specific relationship to
-
CONTRIB-6105 Extend allowed type hinting of vars to list() assignments
-
- Closed
-