Skip to content

Commit 6c415f7

Browse files
committed
Optimize call
We can just lowercase the result instead of doing each part before
1 parent 7c6fe5e commit 6c415f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/gen_stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,7 @@ public function getMethodSynopsisFilename(): string
11091109
{
11101110
$parts = [...$this->className->getParts(), ltrim($this->methodName, '_')];
11111111
/* File paths are in lowercase */
1112-
return implode('/', array_map('strtolower', $parts));
1112+
return strtolower(implode('/', $parts));
11131113
}
11141114

11151115
public function getNameForAttributes(): string {

0 commit comments

Comments
 (0)