minor #33938 SCA: added missing break in a loop (kalessil)

This PR was merged into the 3.4 branch.

Discussion
----------

SCA: added missing break in a loop

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | n/a
| License       | MIT
| Doc PR        | n/a

Commits
-------

6af04bbac6 SCA: added missing break in a loop
This commit is contained in:
Fabien Potencier 2019-10-10 21:22:59 +02:00
commit 417222515b

View File

@ -249,6 +249,7 @@ trait MemcachedTrait
foreach ($this->checkResultCode($this->getClient()->deleteMulti($encodedIds)) as $result) {
if (\Memcached::RES_SUCCESS !== $result && \Memcached::RES_NOTFOUND !== $result) {
$ok = false;
break;
}
}