Review main Merged

63036[TASK] Use a reference variable to pass $this into hooks

Alexander Schnitzler CR +2 V +2 Easy +20 −10 updated 02/14/20, 20:02

Commit message

Unfortunately phpstan looses the correct type of $this
as soon as $this is passed into a hooked as a hook method
parameter without a specific type. This leads to phpstan
losing the information about available methods and properties
of $this.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 6