From f2a32bd349fdd949919f773a6dcb7e17ad6f5343 Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Sun, 22 May 2022 11:37:56 +0200 Subject: [PATCH] Fix type hinting --- src/Drivers/Abstract/AbstractFrame.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Drivers/Abstract/AbstractFrame.php b/src/Drivers/Abstract/AbstractFrame.php index 223a2072..8e89c3ef 100644 --- a/src/Drivers/Abstract/AbstractFrame.php +++ b/src/Drivers/Abstract/AbstractFrame.php @@ -2,7 +2,9 @@ namespace Intervention\Image\Drivers\Abstract; -abstract class AbstractFrame +use Intervention\Image\Interfaces\FrameInterface; + +abstract class AbstractFrame implements FrameInterface { /** * Set the frame core @@ -12,9 +14,9 @@ abstract class AbstractFrame * add more drivers. * * @param mixed $core - * @return AbstractFrame + * @return FrameInterface */ - public function setCore($core): self + public function setCore($core): FrameInterface { $this->core = $core;