Skip to content

Commit

Permalink
Fixed declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
chajr committed Jan 17, 2018
1 parent 5fc28f0 commit 93d6398
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Message/DefaultInlineMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ protected function wrapMessage()
/**
* @param string|int $key
* @param mixed $value
* @param string $indent
* @return $this
*/
protected function processMessage($key, $value)
protected function processMessage($key, $value, $indent)
{
$row = ' | ';

Expand All @@ -30,7 +31,7 @@ protected function processMessage($key, $value)

if (is_array($value)) {
$this->message .= $row;
$this->buildMessage($value);
$this->buildMessage($value, $indent);
} else {
$this->message .= $row . $value;
}
Expand Down

0 comments on commit 93d6398

Please sign in to comment.