File tree Expand file tree Collapse file tree 3 files changed +43
-18
lines changed
src/Codeception/Lib/Connector Expand file tree Collapse file tree 3 files changed +43
-18
lines changed Original file line number Diff line number Diff line change @@ -231,19 +231,6 @@ public function clearEmails(): void
231231 $ this ->emails = [];
232232 }
233233
234- /**
235- * @internal
236- */
237- public function getComponent (string $ name ): object |null
238- {
239- $ app = $ this ->getApplication ();
240- $ result = $ app ->get ($ name , false );
241- if (! isset ($ result )) {
242- throw new ConfigurationException ("Component $ name is not available in current application " );
243- }
244- return $ result ;
245- }
246-
247234 /**
248235 * Getting domain regex from rule host template
249236 */
Original file line number Diff line number Diff line change 1313/**
1414 * Class ConnectionWatcher
1515 * This class will watch for new database connection and store a reference to the connection object.
16- *
17- * @package Codeception\Lib\Connector\Yii2
16+ * @internal
1817 */
19- final class ConnectionWatcher
18+ class ConnectionWatcher
2019{
21- private Closure $ handler ;
20+ private readonly Closure $ handler ;
2221
2322 /**
24- * @var Connection[]
23+ * @var list< Connection>
2524 */
2625 private array $ connections = [];
2726
Original file line number Diff line number Diff line change @@ -33,6 +33,45 @@ namespace yii\web {
3333 * @return void
3434 */
3535 public function setBaseUrl($url) {}
36+
37+ /**
38+ * @param array<mixed>|object|null $params
39+ */
40+ public function setBodyParams($params): void {}
41+
42+ /**
43+ * @param list<string>|null $params
44+ */
45+ public function setAcceptableContentTypes($params): void {}
46+ /**
47+ * @param list<string>|null $params
48+ */
49+ public function setAcceptableLanguages($params): void {}
50+
51+ /**
52+ * @param string|null $body
53+ */
54+ public function setRawBody($body): void {}
55+
56+ /**
57+ * @param string|null $path
58+ */
59+ public function setPathInfo($path): void {}
60+
61+ /**
62+ * @param string|null $path
63+ */
64+ public function setScriptUrl($path): void {}
65+
66+ /**
67+ * @param string|null $path
68+ */
69+ public function setUrl($path): void {}
70+
71+ /**
72+ * @param string|null $path
73+ */
74+ public function setScriptFile($path): void {}
3675 }
3776
3877}
You can’t perform that action at this time.
0 commit comments