Skip to content

Commit f364fdf

Browse files
author
Martin Brecht-Precht
committed
increased code climate.
1 parent 73da18b commit f364fdf

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.codeclimate.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ engines:
1414
checks:
1515
CleanCode/ElseExpression:
1616
enabled: false
17-
ratings:
17+
Design/TooManyPublicMethods:
18+
enabled: false
1819
paths:
1920
- "**.inc"
2021
- "**.js"

src/Request/AbstractRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ public function removeAuthentication(AuthenticationInterface $authentication)
325325
*/
326326
public function hasAuthentication(AuthenticationInterface $authentication)
327327
{
328-
foreach ($this->authentications as $existingAuthentication) {
329-
if ($authentication == $existingAuthentication) {
328+
foreach ($this->authentications as $existingAuth) {
329+
if ($authentication == $existingAuth) {
330330
return true;
331331
}
332332
}

0 commit comments

Comments
 (0)