diff --git a/src/Util/ClassNameDetails.php b/src/Util/ClassNameDetails.php index b7fd6c1b1..5a8df289b 100644 --- a/src/Util/ClassNameDetails.php +++ b/src/Util/ClassNameDetails.php @@ -54,6 +54,6 @@ public function getRelativeName(): string public function getRelativeNameWithoutSuffix(): string { - return str::removeSuffix($this->getRelativeName(), $this->suffix); + return Str::removeSuffix($this->getRelativeName(), $this->suffix); } }