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

Commit de0c6e8

Browse files
committed
non-autofixable lint errors
1 parent 4554a0f commit de0c6e8

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/Codegen.hack

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ final class Codegen {
9393
string $source_root,
9494
self::TCodegenConfig $config,
9595
): Codegen {
96+
// leaving for now as it's a public API
97+
/* HHAST_IGNORE_ERROR[DontUseAsioJoin] fix before final release */
9698
return
9799
new self(\HH\Asio\join(TreeParser::fromPathAsync($source_root)), $config);
98100
}

tests/examples/codegen/GetRequestExampleControllerParameters.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ final class GetRequestExampleControllerParameters
2222
public function get(): self::TParameters {
2323
$p = $this->getParameters();
2424
return shape(
25-
"MyString" => $p->getString('MyString'),
26-
"MyInt" => $p->getInt('MyInt'),
27-
"MyEnum" => $p->getEnum(\Facebook\HackRouter\CodeGen\Tests\MyEnum::class, 'MyEnum'),
28-
"MyOptionalParam" => $p->getOptionalString('MyOptionalParam'),
25+
'MyString' => $p->getString('MyString'),
26+
'MyInt' => $p->getInt('MyInt'),
27+
'MyEnum' => $p->getEnum(\Facebook\HackRouter\CodeGen\Tests\MyEnum::class, 'MyEnum'),
28+
'MyOptionalParam' => $p->getOptionalString('MyOptionalParam'),
2929
);
3030
}
3131
}

0 commit comments

Comments
 (0)