Skip to content

Commit 800273b

Browse files
author
Roberto Espinoza
committed
remove short variable name as it is not needed and clashes with Codacy
1 parent 9d049da commit 800273b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/Service/Decoder/ResponseDecoder.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,12 @@ public function getDecodedResponse(Request $request)
7575
*/
7676
private function getCacheId(Request $request)
7777
{
78-
$id = $request->getMethod() . $request->getUri();
79-
return sha1(preg_replace('/[^A-Za-z0-9\.\- ]/', '', $id));
78+
return sha1(
79+
preg_replace(
80+
'/[^A-Za-z0-9\.\- ]/',
81+
'',
82+
$request->getMethod().$request->getUri()
83+
)
84+
);
8085
}
8186
}

0 commit comments

Comments
 (0)