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
[CLEANUP] Extract CSSFunction methods parseName and parseArguments
Also
- Update the `parse` function signature to use PHP7 type hints;
- Remove subsequently redundant DocBlock entries;
- Ditto for same-named method in subclasses to avoid contravariance.
Unfortunately, there seems to be a bug in PHP 7.3 (and 7.2) whereby it
doesn't recognize a specific class name as a more-specific type than
`object`, even though it does recognize it as more specific than an untyped
return value. Thus some more-specific type annotations have had to be
downgraded.
This is the refactoring change from #390.
0 commit comments