@@ -37,6 +37,5 @@ |
||
37 | 37 | * @class AccountLockedException |
38 | 38 | * @package Platine\Framework\Auth\Exception |
39 | 39 | */ |
40 | -class AccountLockedException extends AuthenticationException |
|
41 | -{ |
|
40 | +class AccountLockedException extends AuthenticationException { |
|
42 | 41 | } |
@@ -41,8 +41,7 @@ |
||
41 | 41 | * @class HttpException |
42 | 42 | * @package Platine\Framework\Http\Exception |
43 | 43 | */ |
44 | -class HttpException extends Exception |
|
45 | -{ |
|
44 | +class HttpException extends Exception { |
|
46 | 45 | /** |
47 | 46 | * The instance of server request that throw this exception |
48 | 47 | * @var ServerRequestInterface |
@@ -40,8 +40,7 @@ |
||
40 | 40 | * @class HttpSpecialException |
41 | 41 | * @package Platine\Framework\Http\Exception |
42 | 42 | */ |
43 | -abstract class HttpSpecialException extends HttpException |
|
44 | -{ |
|
43 | +abstract class HttpSpecialException extends HttpException { |
|
45 | 44 | /** |
46 | 45 | * Create new instance |
47 | 46 | * @param ServerRequestInterface $request |
@@ -37,8 +37,7 @@ |
||
37 | 37 | * @class HttpNotFoundException |
38 | 38 | * @package Platine\Framework\Http\Exception |
39 | 39 | */ |
40 | -class HttpNotFoundException extends HttpSpecialException |
|
41 | -{ |
|
40 | +class HttpNotFoundException extends HttpSpecialException { |
|
42 | 41 | /** |
43 | 42 | * |
44 | 43 | * @var int |
@@ -37,8 +37,7 @@ |
||
37 | 37 | * @class HttpMethodNotAllowedException |
38 | 38 | * @package Platine\Framework\Http\Exception |
39 | 39 | */ |
40 | -class HttpMethodNotAllowedException extends HttpSpecialException |
|
41 | -{ |
|
40 | +class HttpMethodNotAllowedException extends HttpSpecialException { |
|
42 | 41 | /** |
43 | 42 | * |
44 | 43 | * @var int |
@@ -40,8 +40,7 @@ |
||
40 | 40 | * @class HeadersAlreadySentException |
41 | 41 | * @package Platine\Framework\Http\Emitter\Exception |
42 | 42 | */ |
43 | -class HeadersAlreadySentException extends RuntimeException |
|
44 | -{ |
|
43 | +class HeadersAlreadySentException extends RuntimeException { |
|
45 | 44 | /** |
46 | 45 | * Create new instance |
47 | 46 | * @return self |
@@ -40,8 +40,7 @@ |
||
40 | 40 | * @class OutputAlreadySentException |
41 | 41 | * @package Platine\Http\Framework\Emitter\Exception |
42 | 42 | */ |
43 | -class OutputAlreadySentException extends RuntimeException |
|
44 | -{ |
|
43 | +class OutputAlreadySentException extends RuntimeException { |
|
45 | 44 | /** |
46 | 45 | * Create new instance |
47 | 46 | * @return self |
@@ -53,8 +53,7 @@ |
||
53 | 53 | * @class AbstractMigration |
54 | 54 | * @package Platine\Framework\Migration |
55 | 55 | */ |
56 | -abstract class AbstractMigration extends Schema |
|
57 | -{ |
|
56 | +abstract class AbstractMigration extends Schema { |
|
58 | 57 | /** |
59 | 58 | * Execute when do migrate |
60 | 59 | * @return void |
@@ -26,8 +26,8 @@ |
||
26 | 26 | protected string $name; |
27 | 27 | |
28 | 28 | /** |
29 | - * {@inheritdoc} |
|
30 | - */ |
|
29 | + * {@inheritdoc} |
|
30 | + */ |
|
31 | 31 | public function __construct(string $markup, &$tokens, Parser $parser) |
32 | 32 | { |
33 | 33 | $lexer = new Lexer('/' . Token::QUOTED_FRAGMENT . '/'); |
@@ -59,8 +59,7 @@ discard block |
||
59 | 59 | * @class SessionTag |
60 | 60 | * @package Platine\Framework\Template\Tag |
61 | 61 | */ |
62 | -class SessionTag extends AbstractTag |
|
63 | -{ |
|
62 | +class SessionTag extends AbstractTag { |
|
64 | 63 | /** |
65 | 64 | * The key of the session |
66 | 65 | * @var string |
@@ -70,8 +69,7 @@ discard block |
||
70 | 69 | /** |
71 | 70 | * {@inheritdoc} |
72 | 71 | */ |
73 | - public function __construct(string $markup, &$tokens, Parser $parser) |
|
74 | - { |
|
72 | + public function __construct(string $markup, &$tokens, Parser $parser) { |
|
75 | 73 | $lexer = new Lexer('/' . Token::QUOTED_FRAGMENT . '/'); |
76 | 74 | if ($lexer->match($markup)) { |
77 | 75 | $this->name = $lexer->getStringMatch(0); |