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.
Passed
Push — master ( 3a133f...0c15e3 )
by halfpastfour
01:20 queued 11s
created

StringUtils::recursiveToString()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
nc 1
nop 1
dl 0
loc 7
rs 10
c 1
b 0
f 0
1
<?php
2
3
namespace Halfpastfour\PHPChartJS\Delegate;
4
5
/**
6
 * Trait StringUtils
7
 *
8
 * @package Halfpastfour\PHPChartJS\Delegate
9
 */
10
trait StringUtils
11
{
12
    /**
13
     * @param array $input
14
     *
15
     * @return array
16
     */
17
    public function recursiveToString(array $input)
18
    {
19
        array_walk_recursive($input, function (&$value) {
20
            $value = strval($value);
21
        });
22
23
        return $input;
24
    }
25
}
26