@@ -55,13 +55,13 @@ |
||
55 | 55 | { |
56 | 56 | parent::init(); |
57 | 57 | if (empty ($this->accessId)) { |
58 | - throw new InvalidConfigException ('The "accessId" property must be set.'); |
|
58 | + throw new InvalidConfigException('The "accessId" property must be set.'); |
|
59 | 59 | } |
60 | 60 | if (empty ($this->accessKey)) { |
61 | - throw new InvalidConfigException ('The "accessKey" property must be set.'); |
|
61 | + throw new InvalidConfigException('The "accessKey" property must be set.'); |
|
62 | 62 | } |
63 | 63 | if (empty ($this->signName)) { |
64 | - throw new InvalidConfigException ('The "signName" property must be set.'); |
|
64 | + throw new InvalidConfigException('The "signName" property must be set.'); |
|
65 | 65 | } |
66 | 66 | } |
67 | 67 |
@@ -44,10 +44,10 @@ |
||
44 | 44 | { |
45 | 45 | parent::init(); |
46 | 46 | if (empty ($this->appId)) { |
47 | - throw new InvalidConfigException ('The "appId" property must be set.'); |
|
47 | + throw new InvalidConfigException('The "appId" property must be set.'); |
|
48 | 48 | } |
49 | 49 | if (empty ($this->appKey)) { |
50 | - throw new InvalidConfigException ('The "appKey" property must be set.'); |
|
50 | + throw new InvalidConfigException('The "appKey" property must be set.'); |
|
51 | 51 | } |
52 | 52 | } |
53 | 53 |
@@ -45,13 +45,13 @@ |
||
45 | 45 | { |
46 | 46 | parent::init(); |
47 | 47 | if (empty ($this->appId)) { |
48 | - throw new InvalidConfigException ('The "appId" property must be set.'); |
|
48 | + throw new InvalidConfigException('The "appId" property must be set.'); |
|
49 | 49 | } |
50 | 50 | if (empty ($this->accountSid)) { |
51 | - throw new InvalidConfigException ('The "accountSid" property must be set.'); |
|
51 | + throw new InvalidConfigException('The "accountSid" property must be set.'); |
|
52 | 52 | } |
53 | 53 | if (empty ($this->accountToken)) { |
54 | - throw new InvalidConfigException ('The "accountToken" property must be set.'); |
|
54 | + throw new InvalidConfigException('The "accountToken" property must be set.'); |
|
55 | 55 | } |
56 | 56 | } |
57 | 57 |
@@ -22,7 +22,7 @@ |
||
22 | 22 | */ |
23 | 23 | public function apply(array $gateways) |
24 | 24 | { |
25 | - uasort($gateways, function () { |
|
25 | + uasort($gateways, function() { |
|
26 | 26 | return mt_rand() - mt_rand(); |
27 | 27 | }); |
28 | 28 | return $gateways; |
@@ -116,7 +116,7 @@ |
||
116 | 116 | { |
117 | 117 | if ($this->hasModel()) { |
118 | 118 | $input = Html::activeTextInput($this->model, $this->attribute, $this->options); |
119 | - $this->mobileField = Html::getInputId($this->model,$this->mobileField); |
|
119 | + $this->mobileField = Html::getInputId($this->model, $this->mobileField); |
|
120 | 120 | } else { |
121 | 121 | $input = Html::textInput($this->name, $this->value, $this->options); |
122 | 122 | $this->mobileField = $this->name; |