From 3b8967a70226a367f0314504c0675c8c051861e6 Mon Sep 17 00:00:00 2001 From: Steeve Andrian Salim Date: Sun, 7 Oct 2018 21:05:40 +0700 Subject: [PATCH] change parameter string format --- src/Info/SplClassInfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } // ------------------------------------------------------------------------