Defiler0

Avatar
  • 活动总数 4
  • 最后的活动
  • 成员加入日期
  • 关注 0 名用户
  • 关注者数 0 名用户
  • 投票数 0
  • 订阅数 2
  • 创建于

    Suggestion for “Extract closure” refactoring

    We currently have “Extract method” refactoring, but sometimes I don't need the whole separate method. I'd like to have a closure instead, like when transforming code such as this:foreach ($collecti...
    • 2 个关注者
    • 1 条评论
    • 0 票
  • 创建于

    Type deduction for callbacks in array functions

    Some time ago PhpStorm started recognizing types for parameters in callbacks used with functions like array_filter. E.g. if I write something like: /** @var int[] $a */$a = [1, 2, 3, 4];$odds = arr...
    • 2 个关注者
    • 1 条评论
    • 1 票