Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
RikudouSage committed Apr 22, 2021
1 parent bd1b0a1 commit 25e56b0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion createLists.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ function createPurposeClass()
];

$constantify = function (string $name) {
$originalName = $name;
$name = preg_replace_callback('@([A-Z]{2,})(?!$)@', function ($matches) {
return ucfirst(strtolower(substr($matches[1], 0, -1))) . substr($matches[1], -1);
}, $name);
Expand Down

0 comments on commit 25e56b0

Please sign in to comment.