diff --git a/Store/PdoStore.php b/Store/PdoStore.php index caef22c..1fb1670 100644 --- a/Store/PdoStore.php +++ b/Store/PdoStore.php @@ -307,7 +307,7 @@ private function getDriver(): string } else { switch ($this->driver = $con->getDriver()->getName()) { case 'mysqli': - throw new NotSupportedException(sprintf('The store "%s" does not support the mysqli driver, use pdo_mysql instead.', \get_class($this))); + throw new NotSupportedException(sprintf('The store "%s" does not support the mysqli driver, use pdo_mysql instead.', static::class)); case 'pdo_mysql': case 'drizzle_pdo_mysql': $this->driver = 'mysql';