From fe04b6adca0a1734ba62be29e58123345ffb074d Mon Sep 17 00:00:00 2001 From: Axel Pardemann Date: Sun, 21 Feb 2021 00:50:52 -0600 Subject: [PATCH] Fix type-hint --- src/Rating.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Rating.php b/src/Rating.php index 5bb2025..cb51b99 100644 --- a/src/Rating.php +++ b/src/Rating.php @@ -40,7 +40,7 @@ class Rating extends Field * @param null|string $attribute * @param mixed|null $resolveCallback */ - public function __construct(string $name, $attribute = null, ?mixed $resolveCallback = null) + public function __construct(string $name, $attribute = null, callable $resolveCallback = null) { parent::__construct($name, $attribute, $resolveCallback);