1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-25 14:50:48 +02:00

Fix type hinting

This commit is contained in:
Oliver Vogel
2022-05-22 11:37:56 +02:00
parent 35444b249e
commit f2a32bd349

View File

@@ -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;