Skip to content

Commit 202a1d9

Browse files
committed
remove useless sprintf call
1 parent df4f39d commit 202a1d9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Subscriber/TestExecutor.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ private static function assertThrows(callable $callable, ExpectedFailure $expect
7272
return;
7373
}
7474

75-
throw new \InvalidArgumentException(\sprintf(
76-
"Expected to throw \"{$expectedFailure->class}\", got none",
77-
));
75+
throw new \InvalidArgumentException("Expected to throw \"{$expectedFailure->class}\", got none");
7876
}
7977
}

0 commit comments

Comments
 (0)