Skip to content

Commit

Permalink
fix php72
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Nov 2, 2024
1 parent 8b84620 commit cc0aea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MysqliReflection/MysqliResultObjectType.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function getTypeWithoutSubtractedType(): Type
if ($withoutSubtracted instanceof GenericObjectType) {

Check failure on line 25 in src/MysqliReflection/MysqliResultObjectType.php

View workflow job for this annotation

GitHub Actions / PHPStan (reflection replay) (8.1, mysqli, replay)

Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.

Check failure on line 25 in src/MysqliReflection/MysqliResultObjectType.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, mysql:8.0, mysqli, recording)

Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.

Check failure on line 25 in src/MysqliReflection/MysqliResultObjectType.php

View workflow job for this annotation

GitHub Actions / PHPStan (reflection replay) (8.1, pdo-mysql, replay)

Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.

Check failure on line 25 in src/MysqliReflection/MysqliResultObjectType.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, mariadb:latest, mysqli, recording)

Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.

Check failure on line 25 in src/MysqliReflection/MysqliResultObjectType.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, mysql:8.0, mysqli, recording)

Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.

Check failure on line 25 in src/MysqliReflection/MysqliResultObjectType.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, mariadb:latest, mysqli, recording)

Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.

Check failure on line 25 in src/MysqliReflection/MysqliResultObjectType.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.2, mysql:8.0, mysqli, recording)

Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.

Check failure on line 25 in src/MysqliReflection/MysqliResultObjectType.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.2, mariadb:latest, mysqli, recording)

Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.

Check failure on line 25 in src/MysqliReflection/MysqliResultObjectType.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, mysql:8.0, pdo-mysql, recording, --health-cmd="mysqladmin ping" --health-interval=1...

Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.

Check failure on line 25 in src/MysqliReflection/MysqliResultObjectType.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, mysql:8.0, pdo-mysql, recording, --health-cmd="mysqladmin ping" --health-interval=1...

Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.

Check failure on line 25 in src/MysqliReflection/MysqliResultObjectType.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, mysql:8.0, mysqli, replay-and-recording, --health-cmd="mysqladmin ping" --health-in...

Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
return new self(
$withoutSubtracted->getTypes(),
$withoutSubtracted->getSubtractedType(),
$withoutSubtracted->getSubtractedType()
);
}
return $withoutSubtracted;
Expand Down

0 comments on commit cc0aea0

Please sign in to comment.