Making PHPStan happy
Publish PHP Package / docker (push) Successful in 6s Details

This commit is contained in:
Pavel Shevaev 2025-05-13 16:17:50 +03:00
parent 5d5af1ac09
commit 6a63c0ddc7
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ class JSM
private function _extractDefNameAndArgs(string $full_name) : array private function _extractDefNameAndArgs(string $full_name) : array
{ {
$pos = strpos($full_name, '('); $pos = strpos($full_name, '(');
if($pos == -1) if($pos === false)
throw new Exception("Bad args string: $full_name"); throw new Exception("Bad args string: $full_name");
$name = substr($full_name, 0, $pos); $name = substr($full_name, 0, $pos);