spout icon indicating copy to clipboard operation
spout copied to clipboard

Fix incompatible return types for PHP 8.1

Open fabacino opened this issue 3 years ago • 1 comments

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

fabacino avatar Mar 15 '22 13:03 fabacino

This is a BC break; but has already been fixed in openspout/openspout:v3.7.1 by adding #[\ReturnTypeWillChange]

Slamdunk avatar Mar 15 '22 13:03 Slamdunk