diff --git a/src/Info/SplClassInfo.php b/src/Info/SplClassInfo.php index 94480db..d5339c0 100644 --- a/src/Info/SplClassInfo.php +++ b/src/Info/SplClassInfo.php @@ -74,7 +74,7 @@ public function getParameter() { $parts = explode('\\', $this->name); - return strtolower(end($parts)); + return dash(end($parts)); } // ------------------------------------------------------------------------