From 411ae346fd98c29e9d27c93d68ce775ad1f8a0ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 6 Jul 2019 14:00:24 +0300 Subject: [PATCH] src/Protocol/SmtpPluginManager: cosmetic: use $this->instanceOf instead of hardcoding Smtp::class again --- src/Protocol/SmtpPluginManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Protocol/SmtpPluginManager.php b/src/Protocol/SmtpPluginManager.php index 55839f05..9d07ceff 100644 --- a/src/Protocol/SmtpPluginManager.php +++ b/src/Protocol/SmtpPluginManager.php @@ -75,7 +75,7 @@ public function validate($plugin) throw new InvalidServiceException(sprintf( 'Plugin of type %s is invalid; must extend %s', (is_object($plugin) ? get_class($plugin) : gettype($plugin)), - Smtp::class + $this->instanceOf )); } }