@@ -22,15 +22,15 @@ |
||
| 22 | 22 | */ |
| 23 | 23 | abstract class AbstractHighchartsException extends Exception { |
| 24 | 24 | |
| 25 | - /** |
|
| 26 | - * Constructor. |
|
| 27 | - * |
|
| 28 | - * @param string $message The message. |
|
| 29 | - * @param integer $code The code. |
|
| 30 | - * @param Exception $previous The previous exception. |
|
| 31 | - */ |
|
| 32 | - public function __construct($message, $code = 0, Exception $previous = null) { |
|
| 33 | - parent::__construct($message, $code, $previous); |
|
| 34 | - } |
|
| 25 | + /** |
|
| 26 | + * Constructor. |
|
| 27 | + * |
|
| 28 | + * @param string $message The message. |
|
| 29 | + * @param integer $code The code. |
|
| 30 | + * @param Exception $previous The previous exception. |
|
| 31 | + */ |
|
| 32 | + public function __construct($message, $code = 0, Exception $previous = null) { |
|
| 33 | + parent::__construct($message, $code, $previous); |
|
| 34 | + } |
|
| 35 | 35 | |
| 36 | 36 | } |
@@ -19,13 +19,13 @@ |
||
| 19 | 19 | */ |
| 20 | 20 | final class HighchartsFileNotFoundException extends AbstractHighchartsException { |
| 21 | 21 | |
| 22 | - /** |
|
| 23 | - * Constructor. |
|
| 24 | - * |
|
| 25 | - * @param string $filename The file name. |
|
| 26 | - */ |
|
| 27 | - public function __construct($filename) { |
|
| 28 | - parent::__construct("The file \"" . $filename . "\" was not found"); |
|
| 29 | - } |
|
| 22 | + /** |
|
| 23 | + * Constructor. |
|
| 24 | + * |
|
| 25 | + * @param string $filename The file name. |
|
| 26 | + */ |
|
| 27 | + public function __construct($filename) { |
|
| 28 | + parent::__construct("The file \"" . $filename . "\" was not found"); |
|
| 29 | + } |
|
| 30 | 30 | |
| 31 | 31 | } |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | $getLocale = function() { |
| 50 | 50 | return $this->locale; |
| 51 | 51 | }; |
| 52 | - $translate = function ($id, array $parameters = [], $domain = null, $locale = null) { |
|
| 52 | + $translate = function($id, array $parameters = [], $domain = null, $locale = null) { |
|
| 53 | 53 | |
| 54 | 54 | // Initialize the YAML filename. |
| 55 | 55 | $filename = getcwd() . "/Resources/translations/" . implode(".", [$domain, $locale, "yml"]); |