@@ -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) { |
@@ -36,6 +36,9 @@ discard block |
||
36 | 36 | $this->elements[$cacheStackId][$elementType][] = $arguments; |
37 | 37 | } |
38 | 38 | |
39 | + /** |
|
40 | + * @param string $elementType |
|
41 | + */ |
|
39 | 42 | public function gather($elementType, $arguments) |
40 | 43 | { |
41 | 44 | if ($this->currentStackId===null) { |
@@ -45,6 +48,9 @@ discard block |
||
45 | 48 | $this->gatherToStack($this->currentStackId, $elementType, $arguments); |
46 | 49 | } |
47 | 50 | |
51 | + /** |
|
52 | + * @param string $cacheStackId |
|
53 | + */ |
|
48 | 54 | public function startGathering($cacheStackId, $dependency = null) |
49 | 55 | { |
50 | 56 | $this->currentStackId = $cacheStackId; |
@@ -89,6 +95,9 @@ discard block |
||
89 | 95 | } |
90 | 96 | } |
91 | 97 | |
98 | + /** |
|
99 | + * @param string $cacheStackId |
|
100 | + */ |
|
92 | 101 | public function getCachedData($cacheStackId) |
93 | 102 | { |
94 | 103 | Yii::trace('Get cached data: ' . $cacheStackId); |
@@ -316,6 +316,9 @@ |
||
316 | 316 | return $result; |
317 | 317 | } |
318 | 318 | |
319 | + /** |
|
320 | + * @param string $className |
|
321 | + */ |
|
319 | 322 | private function invalidateTags($className, $ids) |
320 | 323 | { |
321 | 324 | $tags = [ |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | |
76 | 76 | /** |
77 | 77 | * Relation to ThemeWidgets |
78 | - * @return ThemeWidgets |
|
78 | + * @return \yii\db\ActiveQuery |
|
79 | 79 | */ |
80 | 80 | public function getWidget() |
81 | 81 | { |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | |
85 | 85 | /** |
86 | 86 | * Relation to ThemeWidgets |
87 | - * @return ThemeWidgets |
|
87 | + * @return \yii\db\ActiveQuery |
|
88 | 88 | */ |
89 | 89 | public function getPart() |
90 | 90 | { |
@@ -131,7 +131,7 @@ |
||
131 | 131 | } |
132 | 132 | |
133 | 133 | /** |
134 | - * @return Submission[]|array |
|
134 | + * @return \yii\db\ActiveQuery |
|
135 | 135 | */ |
136 | 136 | public function getSubmissions() |
137 | 137 | { |
@@ -64,7 +64,7 @@ |
||
64 | 64 | } |
65 | 65 | |
66 | 66 | /** |
67 | - * @return PropertyGroup|null |
|
67 | + * @return \yii\db\ActiveQuery |
|
68 | 68 | */ |
69 | 69 | public function getGroup() |
70 | 70 | { |
@@ -116,7 +116,7 @@ |
||
116 | 116 | /** |
117 | 117 | * Returns active prefiltered page as array for specified URL (exact match). |
118 | 118 | * Used by ObjectRule |
119 | - * @param $url |
|
119 | + * @param string $url |
|
120 | 120 | * @return null|array |
121 | 121 | */ |
122 | 122 | public static function getActiveByUrl($url) |
@@ -104,7 +104,7 @@ |
||
104 | 104 | * Deletes an existing Wysiwyg model. |
105 | 105 | * If deletion is successful, the browser will be redirected to the 'index' page. |
106 | 106 | * @param integer $id |
107 | - * @return mixed |
|
107 | + * @return \yii\web\Response |
|
108 | 108 | */ |
109 | 109 | public function actionDelete($id) |
110 | 110 | { |
@@ -108,7 +108,7 @@ |
||
108 | 108 | * Deletes an existing ContentBlockGroup model. |
109 | 109 | * If deletion is successful, the browser will be redirected to the 'index' page. |
110 | 110 | * @param integer $id |
111 | - * @return mixed |
|
111 | + * @return \yii\web\Response |
|
112 | 112 | */ |
113 | 113 | public function actionDelete($id, $returnUrl = null) |
114 | 114 | { |