Commit 6b206711 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Error.php: adjusted signature to fullfill exception definition: 'previous' was missing.

parent f460fa2f
...@@ -41,12 +41,13 @@ class SyntaxReportException extends \Exception { ...@@ -41,12 +41,13 @@ class SyntaxReportException extends \Exception {
/** /**
* @param string $message * @param string $message
* @param int $code * @param int $code
* @param \Exception $file * @param \Exception $previous
* @param $file
* @param $line * @param $line
* @param array $customMessage * @param array $customMessage
* @param array $fr_error * @param array $fr_error
*/ */
public function __construct($message, $code, $file, $line, $customMessage = array(), $fr_error = array()) { public function __construct($message, $code, $previous, $file, $line, $customMessage = array(), $fr_error = array()) {
parent::__construct($message); parent::__construct($message);
$this->code = $code; $this->code = $code;
$this->file = $file; $this->file = $file;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment