@@ -16,7 +16,6 @@ |
||
| 16 | 16 | public static $returnUrlWithoutHistory = false; |
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | - * @param int $depth |
|
| 20 | 19 | * @return string |
| 21 | 20 | */ |
| 22 | 21 | public static function getReturnUrl() |
@@ -33,6 +33,9 @@ |
||
| 33 | 33 | ]; |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | + /** |
|
| 37 | + * @param string $key |
|
| 38 | + */ |
|
| 36 | 39 | public function searchByKey($key) |
| 37 | 40 | { |
| 38 | 41 | |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | protected $subject = null; |
| 45 | 45 | |
| 46 | 46 | /** |
| 47 | - * @return null |
|
| 47 | + * @return string |
|
| 48 | 48 | */ |
| 49 | 49 | public function getSubject() |
| 50 | 50 | { |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | |
| 46 | 46 | /** |
| 47 | 47 | * Lists all Slider models. |
| 48 | - * @return mixed |
|
| 48 | + * @return string |
|
| 49 | 49 | */ |
| 50 | 50 | public function actionIndex() |
| 51 | 51 | { |
@@ -245,7 +245,7 @@ discard block |
||
| 245 | 245 | * Deletes an existing Slider model. |
| 246 | 246 | * If deletion is successful, the browser will be redirected to the 'index' page. |
| 247 | 247 | * @param string $id |
| 248 | - * @return mixed |
|
| 248 | + * @return Response |
|
| 249 | 249 | */ |
| 250 | 250 | public function actionDelete($id) |
| 251 | 251 | { |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | - * @return User |
|
| 59 | + * @return \yii\db\ActiveQuery |
|
| 60 | 60 | */ |
| 61 | 61 | public function getUser() |
| 62 | 62 | { |
@@ -112,7 +112,7 @@ |
||
| 112 | 112 | /** |
| 113 | 113 | * Return count of new notifications |
| 114 | 114 | * @param $current |
| 115 | - * @return mixed |
|
| 115 | + * @return boolean|string |
|
| 116 | 116 | */ |
| 117 | 117 | public function actionOnlyNewNotifications($current) |
| 118 | 118 | { |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | |
| 159 | 159 | /** |
| 160 | 160 | * Users relation |
| 161 | - * @return mixed |
|
| 161 | + * @return \yii\db\ActiveQuery |
|
| 162 | 162 | */ |
| 163 | 163 | public function getUsers() |
| 164 | 164 | { |
@@ -231,7 +231,7 @@ discard block |
||
| 231 | 231 | |
| 232 | 232 | /** |
| 233 | 233 | * Set status |
| 234 | - * @param $status |
|
| 234 | + * @param string $status |
|
| 235 | 235 | * @return bool |
| 236 | 236 | */ |
| 237 | 237 | public function setStatus($status) |
@@ -109,6 +109,10 @@ |
||
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | |
| 112 | + /** |
|
| 113 | + * @param string|boolean $path |
|
| 114 | + * @param string $themeName |
|
| 115 | + */ |
|
| 112 | 116 | protected function createStructure($path, $children, $themeName) |
| 113 | 117 | { |
| 114 | 118 | foreach ($children as $child) { |
@@ -103,9 +103,9 @@ discard block |
||
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | /** |
| 106 | - * @param $strScriptName |
|
| 106 | + * @param string $strScriptName |
|
| 107 | 107 | * @param array $arrParams |
| 108 | - * @param $strSecretKey |
|
| 108 | + * @param string $strSecretKey |
|
| 109 | 109 | * @return string |
| 110 | 110 | */ |
| 111 | 111 | private static function makeSigStr($strScriptName, array $arrParams, $strSecretKey) |
@@ -203,8 +203,9 @@ discard block |
||
| 203 | 203 | /** |
| 204 | 204 | * make the signature for XML |
| 205 | 205 | * |
| 206 | - * @param string|SimpleXMLElement $xml |
|
| 206 | + * @param SimpleXMLElement $xml |
|
| 207 | 207 | * @param string $strSecretKey |
| 208 | + * @param string $strScriptName |
|
| 208 | 209 | * @return string |
| 209 | 210 | */ |
| 210 | 211 | public static function makeXML($strScriptName, $xml, $strSecretKey) |