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

Commit 6b63710

Browse files
committed
be friendly with 3.30
1 parent 649b8b3 commit 6b63710

File tree

6 files changed

+37
-38
lines changed

6 files changed

+37
-38
lines changed

.hhconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ disallow_non_arraykey_keys=true
55
disallow_unsafe_comparisons=true
66
decl_override_require_hint=true
77
enable_experimental_tc_features=shape_field_check,sealed_classes
8-
forward_compatibility_level=3.29
98
user_attributes=
109
disable_primitive_refinement=true
1110
disallow_stringish_magic=true

composer.lock

Lines changed: 33 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/dorm/codegen.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?hh // strict
1+
<?hh
22
/*
33
* Copyright (c) 2015-present, Facebook, Inc.
44
* All rights reserved.

examples/dorm/demo/demo_usage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?hh // strict
1+
<?hh
22
/*
33
* Copyright (c) 2015-present, Facebook, Inc.
44
* All rights reserved.

src/CodegenClass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ final public function addDeclComment(string $comment): this {
107107
* it will be inferred from the constructor if set.
108108
*/
109109
public function addConstructorWrapperFunc(
110-
?Traversable<string> $params = null,
110+
?Container<string> $params = null,
111111
): this {
112112
// Check if parameters are specified explicitly
113113
$param_full = null;

src/IHackCodegenConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
namespace Facebook\HackCodegen;
1212

1313
interface IHackCodegenConfig {
14-
public function getFileHeader(): ?Traversable<string>;
14+
public function getFileHeader(): ?Container<string>;
1515

1616
public function getSpacesPerIndentation(): int;
1717
public function getMaxLineLength(): int;

0 commit comments

Comments
 (0)