Skip to content
Snippets Groups Projects
Commit 8e787fbf authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Add type annotation

parent 09facbd7
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,8 @@ class UnserializableException extends Exception
$this->class = get_class($original);
$msg = $original->getMessage();
/** @var string|int $code */
$code = $original->getCode();
if (!is_int($code)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment