From 2af30a8931c4972425c4cc74626d0ed56a6e047a Mon Sep 17 00:00:00 2001 From: Jeff Harris Date: Sun, 27 May 2018 19:05:42 -0700 Subject: [PATCH] Corrected order of Str::startsWith call in Classify. --- src/Support/Classify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }