1
0
Fork 0
mirror of synced 2024-07-01 20:50:49 +12:00

Linter fix

This commit is contained in:
Matej Bačo 2022-08-16 13:03:38 +00:00
parent 3088535806
commit 2814a6f680
3 changed files with 9 additions and 8 deletions

View file

@ -35,7 +35,7 @@ function createUser(string $hash, mixed $hashOptions, string $userId, ?string $e
{ {
$hashOptionsObject = (\is_string($hashOptions)) ? \json_decode($hashOptions, true) : $hashOptions; // Cast to JSON array $hashOptionsObject = (\is_string($hashOptions)) ? \json_decode($hashOptions, true) : $hashOptions; // Cast to JSON array
if(!empty($email)) { if (!empty($email)) {
$email = \strtolower($email); $email = \strtolower($email);
} }

View file

@ -269,7 +269,8 @@ trait UsersBase
* *
* @depends testCreateUser * @depends testCreateUser
*/ */
public function testCreateUserTypes(array $data): void { public function testCreateUserTypes(array $data): void
{
/** /**
* Test for SUCCESS * Test for SUCCESS
*/ */