Fix return-type issue #159
Annotations
10 errors and 1 warning
Run PHPStan:
src/tag/CompoundTag.php#L1
Ignored error pattern #^Method pocketmine\\nbt\\tag\\CompoundTag\:\:getByteArray\(\) should return string but returns mixed\.$# in path /home/runner/work/NBT/NBT/src/tag/CompoundTag.php was not matched in reported errors.
|
Run PHPStan:
src/tag/CompoundTag.php#L1
Ignored error pattern #^Method pocketmine\\nbt\\tag\\CompoundTag\:\:getByte\(\) should return int but returns mixed\.$# in path /home/runner/work/NBT/NBT/src/tag/CompoundTag.php was not matched in reported errors.
|
Run PHPStan:
src/tag/CompoundTag.php#L1
Ignored error pattern #^Method pocketmine\\nbt\\tag\\CompoundTag\:\:getDouble\(\) should return float but returns mixed\.$# in path /home/runner/work/NBT/NBT/src/tag/CompoundTag.php was not matched in reported errors.
|
Run PHPStan:
src/tag/CompoundTag.php#L1
Ignored error pattern #^Method pocketmine\\nbt\\tag\\CompoundTag\:\:getFloat\(\) should return float but returns mixed\.$# in path /home/runner/work/NBT/NBT/src/tag/CompoundTag.php was not matched in reported errors.
|
Run PHPStan:
src/tag/CompoundTag.php#L1
Ignored error pattern #^Method pocketmine\\nbt\\tag\\CompoundTag\:\:getIntArray\(\) should return array\<int\> but returns mixed\.$# in path /home/runner/work/NBT/NBT/src/tag/CompoundTag.php was not matched in reported errors.
|
Run PHPStan:
src/tag/CompoundTag.php#L1
Ignored error pattern #^Method pocketmine\\nbt\\tag\\CompoundTag\:\:getInt\(\) should return int but returns mixed\.$# in path /home/runner/work/NBT/NBT/src/tag/CompoundTag.php was not matched in reported errors.
|
Run PHPStan:
src/tag/CompoundTag.php#L1
Ignored error pattern #^Method pocketmine\\nbt\\tag\\CompoundTag\:\:getLong\(\) should return int but returns mixed\.$# in path /home/runner/work/NBT/NBT/src/tag/CompoundTag.php was not matched in reported errors.
|
Run PHPStan:
src/tag/CompoundTag.php#L1
Ignored error pattern #^Method pocketmine\\nbt\\tag\\CompoundTag\:\:getShort\(\) should return int but returns mixed\.$# in path /home/runner/work/NBT/NBT/src/tag/CompoundTag.php was not matched in reported errors.
|
Run PHPStan:
src/tag/CompoundTag.php#L1
Ignored error pattern #^Method pocketmine\\nbt\\tag\\CompoundTag\:\:getString\(\) should return string but returns mixed\.$# in path /home/runner/work/NBT/NBT/src/tag/CompoundTag.php was not matched in reported errors.
|
Run PHPStan:
src/tag/CompoundTag.php#L167
Method pocketmine\nbt\tag\CompoundTag::getByte() should return int|null but returns mixed.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, shivammathur/[email protected], actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The logs for this run have expired and are no longer available.
Loading