For the following code:
class Bar
{
public function doBar(string $s)
{
Assert::that($s)->numeric();
}
}
We're always getting the error:
# Call to method Assert\AssertionChain::numeric() will always evaluate to true.
I don't believe this is quite right, since we might have non-numeric strings, correct? Or are we doing something wrong?