8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 13b742e + 6d0e144 commit bc1b5beCopy full SHA for bc1b5be
src/Symfony/Component/VarExporter/Tests/VarExporterTest.php
@@ -313,7 +313,7 @@ public function __construct(array $array)
313
parent::__construct($array, 1);
314
}
315
316
- public function setFlags($flags)
+ public function setFlags($flags): void
317
{
318
throw new \BadMethodCallException('Calling MyArrayObject::setFlags() is forbidden');
319
@@ -346,7 +346,7 @@ public function serialize(): string
346
return serialize([123, parent::serialize()]);
347
348
349
- public function unserialize($data)
+ public function unserialize($data): void
350
351
if ('' === $data) {
352
throw new \InvalidArgumentException('Serialized data is empty.');
0 commit comments