Skip to content

Commit 81ee8b8

Browse files
authored
Merge pull request #6 from SyncEngine/main
Symfony 7 support
2 parents a72f3b8 + 7fa200b commit 81ee8b8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"require": {
2424
"php": ">=8.1",
2525
"phpoffice/phpspreadsheet": "^1.16",
26-
"symfony/serializer": "^6.0",
27-
"symfony/filesystem": "^6.0"
26+
"symfony/serializer": "^6.0|^7.0",
27+
"symfony/filesystem": "^6.0|^7.0"
2828
},
2929
"require-dev": {
3030
"symfony/test-pack": "^1.0"

src/ExcelEncoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public function supportsDecoding($format): bool
227227
* @throws RuntimeException When data reading failed
228228
* @throws PhpSpreadsheetException On data failure
229229
*/
230-
public function decode($data, $format, array $context = [])
230+
public function decode($data, $format, array $context = []): mixed
231231
{
232232
if (!\is_scalar($data)) {
233233
throw new NotEncodableValueException(sprintf('Expected data of type scalar, %s given', \gettype($data)));

0 commit comments

Comments
 (0)