Defiler0

Avatar
  • Total activity 4
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 2
  • Created

    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 followers
    • 1 comment
    • 0 votes
  • Created

    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 followers
    • 1 comment
    • 0 votes