Skip to content

Commit 8d5d5db

Browse files
committed
:octocat: fix for snake_case function names
1 parent 8f5b406 commit 8d5d5db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/qroptions-doc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
}
7272
// php.net documentation
7373
elseif(str_starts_with($line, '\\') && !str_contains($line, 'chillerlan')){
74-
$path = str_replace(['\\', '::', '()'], ['', '.', ''], strtolower($line));
74+
$path = str_replace(['\\', '::', '()', '_'], ['', '.', '', '-'], strtolower($line));
7575

7676
if(!str_contains($line, '::')){
7777
$path = 'function.'.$path;

0 commit comments

Comments
 (0)