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.
1 parent f411f24 commit a0536faCopy full SHA for a0536fa
1 file changed
src/Utils/Image.php
@@ -519,6 +519,7 @@ public function __toString(): string
519
throw $e;
520
}
521
trigger_error('Exception in ' . __METHOD__ . "(): {$e->getMessage()} in {$e->getFile()}:{$e->getLine()}", E_USER_ERROR);
522
+ return '';
523
524
525
@@ -614,7 +615,7 @@ public function __clone()
614
615
/**
616
* Prevents serialization.
617
*/
- public function __sleep()
618
+ public function __sleep(): array
619
{
620
throw new Nette\NotSupportedException('You cannot serialize or unserialize ' . self::class . ' instances.');
621
0 commit comments