Skip to content

Commit 2a7efdf

Browse files
authored
Merge pull request #3045 from stof/fix_cs
Fix coding standards
2 parents 0b5cd6f + ded5fc9 commit 2a7efdf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Model/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public function __unserialize(array $data): void
147147
$this->id,
148148
$this->email,
149149
$this->emailCanonical
150-
) = $data;
150+
) = $data;
151151
}
152152

153153
/**

Tests/DependencyInjection/FOSUserExtensionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,14 +499,14 @@ private function assertParameter($value, $key)
499499
*/
500500
private function assertHasDefinition($id)
501501
{
502-
$this->assertTrue(($this->configuration->hasDefinition($id) ?: $this->configuration->hasAlias($id)));
502+
$this->assertTrue($this->configuration->hasDefinition($id) ?: $this->configuration->hasAlias($id));
503503
}
504504

505505
/**
506506
* @param string $id
507507
*/
508508
private function assertNotHasDefinition($id)
509509
{
510-
$this->assertFalse(($this->configuration->hasDefinition($id) ?: $this->configuration->hasAlias($id)));
510+
$this->assertFalse($this->configuration->hasDefinition($id) ?: $this->configuration->hasAlias($id));
511511
}
512512
}

0 commit comments

Comments
 (0)