|
179 | 179 | *
|
180 | 180 | * Maintainer: **samdark**
|
181 | 181 | * Stability: **stable**
|
182 |
| - * |
| 182 | + * @phpstan-type ClientConfig array{ |
| 183 | + * responseCleanMethod: Yii2Connector::CLEAN_CLEAR|Yii2Connector::CLEAN_MANUAL|Yii2Connector::CLEAN_RECREATE, |
| 184 | + * requestCleanMethod: Yii2Connector::CLEAN_CLEAR|Yii2Connector::CLEAN_MANUAL|Yii2Connector::CLEAN_RECREATE, |
| 185 | + * mailMethod: Yii2Connector::MAIL_CATCH|Yii2Connector::MAIL_IGNORE|Yii2Connector::MAIL_EVENT_AFTER|Yii2Connector::MAIL_EVENT_BEFORE, |
| 186 | + * recreateComponents: list<string>, |
| 187 | + * recreateApplication: bool, |
| 188 | + * closeSessionOnRecreateApplication: bool, |
| 189 | + * applicationClass: class-string<\yii\base\Application>|null, |
| 190 | + * configFile: string |
| 191 | + * } |
183 | 192 | * @phpstan-type ModuleConfig array{
|
184 |
| - * fixturesMethod: string, |
185 |
| - * cleanup: bool, |
186 |
| - * ignoreCollidingDSN: bool, |
187 |
| - * transaction: bool|null, |
188 |
| - * entryScript: string, |
189 |
| - * entryUrl: string, |
190 |
| - * configFile: string|null, |
191 |
| - * responseCleanMethod: Yii2Connector::CLEAN_CLEAR|Yii2Connector::CLEAN_MANUAL|Yii2Connector::CLEAN_RECREATE, |
192 |
| - * requestCleanMethod: Yii2Connector::CLEAN_CLEAR|Yii2Connector::CLEAN_MANUAL|Yii2Connector::CLEAN_RECREATE, |
193 |
| - * recreateComponents: list<string>, |
194 |
| - * recreateApplication: bool, |
195 |
| - * closeSessionOnRecreateApplication: bool, |
196 |
| - * mailMethod: Yii2Connector::MAIL_CATCH|Yii2Connector::MAIL_IGNORE|Yii2Connector::MAIL_EVENT_AFTER|Yii2Connector::MAIL_EVENT_BEFORE, |
197 |
| - * applicationClass: class-string<\yii\base\Application>|null |
| 193 | + * configFile: string|null, |
| 194 | + * fixturesMethod: string, |
| 195 | + * cleanup: bool, |
| 196 | + * ignoreCollidingDSN: bool, |
| 197 | + * transaction: bool|null, |
| 198 | + * entryScript: string, |
| 199 | + * entryUrl: string, |
| 200 | + * responseCleanMethod: Yii2Connector::CLEAN_CLEAR|Yii2Connector::CLEAN_MANUAL|Yii2Connector::CLEAN_RECREATE, |
| 201 | + * requestCleanMethod: Yii2Connector::CLEAN_CLEAR|Yii2Connector::CLEAN_MANUAL|Yii2Connector::CLEAN_RECREATE, |
| 202 | + * mailMethod: Yii2Connector::MAIL_CATCH|Yii2Connector::MAIL_IGNORE|Yii2Connector::MAIL_EVENT_AFTER|Yii2Connector::MAIL_EVENT_BEFORE, |
| 203 | + * recreateComponents: list<string>, |
| 204 | + * recreateApplication: bool, |
| 205 | + * closeSessionOnRecreateApplication: bool, |
| 206 | + * applicationClass: class-string<\yii\base\Application>|null |
198 | 207 | * }
|
199 | 208 | *
|
200 | 209 | * @phpstan-type ValidConfig (ModuleConfig & array{
|
201 | 210 | * transaction: bool|null,
|
202 |
| - * configFile: string, |
| 211 | + * configFile: string |
203 | 212 | * })
|
204 |
| - * @phpstan-type SessionBackup array{cookie: array<mixed>, session: array<mixed>, headers: array<string, string>, clientContext: array{ cookieJar: CookieJar, history: History }} |
205 |
| - * @phpstan-type ClientConfig array{ |
206 |
| - * configFile: string, |
207 |
| - * responseCleanMethod: Yii2Connector::CLEAN_CLEAR|Yii2Connector::CLEAN_MANUAL|Yii2Connector::CLEAN_RECREATE, |
208 |
| - * requestCleanMethod: Yii2Connector::CLEAN_CLEAR|Yii2Connector::CLEAN_MANUAL|Yii2Connector::CLEAN_RECREATE, |
209 |
| - * recreateComponents: list<string>, |
210 |
| - * recreateApplication: bool, |
211 |
| - * closeSessionOnRecreateApplication: bool, |
212 |
| - * applicationClass: class-string<\yii\base\Application>|null |
213 |
| - * } |
| 213 | + * @phpstan-type SessionBackup array{ |
| 214 | + * cookie: array<mixed>, |
| 215 | + * session: array<mixed>, |
| 216 | + * headers: array<string, string>, |
| 217 | + * clientContext: array{ cookieJar: CookieJar, history: History } |
| 218 | + * } |
214 | 219 | */
|
215 | 220 | class Yii2 extends Framework implements ActiveRecord, MultiSession, PartedModule
|
216 | 221 | {
|
|
0 commit comments