GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Tools   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 20
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A stringify() 0 10 2
1
<?php
2
3
namespace Lexik\Bundle\PayboxBundle\Paybox\System;
4
5
/**
6
 * Class Tools
7
 *
8
 * @package Lexik\Bundle\PayboxBundle\Paybox\System
9
 *
10
 * @author Lexik <[email protected]>
11
 * @author Olivier Maisonneuve <[email protected]>
12
 */
13
class Tools
14
{
15
    /**
16
     * Makes an array of parameters become a querystring like string.
17
     *
18
     * @param  array $array
19
     *
20
     * @return string
21
     */
22
    static public function stringify(array $array)
23
    {
24
        $result = array();
25
26
        foreach ($array as $key => $value) {
27
            $result[] = sprintf('%s=%s', $key, $value);
28
        }
29
30
        return implode('&', $result);
31
    }
32
}
33