mirror of
https://github.com/filp/whoops.git
synced 2026-09-14 11:46:19 +00:00
Remove return type annotations to support PHP 5
This commit is contained in:
@@ -178,12 +178,12 @@ class FrameCollection implements ArrayAccess, IteratorAggregate, Serializable, C
|
||||
$this->frames = unserialize($serializedFrames);
|
||||
}
|
||||
|
||||
public function __serialize(): array
|
||||
public function __serialize()
|
||||
{
|
||||
return $this->frames;
|
||||
}
|
||||
|
||||
public function __unserialize(array $serializedFrames): void
|
||||
public function __unserialize(array $serializedFrames)
|
||||
{
|
||||
$this->frames = $serializedFrames;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user