private function formatProblem(string $problem) : string
    {
        $lines  = explode(PHP_EOL, $problem);
        $amount = count($lines);

        for ($i = 1; $i < $amount; $i++) {
            $lines[$i] = '    ' . $lines[$i];
        }

        return implode(PHP_EOL, $lines);
    }
private function formatProblem(string $problem) : string
    {
        $lines  = explode(PHP_EOL, $problem);
        $amount = count($lines);

        for ($i = 1; $i < $amount; $i++) {
            $lines[$i] = '    ' . $lines[$i];
        }

        return implode(PHP_EOL, $lines);
    }
private function formatProblem ( string $ problem ) : string { $ lines = explode ( PHP_EOL , $ problem ) ; $ amount = count ( $ lines ) ; for ( $ i = 1 ; $ i < $ amount ; $ i ++ ) { $ lines [ $ i ] = '    ' . $ lines [ $ i ] ; } return implode ( PHP_EOL , $ lines ) ; }
Indent multi line problems so the lines after the first one are indented for better readability

@param  string $problem
@return string
Indent multi line problems so the lines after the first one are indented for better readability