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

Commit 368bea4

Browse files
DavidSniderfacebook-github-bot
authored andcommitted
Codemod the HSL to have coeffects
Summary: `phps ConvertAttributesToCoeffectsCodemod` (but only on the HSL) Then deal with the TParam arity issues. Either remove the explicit list if they add nothing or add a `_` to them Reviewed By: rodmk Differential Revision: D25806372 fbshipit-source-id: 7d1cf0cb6ec0ab4c95e67bb1f2a54aea49bf5293
1 parent ffb5aec commit 368bea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/os/ErrnoException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ final public function getErrno(): Errno{
7070
* stays happy.
7171
*/
7272
<<__Deprecated("Use `getErrno()` instead", 0), __Pure, __MaybeMutable>>
73-
final public function getCode(): Errno {
73+
final public function getCode()[]: Errno {
7474
return $this->errno;
7575
}
7676
}

0 commit comments

Comments
 (0)