src/Ciconia/Diagnose/Markdown.php
public function getCallableName($callable)
    {
        $name = '(Unknown)';

        if (is_array($callable)) {
            $method = new \ReflectionMethod($callable[0], $callable[1]);
            $className = $method->getDeclaringClass()->getName();
            $className = str_replace('Ciconia\\Extension\\', '', $className);

            $name = $className . ':' . $method->getShortName();
        }

        return $name;
    }
public function getCallableName($callable)
    {
        $name = '(Unknown)';

        if (is_array($callable)) {
            $method = new \ReflectionMethod($callable[0], $callable[1]);
            $className = $method->getDeclaringClass()->getName();
            $className = str_replace('Ciconia\\Extension\\', '', $className);

            $name = $className . ':' . $method->getShortName();
        }

        return $name;
    }
@param $callable

@return string