Skip to content

Commit

Permalink
Remove typehint for php < 7
Browse files Browse the repository at this point in the history
  • Loading branch information
Herz3h committed Nov 3, 2020
1 parent 508435e commit f5ecb2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Httpstatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ public function getResponseClass($statusCode)
*
* @throws InvalidArgumentException If the language is unsupported
*/
public function setLanguage(string $language)
public function setLanguage($language)
{
$supportedLanguages = ['en', 'fr'];
if(!in_array($language, $supportedLanguages))
Expand Down

0 comments on commit f5ecb2d

Please sign in to comment.