diff --git a/src/EncodedImage.php b/src/EncodedImage.php index 330fc590..4ad71b88 100644 --- a/src/EncodedImage.php +++ b/src/EncodedImage.php @@ -2,7 +2,9 @@ namespace Intervention\Image; -class EncodedImage extends GenericData +use Intervention\Image\Interfaces\EncodedImageInterface; + +class EncodedImage extends GenericData implements EncodedImageInterface { /** * Create new instance diff --git a/src/GenericData.php b/src/GenericData.php index e16e3d28..4aca16f6 100644 --- a/src/GenericData.php +++ b/src/GenericData.php @@ -3,8 +3,9 @@ namespace Intervention\Image; use Intervention\Image\Exceptions\NotWritableException; +use Intervention\Image\Interfaces\GenericDataInterface; -class GenericData +class GenericData implements GenericDataInterface { /** * Create new instance diff --git a/src/Interfaces/EncodedImageInterface.php b/src/Interfaces/EncodedImageInterface.php new file mode 100644 index 00000000..0b9a3d1e --- /dev/null +++ b/src/Interfaces/EncodedImageInterface.php @@ -0,0 +1,20 @@ +