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