@@ -109,7 +109,7 @@ public static function provideControllerCallables(): array
109
109
[
110
110
'class ' => DummyController::class,
111
111
'method ' => 'regularCallable ' ,
112
- 'file ' => $ r3 ->getFileName (),
112
+ 'file ' => $ r1 ->getFileName (),
113
113
'line ' => $ r1 ->getStartLine (),
114
114
],
115
115
],
@@ -127,11 +127,11 @@ public static function provideControllerCallables(): array
127
127
128
128
[
129
129
'First-class callable closure ' ,
130
- $ this -> testControllerInspection (...),
130
+ $ controller -> regularCallable (...),
131
131
[
132
- 'class ' => self ::class,
133
- 'method ' => 'testControllerInspection ' ,
134
- 'file ' => __FILE__ ,
132
+ 'class ' => DummyController ::class,
133
+ 'method ' => 'regularCallable ' ,
134
+ 'file ' => $ r1 -> getFileName () ,
135
135
'line ' => $ r1 ->getStartLine (),
136
136
],
137
137
],
@@ -142,7 +142,7 @@ public static function provideControllerCallables(): array
142
142
[
143
143
'class ' => DummyController::class,
144
144
'method ' => 'staticControllerMethod ' ,
145
- 'file ' => $ r3 ->getFileName (),
145
+ 'file ' => $ r2 ->getFileName (),
146
146
'line ' => $ r2 ->getStartLine (),
147
147
],
148
148
],
@@ -153,7 +153,7 @@ public static function provideControllerCallables(): array
153
153
[
154
154
'class ' => DummyController::class,
155
155
'method ' => 'staticControllerMethod ' ,
156
- 'file ' => $ r3 ->getFileName (),
156
+ 'file ' => $ r2 ->getFileName (),
157
157
'line ' => $ r2 ->getStartLine (),
158
158
],
159
159
],
@@ -164,7 +164,7 @@ public static function provideControllerCallables(): array
164
164
[
165
165
'class ' => DummyController::class,
166
166
'method ' => 'staticControllerMethod ' ,
167
- 'file ' => $ r3 ->getFileName (),
167
+ 'file ' => $ r2 ->getFileName (),
168
168
'line ' => $ r2 ->getStartLine (),
169
169
],
170
170
],
0 commit comments