src/Bex/Behat/ScreenshotExtension/Output/IndentedOutput.php
private function addIndentationToMessages($messages)
    {
        if (is_array($messages)) {
            array_walk(
                $messages,
                function ($message) {
                    return $this->indentation . $message;
                }
            );
            return $messages;
        } else {
            $messages = $this->indentation . $messages;
            return $messages;
        }
    }
private function addIndentationToMessages($messages)
    {
        if (is_array($messages)) {
            array_walk(
                $messages,
                function ($message) {
                    return $this->indentation . $message;
                }
            );
            return $messages;
        } else {
            $messages = $this->indentation . $messages;
            return $messages;
        }
    }
private function addIndentationToMessages ( $ messages ) { if ( is_array ( $ messages ) ) { array_walk ( $ messages , function ( $ message ) { return $ this -> indentation . $ message ; } ) ; return $ messages ; } else { $ messages = $ this -> indentation . $ messages ; return $ messages ; } }
Prepend message with padding

@param $messages

@return array|string
Prepend message with padding