Skip to content

Commit 9dc54e0

Browse files
committed
Remove throws tag for phpstan
1 parent 70165d4 commit 9dc54e0

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

yii2-adapter/legacy/helpers/Localization.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
use Craft;
1111
use CraftCms\Cms\Support\Facades\I18N;
1212
use CraftCms\Cms\Translation\Locale;
13-
use yii\base\InvalidArgumentException;
1413
use yii\i18n\MissingTranslationEvent;
1514

1615
/**
@@ -32,7 +31,6 @@ class Localization
3231
*
3332
* @param string $language
3433
* @return string
35-
* @throws InvalidArgumentException if $language is invalid.
3634
*/
3735
public static function normalizeLanguage(string $language): string
3836
{

0 commit comments

Comments
 (0)