Closed xscasnya closed 1 year ago
Hey @xscasnya thank you very much for pointing this out. I forgot that you aren't able to redeclare properties from traits when the class is not abstract - I will update the documentation accordingly. Again, many thanks!
In documentation when we are reading about the disabling of the "too many attempts" detection (429 code), the docs states that we are able to disable it like this:
However if done, this directly opposes to the php design principles for traits which states the following:
Source here.
This can be bypassed by setting the value of this in a constructor:
I'd suggest to change the documentation here. Also I think a better way to handle this would be to make the property
private
and create aprotected
getter which could be overriden in the child class (connectors / requests).