spout
spout copied to clipboard
Fix incompatible return types for PHP 8.1
Some return types have already been added here https://github.com/box/spout/commit/e75f6f73012b81fd5fee6107d0af9e86c458448e to get rid of the deprecated warnings in PHP 8.1. This PR should fix the remaining ones.
Fixes https://github.com/box/spout/issues/846
This is a BC break; but has already been fixed in openspout/openspout:v3.7.1 by adding #[\ReturnTypeWillChange]