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

Commit 2c92708

Browse files
committed
replace assert($x is Y) with $x as Y
1 parent 0198c51 commit 2c92708

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Writer.hack

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,9 @@ final class Writer {
129129

130130
$map = \array_map(
131131
($sub_map): mixed ==> {
132-
assert($sub_map is KeyedContainer<_, _>);
133132
return \array_map(
134133
$path ==> $this->relativePath($path as string),
135-
$sub_map,
134+
$sub_map as KeyedContainer<_, _>,
136135
);
137136
},
138137
$map,

0 commit comments

Comments
 (0)