Lint
This commit is contained in:
parent
d38b1cd9aa
commit
8d15fbdda2
9 changed files with 25 additions and 21 deletions
|
@ -34,7 +34,7 @@ class Locale
|
|||
*
|
||||
* @param string $locale ISO 15897 code
|
||||
*/
|
||||
public function __construct($locale)
|
||||
public function __construct(string $locale)
|
||||
{
|
||||
$parse = AcceptLanguage::parse($locale);
|
||||
$this->language = $parse[1]['language'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue