There was an error while loading. Please reload this page.
2 parents 98a5e14 + c879cd3 commit 47e1c70Copy full SHA for 47e1c70
Test/TranslatorTest.php
@@ -161,7 +161,7 @@ public function testReturnMessageIfExactlyOneStandardRuleIsGiven()
161
*/
162
public function testThrowExceptionIfMatchingMessageCannotBeFound($id, $number)
163
{
164
- $this->expectException('InvalidArgumentException');
+ $this->expectException(\InvalidArgumentException::class);
165
$translator = $this->getTranslator();
166
167
$translator->trans($id, ['%count%' => $number]);
0 commit comments