Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit 478d6a6

Browse files
lexidorjjergus
authored andcommitted
Remove a PHP closure (#10)
1 parent 072f905 commit 478d6a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codegen.hack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ final class Codegen {
227227
?? new RequestParameterCodegenBuilder($this->getHackCodegenConfig());
228228
$get_output = $config['output'];
229229
$getParameters = $config['getParameters'] ??
230-
function (classname<HasUriPattern> $class) {
230+
(classname<HasUriPattern> $class) ==> {
231231
return $class::getUriPattern()->getParameters()->map(
232232
$param ==> shape('spec' => $param, 'optional' => false),
233233
);

0 commit comments

Comments
 (0)