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
This also has the added benefit of making the Parameters class and subsequently Zend\Http\PhpEnvironment\Request more compatible with earlier versions of PHP.
Just to make the class more concrete and reference the same constants (even though they contain the same variable for now).
In the constructor you are using ArrayObject::ARRAY_AS_PROPS, whilst the class itself is extending the PHP Native ArrayObject:
Whilst this seems fine at the moment, if there is a future PHP change this could lead to a breakage.
I would propose line 29:
be changed to:
This also has the added benefit of making the Parameters class and subsequently Zend\Http\PhpEnvironment\Request more compatible with earlier versions of PHP.
Originally posted by @madrussa at zendframework/zend-stdlib#43
The text was updated successfully, but these errors were encountered: