From d25ed56700a7821b50ab5b153ea9617defe1cbb7 Mon Sep 17 00:00:00 2001 From: bogdanstoik Date: Thu, 26 Jul 2018 17:39:42 +0300 Subject: [PATCH] Fix setting of default implementation --- src/ImageHash.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ImageHash.php b/src/ImageHash.php index 6f6c355..a32d4fa 100644 --- a/src/ImageHash.php +++ b/src/ImageHash.php @@ -25,7 +25,7 @@ public function __construct( Implementation $implementation = null, ImageManager $driver = null ) { - $this->implementation = $implementation ?: $this->defaultDriver(); + $this->implementation = $implementation ?: $this->defaultImplementation(); $this->driver = $driver ?: $this->defaultDriver(); }