diff --git a/src/Support/Classify.php b/src/Support/Classify.php index 16bdbafa..1533d6ba 100644 --- a/src/Support/Classify.php +++ b/src/Support/Classify.php @@ -73,7 +73,7 @@ public function method($name, $body, $options = []) public function mixin($class) { - if (Str::startsWith('\\', $class)) { + if (Str::startsWith($class, '\\')) { $class = Str::replaceFirst('\\', '', $class); }