The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit 4a977c84 authored by Demian Katz's avatar Demian Katz
Browse files

Avoid unused variable.

parent e5164cbe
No related merge requests found
......@@ -264,7 +264,7 @@ class HttpService implements HttpServiceInterface
*/
public static function isAssocParams(array $array)
{
foreach ($array as $key => $value) {
foreach (array_keys($array) as $key) {
if (!is_numeric($key)) {
return true;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment