Skip to content

Commit 4f4da3b

Browse files
committed
Fix typo in constant name
1 parent e28e9a6 commit 4f4da3b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/StatusCode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ final class StatusCode
2626
public const OK = 200;
2727
public const CREATED = 201;
2828
public const ACCEPTED = 202;
29-
public const NONAUTHORITATIVE_INFORMATION = 203;
29+
public const NON_AUTHORITATIVE_INFORMATION = 203;
3030
public const NO_CONTENT = 204;
3131
public const RESET_CONTENT = 205;
3232
public const PARTIAL_CONTENT = 206;

tests/Unit/StatusCodeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function statusCodesProvider(): array
3535
[200, StatusCode::OK],
3636
[201, StatusCode::CREATED],
3737
[202, StatusCode::ACCEPTED],
38-
[203, StatusCode::NONAUTHORITATIVE_INFORMATION],
38+
[203, StatusCode::NON_AUTHORITATIVE_INFORMATION],
3939
[204, StatusCode::NO_CONTENT],
4040
[205, StatusCode::RESET_CONTENT],
4141
[206, StatusCode::PARTIAL_CONTENT],

0 commit comments

Comments
 (0)