Skip to content

Commit 815974a

Browse files
committed
Upgrades dependencies
1 parent 23ff3d2 commit 815974a

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
"php": "^7.3|^8.0"
2222
},
2323
"require-dev": {
24-
"pestphp/pest": "^1.18",
25-
"phpstan/phpstan": "^0.12.98",
26-
"symfony/var-dumper": "^5.3"
24+
"pestphp/pest": "^1.21.3",
25+
"phpstan/phpstan": "^1.8.2",
26+
"symfony/var-dumper": "^5.4.11"
2727
},
2828
"autoload": {
2929
"psr-4": {

src/Serializers/Signed.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ public function __unserialize($signature)
8383
throw new InvalidSignatureException();
8484
}
8585

86-
$this->closure = unserialize($signature['serializable'])->getClosure();
86+
/** @var \Laravel\SerializableClosure\Contracts\Serializable $serializable */
87+
$serializable = unserialize($signature['serializable']);
88+
89+
$this->closure = $serializable->getClosure();
8790
}
8891
}

0 commit comments

Comments
 (0)