diff --git a/src/Unleash.php b/src/Unleash.php index 3701775..d4ca2f6 100644 --- a/src/Unleash.php +++ b/src/Unleash.php @@ -92,7 +92,7 @@ public function isFeatureEnabled(string $name, ...$args): bool } if (!$strategy instanceof Strategy && !$strategy instanceof DynamicStrategy) { - throw new \Exception("${$className} does not implement base Strategy/DynamicStrategy."); + throw new \Exception($className . ' does not implement base Strategy/DynamicStrategy.'); } $params = Arr::get($strategyData, 'parameters', []);