phpstan/phpstan-beberlei-assert

Should isJsonString() implicitly make type string?

simPod opened this issue · 2 comments

When using isJsonString. should the value type be changed to string? Can send PR if so.

Eg.

fcn(?string $value) : string {
    Assertion::isJsonString($value);
    return $value;
}

Yes, would be nice, thank you.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.