@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | public static function prefixSessionData() |
32 | 32 | { |
33 | - return function () { |
|
33 | + return function() { |
|
34 | 34 | $request = Craft::$app->getRequest(); |
35 | 35 | $ip = $request instanceof Request ? $request->getUserIP() : '-'; |
36 | 36 |
@@ -43,11 +43,11 @@ |
||
43 | 43 | public function find($identifier, string $toScenario = null) |
44 | 44 | { |
45 | 45 | |
46 | - if($model = parent::find($identifier, $toScenario)) { |
|
46 | + if ($model = parent::find($identifier, $toScenario)) { |
|
47 | 47 | return $model; |
48 | 48 | } |
49 | 49 | |
50 | - if(!is_string($identifier)) { |
|
50 | + if (!is_string($identifier)) { |
|
51 | 51 | return null; |
52 | 52 | } |
53 | 53 |