@@ -219,7 +219,7 @@ |
||
219 | 219 | } |
220 | 220 | |
221 | 221 | /** |
222 | - * @return boolean the directory that contains the module class |
|
222 | + * @return string|boolean the directory that contains the module class |
|
223 | 223 | */ |
224 | 224 | public function getOutputPath() |
225 | 225 | { |
@@ -144,7 +144,7 @@ |
||
144 | 144 | } |
145 | 145 | |
146 | 146 | /** |
147 | - * @return array list of safe attributes of [[modelClass]] |
|
147 | + * @return string[] list of safe attributes of [[modelClass]] |
|
148 | 148 | */ |
149 | 149 | public function getModelAttributes() |
150 | 150 | { |
@@ -393,6 +393,7 @@ |
||
393 | 393 | * For simplicity, this method only deals with the case where the pivot contains two PK columns, |
394 | 394 | * each referencing a column in a different table. |
395 | 395 | * @param \yii\db\TableSchema the table being checked |
396 | + * @param \yii\db\TableSchema $table |
|
396 | 397 | * @return array|boolean the relevant foreign key constraint information if the table is a junction table, |
397 | 398 | * or false if the table is not a junction table. |
398 | 399 | */ |
@@ -153,7 +153,7 @@ |
||
153 | 153 | } |
154 | 154 | |
155 | 155 | /** |
156 | - * @return boolean the directory that contains the module class |
|
156 | + * @return string|boolean the directory that contains the module class |
|
157 | 157 | */ |
158 | 158 | public function getModulePath() |
159 | 159 | { |
@@ -95,6 +95,7 @@ |
||
95 | 95 | |
96 | 96 | /** |
97 | 97 | * @inheritdoc |
98 | + * @param Connection $db |
|
98 | 99 | */ |
99 | 100 | protected function buildCursor($db = null) |
100 | 101 | { |
@@ -112,7 +112,7 @@ |
||
112 | 112 | * By default this method returns the class name as the collection name by calling [[Inflector::camel2id()]]. |
113 | 113 | * For example, 'Customer' becomes 'customer', and 'OrderItem' becomes |
114 | 114 | * 'order_item'. You may override this method if the collection is not named after this convention. |
115 | - * @return string|array the collection name |
|
115 | + * @return string the collection name |
|
116 | 116 | */ |
117 | 117 | public static function collectionName() |
118 | 118 | { |
@@ -71,6 +71,7 @@ |
||
71 | 71 | |
72 | 72 | /** |
73 | 73 | * @inheritdoc |
74 | + * @param \yii\mongodb\Connection $db |
|
74 | 75 | */ |
75 | 76 | protected function buildCursor($db = null) |
76 | 77 | { |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | * ); |
79 | 79 | * } |
80 | 80 | * ~~~ |
81 | - * @return array list of attribute names. |
|
81 | + * @return string[] list of attribute names. |
|
82 | 82 | */ |
83 | 83 | public function attributes() |
84 | 84 | { |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | |
233 | 233 | /** |
234 | 234 | * Refreshes the [[file]] attribute from file collection, using current primary key. |
235 | - * @return \MongoGridFSFile|null refreshed file value. |
|
235 | + * @return \MongoGridFSFile refreshed file value. |
|
236 | 236 | */ |
237 | 237 | public function refreshFile() |
238 | 238 | { |
@@ -71,7 +71,7 @@ |
||
71 | 71 | |
72 | 72 | /** |
73 | 73 | * Sets the list of fields of the results to return. |
74 | - * @param array $fields fields of the results to return. |
|
74 | + * @param string[] $fields fields of the results to return. |
|
75 | 75 | * @return static the query object itself. |
76 | 76 | */ |
77 | 77 | public function select(array $fields) |