@@ -13,8 +13,8 @@ |
||
13 | 13 | |
14 | 14 | namespace WebHemi\Middleware\Action\Admin; |
15 | 15 | |
16 | -use WebHemi\Environment\ServiceInterface as EnvironmentInterface; |
|
17 | 16 | use WebHemi\Auth\ServiceInterface as AuthInterface; |
17 | +use WebHemi\Environment\ServiceInterface as EnvironmentInterface; |
|
18 | 18 | use WebHemi\Middleware\Action\AbstractMiddlewareAction; |
19 | 19 | |
20 | 20 | /** |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | public static function mergeArrayOverwrite() |
71 | 71 | { |
72 | 72 | if (func_num_args() < 2) { |
73 | - throw new InvalidArgumentException(__CLASS__ . '::' . __METHOD__ . ' needs two or more array arguments'); |
|
73 | + throw new InvalidArgumentException(__CLASS__.'::'.__METHOD__.' needs two or more array arguments'); |
|
74 | 74 | } |
75 | 75 | $arrays = func_get_args(); |
76 | 76 | $merged = []; |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | while ($arrays) { |
79 | 79 | $array = array_shift($arrays); |
80 | 80 | if (!is_array($array)) { |
81 | - throw new InvalidArgumentException(__CLASS__ . '::' . __METHOD__ . ' encountered a non array argument'); |
|
81 | + throw new InvalidArgumentException(__CLASS__.'::'.__METHOD__.' encountered a non array argument'); |
|
82 | 82 | } |
83 | 83 | if (!$array) { |
84 | 84 | continue; |