chore(deps-dev): upgrade PHPStan

This commit is contained in:
Ben Ramsey
2025-05-25 16:52:53 -05:00
parent 691c2c816e
commit 76cbc566e2
57 changed files with 447 additions and 422 deletions
+4
View File
@@ -42,6 +42,9 @@ final class Integer implements NumberInterface
*/
private string $value;
/**
* @phpstan-ignore property.readOnlyByPhpDocDefaultValue
*/
private bool $isNegative = false;
public function __construct(float | int | string | self $value)
@@ -145,6 +148,7 @@ final class Integer implements NumberInterface
if ($sign === '-' && $value !== '0') {
$value = $sign . $value;
/** @phpstan-ignore property.readOnlyByPhpDocAssignNotInConstructor */
$this->isNegative = true;
}