Having variables called $static and $this->static is confusing in a language like PHP where static is a keyword with a particular meaning (multiple, in fact).
I'm finding it's adding to mental load while reading the code.
Rename to $this->staticGenerator / $static_generator throughout.
Active
1.0
Code