Skip to content

Commit 0383b06

Browse files
Merge branch '6.2' into 6.3
* 6.2: [HttpKernel] fix merge (bis) [HttpKernel] fix merge
2 parents bd69536 + f143a1c commit 0383b06

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/Symfony/Component/HttpKernel/Tests/DataCollector/RequestDataCollectorTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public static function provideControllerCallables(): array
109109
[
110110
'class' => DummyController::class,
111111
'method' => 'regularCallable',
112-
'file' => $r3->getFileName(),
112+
'file' => $r1->getFileName(),
113113
'line' => $r1->getStartLine(),
114114
],
115115
],
@@ -127,11 +127,11 @@ public static function provideControllerCallables(): array
127127

128128
[
129129
'First-class callable closure',
130-
$this->testControllerInspection(...),
130+
$controller->regularCallable(...),
131131
[
132-
'class' => self::class,
133-
'method' => 'testControllerInspection',
134-
'file' => __FILE__,
132+
'class' => DummyController::class,
133+
'method' => 'regularCallable',
134+
'file' => $r1->getFileName(),
135135
'line' => $r1->getStartLine(),
136136
],
137137
],
@@ -142,7 +142,7 @@ public static function provideControllerCallables(): array
142142
[
143143
'class' => DummyController::class,
144144
'method' => 'staticControllerMethod',
145-
'file' => $r3->getFileName(),
145+
'file' => $r2->getFileName(),
146146
'line' => $r2->getStartLine(),
147147
],
148148
],
@@ -153,7 +153,7 @@ public static function provideControllerCallables(): array
153153
[
154154
'class' => DummyController::class,
155155
'method' => 'staticControllerMethod',
156-
'file' => $r3->getFileName(),
156+
'file' => $r2->getFileName(),
157157
'line' => $r2->getStartLine(),
158158
],
159159
],
@@ -164,7 +164,7 @@ public static function provideControllerCallables(): array
164164
[
165165
'class' => DummyController::class,
166166
'method' => 'staticControllerMethod',
167-
'file' => $r3->getFileName(),
167+
'file' => $r2->getFileName(),
168168
'line' => $r2->getStartLine(),
169169
],
170170
],

0 commit comments

Comments
 (0)