Skip to content

Commit

Permalink
fixed bad string concatenation
Browse files Browse the repository at this point in the history
  • Loading branch information
BioSin committed Oct 26, 2017
1 parent dc1b650 commit cdb45e6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/exceptions/FileUploadException.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ public function __construct(


protected function prepareMessage($code, $defaultMessage) {
$message = ArrayHelper::getValue($this->errors, $code, $defaultMessage);
$message += ' Error code is ' . $code;

return $message;
return ArrayHelper::getValue($this->errors, $code, $defaultMessage) . ' Error code is ' . $code;
}
}

0 comments on commit cdb45e6

Please sign in to comment.