Skip to content

Commit 47e1c70

Browse files
committed
Merge branch '5.1' into 5.2
* 5.1: Use ::class keyword when possible
2 parents 98a5e14 + c879cd3 commit 47e1c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Test/TranslatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function testReturnMessageIfExactlyOneStandardRuleIsGiven()
161161
*/
162162
public function testThrowExceptionIfMatchingMessageCannotBeFound($id, $number)
163163
{
164-
$this->expectException('InvalidArgumentException');
164+
$this->expectException(\InvalidArgumentException::class);
165165
$translator = $this->getTranslator();
166166

167167
$translator->trans($id, ['%count%' => $number]);

0 commit comments

Comments
 (0)