diff --git a/tests/unit/Security/Random/NumberCest.php b/tests/unit/Security/Random/NumberCest.php index a70a9768bdc..45895fe6a73 100644 --- a/tests/unit/Security/Random/NumberCest.php +++ b/tests/unit/Security/Random/NumberCest.php @@ -33,11 +33,11 @@ public function securityRandomNumber(UnitTester $I) { $I->wantToTest("Security\Random - number()"); $random = new \Phalcon\Security\Random; - $I->expectException(\Exception::class, function() { + $I->expectException(\Exception::class, function () { $randNumber = $random->number(); }); - $I->expectException(\Exception::class, function() { + $I->expectException(\Exception::class, function () { $randNumber = $random->number(-1); });