File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1234,20 +1234,20 @@ final protected function registerFailureType(string $classOrInterface): void
1234
1234
*/
1235
1235
final protected function runTest (): mixed
1236
1236
{
1237
- $ testArguments = array_merge ($ this ->data , array_values ($ this ->dependencyInput ));
1238
- $ positionalArgs = [];
1239
- $ namedArgs = [];
1237
+ $ testArguments = array_merge ($ this ->data , array_values ($ this ->dependencyInput ));
1238
+ $ positionalArguments = [];
1239
+ $ namedArguments = [];
1240
1240
1241
1241
foreach ($ testArguments as $ key => $ value ) {
1242
1242
if (is_int ($ key )) {
1243
- $ positionalArgs [] = $ value ;
1243
+ $ positionalArguments [] = $ value ;
1244
1244
} else {
1245
- $ namedArgs [$ key ] = $ value ;
1245
+ $ namedArguments [$ key ] = $ value ;
1246
1246
}
1247
1247
}
1248
1248
1249
1249
try {
1250
- $ testResult = $ this ->{$ this ->methodName }(...$ namedArgs , ...$ positionalArgs );
1250
+ $ testResult = $ this ->{$ this ->methodName }(...$ namedArguments , ...$ positionalArguments );
1251
1251
} catch (Throwable $ exception ) {
1252
1252
if (!$ this ->shouldExceptionExpectationsBeVerified ($ exception )) {
1253
1253
throw $ exception ;
You can’t perform that action at this time.
0 commit comments