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
{{ message }}
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.
->toHaveType() takes magic strings like numeric. This can not be supported as a reified generic, so it is not a replacement perse. This would subsume ->toBeInstanceOf(), but again, it is not meant as a replacement. instanceof is a relic from PHP so having a function with a less legacy sounding name for new tests can't be a bad thing.
Ergonomics, return T when done, for local refinement in the test.
The text was updated successfully, but these errors were encountered:
->toHaveType()
takes magic strings like numeric. This can not be supported as a reified generic, so it is not a replacement perse. This would subsume->toBeInstanceOf()
, but again, it is not meant as a replacement.instanceof
is a relic from PHP so having a function with a less legacy sounding name for new tests can't be a bad thing.Ergonomics, return T when done, for local refinement in the test.
The text was updated successfully, but these errors were encountered: