File tree 1 file changed +3
-3
lines changed
src/Symfony/Component/VarExporter/Tests 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ public function __construct(array $array)
313
313
parent ::__construct ($ array , 1 );
314
314
}
315
315
316
- public function setFlags ($ flags )
316
+ public function setFlags ($ flags ): void
317
317
{
318
318
throw new \BadMethodCallException ('Calling MyArrayObject::setFlags() is forbidden ' );
319
319
}
@@ -341,12 +341,12 @@ public function __construct(bool $throw = true)
341
341
342
342
final class FinalArrayIterator extends \ArrayIterator
343
343
{
344
- public function serialize ()
344
+ public function serialize (): string
345
345
{
346
346
return serialize ([123 , parent ::serialize ()]);
347
347
}
348
348
349
- public function unserialize ($ data )
349
+ public function unserialize ($ data ): void
350
350
{
351
351
if ('' === $ data ) {
352
352
throw new \InvalidArgumentException ('Serialized data is empty. ' );
You can’t perform that action at this time.
0 commit comments