Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
Signed-off-by: Witold Wasiczko <witold@wasiczko.pl>
  • Loading branch information
snapshotpl authored and weierophinney committed Apr 13, 2021
1 parent ab66430 commit 829b462
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/MessageTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -411,9 +411,11 @@ private function filterHeaderValue($values) : array
/**
* Ensure header name and values are valid.
*
* @param string $name
*
* @throws Exception\InvalidArgumentException
*/
private function assertHeader(string $name) : void
private function assertHeader($name) : void
{
HeaderSecurity::assertValidName($name);
}
Expand Down

0 comments on commit 829b462

Please # to comment.