Skip to content

@return phpdoc not parsed in some cases starting with phpstan v1.3 #6253

@mvorisek

Description

@mvorisek

Bug report

https://github.com/atk4/core/runs/4665738136?check_suite_focus=true

phpdoc is present, before phpstan v1.3, there were no errors

  ------ --------------------------------------------------------------------- 
  Line   src/AppScopeTrait.php (in context of anonymous class)                
 ------ --------------------------------------------------------------------- 
  78     Method class@anonymous/src/CollectionTrait.php:146::getApp() has no  
         return type specified.                                               
 ------ --------------------------------------------------------------------- 

https://github.com/atk4/core/blob/3.1.0/src/AppScopeTrait.php#L78

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions