Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit bdff202

Browse files
kalessilfabpot
authored andcommitted
Static code analysis with Php Inspections (EA Extended)
1 parent 17fae54 commit bdff202

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Acl/Dbal/MutableAclProvider.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,9 +662,8 @@ protected function getSelectSecurityIdentityIdSql(SecurityIdentityInterface $sid
662662
protected function getDeleteSecurityIdentityIdSql(SecurityIdentityInterface $sid)
663663
{
664664
$select = $this->getSelectSecurityIdentityIdSql($sid);
665-
$delete = preg_replace('/^SELECT id FROM/', 'DELETE FROM', $select);
666665

667-
return $delete;
666+
return preg_replace('/^SELECT id FROM/', 'DELETE FROM', $select);
668667
}
669668

670669
/**

0 commit comments

Comments
 (0)