From 2bd67ff165d5163746b32083a753820a80e5eb19 Mon Sep 17 00:00:00 2001 From: Kevin Reynolds Date: Mon, 11 May 2020 08:56:23 +1200 Subject: [PATCH] 'mixed' is not a primitive type, hence cannot be used as type-hints --- src/Vimeo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Vimeo.php b/src/Vimeo.php index d7c4aa2..f1f6d09 100644 --- a/src/Vimeo.php +++ b/src/Vimeo.php @@ -12,8 +12,8 @@ class Vimeo extends Field * @var string */ public $component = 'vimeo'; - - public function __construct(string $name, ?string $attribute = null, ?mixed $resolveCallback = null) + + public function __construct(string $name, ?string $attribute = null, ?callable $resolveCallback = null) { parent::__construct($name, $attribute, $resolveCallback); $this->withMeta([