Skip to content

Commit 402906d

Browse files
committed
Fix CS errors
1 parent 2abaf0c commit 402906d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Auth/FootprintAwareTrait.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ protected function _getCurrentUser($user = null)
7777
{
7878
$this->_setCurrentUser($user);
7979

80-
if (!$this->_currentUserInstance &&
80+
if (
81+
!$this->_currentUserInstance &&
8182
isset($this->_currentUserViewVar) &&
8283
!empty($this->viewVars[$this->_currentUserViewVar])
8384
) {

src/Model/Behavior/FootprintBehavior.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@ protected function _injectEntity(EntityInterface $entity, ArrayObject $options,
175175
continue;
176176
}
177177

178-
if ($when === 'always' ||
178+
if (
179+
$when === 'always' ||
179180
($when === 'new' && $new) ||
180181
($when === 'existing' && !$new)
181182
) {

0 commit comments

Comments
 (0)