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

Commit

Permalink
non-autofixable lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
fredemmott committed Apr 8, 2020
1 parent 4554a0f commit de0c6e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/Codegen.hack
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ final class Codegen {
string $source_root,
self::TCodegenConfig $config,
): Codegen {
// leaving for now as it's a public API
/* HHAST_IGNORE_ERROR[DontUseAsioJoin] fix before final release */
return
new self(\HH\Asio\join(TreeParser::fromPathAsync($source_root)), $config);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ final class GetRequestExampleControllerParameters
public function get(): self::TParameters {
$p = $this->getParameters();
return shape(
"MyString" => $p->getString('MyString'),
"MyInt" => $p->getInt('MyInt'),
"MyEnum" => $p->getEnum(\Facebook\HackRouter\CodeGen\Tests\MyEnum::class, 'MyEnum'),
"MyOptionalParam" => $p->getOptionalString('MyOptionalParam'),
'MyString' => $p->getString('MyString'),
'MyInt' => $p->getInt('MyInt'),
'MyEnum' => $p->getEnum(\Facebook\HackRouter\CodeGen\Tests\MyEnum::class, 'MyEnum'),
'MyOptionalParam' => $p->getOptionalString('MyOptionalParam'),
);
}
}
Expand Down

0 comments on commit de0c6e8

Please sign in to comment.