@@ -123,7 +123,7 @@ |
||
123 | 123 | /** |
124 | 124 | * Get current extension active record |
125 | 125 | * @param string|null $type |
126 | - * @return mixed |
|
126 | + * @return AppRecord |
|
127 | 127 | */ |
128 | 128 | public function getTypeItem($type = null) |
129 | 129 | { |
@@ -139,7 +139,7 @@ |
||
139 | 139 | */ |
140 | 140 | public function getConfigs() |
141 | 141 | { |
142 | - return $this->type === 'widget' ? (array)Serialize::decode($this->widget->config) : (array)Serialize::decode($this->application->configs); |
|
142 | + return $this->type === 'widget' ? (array) Serialize::decode($this->widget->config) : (array) Serialize::decode($this->application->configs); |
|
143 | 143 | } |
144 | 144 | |
145 | 145 | /** |