@@ -7,8 +7,7 @@ discard block |
||
7 | 7 | * |
8 | 8 | * @package Zortje\MVC\Common\Exception |
9 | 9 | */ |
10 | -class Exception extends \Exception |
|
11 | -{ |
|
10 | +class Exception extends \Exception { |
|
12 | 11 | |
13 | 12 | /** |
14 | 13 | * @var string |
@@ -20,8 +19,7 @@ discard block |
||
20 | 19 | * @param int $code |
21 | 20 | * @param null|\Exception $previous |
22 | 21 | */ |
23 | - public function __construct($message, $code = 0, \Exception $previous = null) |
|
24 | - { |
|
22 | + public function __construct($message, $code = 0, \Exception $previous = null) { |
|
25 | 23 | if (is_array($message)) { |
26 | 24 | $message = vsprintf($this->template, $message); |
27 | 25 | } |
@@ -9,8 +9,7 @@ discard block |
||
9 | 9 | * |
10 | 10 | * @package Zortje\MVC\Controller\Exception |
11 | 11 | */ |
12 | -class ControllerActionNonexistentException extends Exception |
|
13 | -{ |
|
12 | +class ControllerActionNonexistentException extends Exception { |
|
14 | 13 | |
15 | 14 | /** |
16 | 15 | * {@inheritdoc} |
@@ -20,8 +19,7 @@ discard block |
||
20 | 19 | /** |
21 | 20 | * {@inheritdoc} |
22 | 21 | */ |
23 | - public function __construct($message) |
|
24 | - { |
|
22 | + public function __construct($message) { |
|
25 | 23 | parent::__construct($message); |
26 | 24 | } |
27 | 25 |
@@ -9,8 +9,7 @@ discard block |
||
9 | 9 | * |
10 | 10 | * @package Zortje\MVC\Controller\Exception |
11 | 11 | */ |
12 | -class ControllerActionPrivateInsufficientAuthenticationException extends Exception |
|
13 | -{ |
|
12 | +class ControllerActionPrivateInsufficientAuthenticationException extends Exception { |
|
14 | 13 | |
15 | 14 | /** |
16 | 15 | * {@inheritdoc} |
@@ -20,8 +19,7 @@ discard block |
||
20 | 19 | /** |
21 | 20 | * {@inheritdoc} |
22 | 21 | */ |
23 | - public function __construct($message) |
|
24 | - { |
|
22 | + public function __construct($message) { |
|
25 | 23 | parent::__construct($message); |
26 | 24 | } |
27 | 25 |
@@ -9,8 +9,7 @@ discard block |
||
9 | 9 | * |
10 | 10 | * @package Zortje\MVC\Controller\Exception |
11 | 11 | */ |
12 | -class ControllerActionProtectedInsufficientAuthenticationException extends Exception |
|
13 | -{ |
|
12 | +class ControllerActionProtectedInsufficientAuthenticationException extends Exception { |
|
14 | 13 | |
15 | 14 | /** |
16 | 15 | * {@inheritdoc} |
@@ -20,8 +19,7 @@ discard block |
||
20 | 19 | /** |
21 | 20 | * {@inheritdoc} |
22 | 21 | */ |
23 | - public function __construct($message) |
|
24 | - { |
|
22 | + public function __construct($message) { |
|
25 | 23 | parent::__construct($message); |
26 | 24 | } |
27 | 25 |
@@ -9,8 +9,7 @@ discard block |
||
9 | 9 | * |
10 | 10 | * @package Zortje\MVC\Controller\Exception |
11 | 11 | */ |
12 | -class ControllerInvalidSuperclassException extends Exception |
|
13 | -{ |
|
12 | +class ControllerInvalidSuperclassException extends Exception { |
|
14 | 13 | |
15 | 14 | /** |
16 | 15 | * {@inheritdoc} |
@@ -20,8 +19,7 @@ discard block |
||
20 | 19 | /** |
21 | 20 | * {@inheritdoc} |
22 | 21 | */ |
23 | - public function __construct($message) |
|
24 | - { |
|
22 | + public function __construct($message) { |
|
25 | 23 | parent::__construct($message); |
26 | 24 | } |
27 | 25 |
@@ -9,8 +9,7 @@ discard block |
||
9 | 9 | * |
10 | 10 | * @package Zortje\MVC\Controller\Exception |
11 | 11 | */ |
12 | -class ControllerNonexistentException extends Exception |
|
13 | -{ |
|
12 | +class ControllerNonexistentException extends Exception { |
|
14 | 13 | |
15 | 14 | /** |
16 | 15 | * {@inheritdoc} |
@@ -20,8 +19,7 @@ discard block |
||
20 | 19 | /** |
21 | 20 | * {@inheritdoc} |
22 | 21 | */ |
23 | - public function __construct($message) |
|
24 | - { |
|
22 | + public function __construct($message) { |
|
25 | 23 | parent::__construct($message); |
26 | 24 | } |
27 | 25 |