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

Commit

Permalink
fix lint issues in codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
fredemmott committed Apr 8, 2020
1 parent de0c6e8 commit 7136b0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/RequestParametersCodegenBuilder.hack
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ final class RequestParametersCodegenBuilder<T as RequestParametersBase>
$param_shape[] = new CodegenShapeMember($param_spec->getName(), $type);
$body
->ensureNewLine()
->addf('"%s" => ', $param_spec->getName())
->addf("'%s' => ", $param_spec->getName())
->addMultilineCall(
\sprintf(
'$p->get%s%s',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* To re-generate this file run vendor/hhvm/hacktest/bin/hacktest
*
*
* @generated SignedSource<<0e9bf7c34daf198ab5439077c13199b2>>
* @generated SignedSource<<4722d2f3b9d8e55cf57f34427b0d9e85>>
*/
namespace Facebook\HackRouter\CodeGen\Tests\Generated;

Expand Down

0 comments on commit 7136b0a

Please sign in to comment.