Skip to content

Commit c879cd3

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Use ::class keyword when possible
2 parents d353dad + 9755375 commit c879cd3

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)