You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering why you want to override the constant, since it's the DEFAULT_TIMEOUT and you can set your own timeout by using setTimeout from for example the constructor. What would be the use case of overriding the constant?
I just think it is more elegant and transparent than always overriding the constructor. This class is made to be inherited, so it should allow such things. Just my opinion.
This is used with self::DEFAULT_TIMEOUT and not with static::DEFAULT_TIMEOUT (late static binding), so it can't be overridden.
The text was updated successfully, but these errors were encountered: