Issue Task Closed

#90204Use a reference variable to pass $this into hooks

Alexander Schnitzler 01/25/20, 17:56 updated 02/27/20, 12:43

Description

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.

Reviews 1