Skip to content

Commit 9524a29

Browse files
committed
fix cs
1 parent 0d6e139 commit 9524a29

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/Model/Behavior/SocialAccountBehavior.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,15 @@ public function afterSave(EventInterface $event, EntityInterface $entity, ArrayO
5959
{
6060
if ($entity->get('active')) {
6161
$event->setResult(true);
62+
6263
return;
6364
}
6465
$user = $this->_table->getAssociation('Users')->find()
6566
->where(['Users.id' => $entity->get('user_id'), 'Users.active' => true])
6667
->first();
6768
if (empty($user)) {
6869
$event->setResult(true);
70+
6971
return;
7072
}
7173

tests/TestCase/Controller/Traits/CustomUsersTableTraitTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class CustomUsersTableTraitTest extends TestCase
2727
* Instance of the trait under test (avoid dynamic properties on mocks)
2828
*/
2929
protected $Trait;
30+
3031
public function setUp(): void
3132
{
3233
parent::setUp();

0 commit comments

Comments
 (0)