@@ -48,8 +48,8 @@ discard block |
||
48 | 48 | class SelectTag extends FieldTag |
49 | 49 | { |
50 | 50 | /** |
51 | - * {@inheritdoc} |
|
52 | - */ |
|
51 | + * {@inheritdoc} |
|
52 | + */ |
|
53 | 53 | public function __construct(string $markup, &$tokens, Parser $parser) |
54 | 54 | { |
55 | 55 | $lexer = new Lexer('/' . Token::QUOTED_FRAGMENT . '/'); |
@@ -64,8 +64,8 @@ discard block |
||
64 | 64 | } |
65 | 65 | |
66 | 66 | /** |
67 | - * {@inheritdoc} |
|
68 | - */ |
|
67 | + * {@inheritdoc} |
|
68 | + */ |
|
69 | 69 | public function render(Context $context): string |
70 | 70 | { |
71 | 71 | $attributes = $this->normalizeAttributes($context); |
@@ -45,13 +45,11 @@ |
||
45 | 45 | * @class SelectTag |
46 | 46 | * @package Platine\Framework\Template\Tag |
47 | 47 | */ |
48 | -class SelectTag extends FieldTag |
|
49 | -{ |
|
48 | +class SelectTag extends FieldTag { |
|
50 | 49 | /** |
51 | 50 | * {@inheritdoc} |
52 | 51 | */ |
53 | - public function __construct(string $markup, &$tokens, Parser $parser) |
|
54 | - { |
|
52 | + public function __construct(string $markup, &$tokens, Parser $parser) { |
|
55 | 53 | $lexer = new Lexer('/' . Token::QUOTED_FRAGMENT . '/'); |
56 | 54 | if ($lexer->match($markup)) { |
57 | 55 | $this->extractAttributes($markup); |
@@ -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 . '/'); |
@@ -48,8 +48,7 @@ discard block |
||
48 | 48 | * @class ImageTag |
49 | 49 | * @package Platine\Framework\Template\Tag |
50 | 50 | */ |
51 | -class ImageTag extends AbstractTag |
|
52 | -{ |
|
51 | +class ImageTag extends AbstractTag { |
|
53 | 52 | /** |
54 | 53 | * The name of the tag |
55 | 54 | * @var string |
@@ -65,8 +64,7 @@ discard block |
||
65 | 64 | /** |
66 | 65 | * {@inheritdoc} |
67 | 66 | */ |
68 | - public function __construct(string $markup, &$tokens, Parser $parser) |
|
69 | - { |
|
67 | + public function __construct(string $markup, &$tokens, Parser $parser) { |
|
70 | 68 | $lexer = new Lexer('/' . Token::QUOTED_FRAGMENT . '/'); |
71 | 69 | if ($lexer->match($markup)) { |
72 | 70 | $this->name = $lexer->getStringMatch(0); |
@@ -39,6 +39,5 @@ |
||
39 | 39 | * @class ApplicationException |
40 | 40 | * @package Platine\Framework\Exception |
41 | 41 | */ |
42 | -class ApplicationException extends Exception |
|
43 | -{ |
|
42 | +class ApplicationException extends Exception { |
|
44 | 43 | } |
@@ -61,7 +61,7 @@ |
||
61 | 61 | parent::__construct($application, $filesystem); |
62 | 62 | |
63 | 63 | $this->setName('make:filter') |
64 | - ->setDescription('Command to generate new filter class'); |
|
64 | + ->setDescription('Command to generate new filter class'); |
|
65 | 65 | } |
66 | 66 | |
67 | 67 | /** |
@@ -42,8 +42,7 @@ |
||
42 | 42 | * @class MakeFilterCommand |
43 | 43 | * @package Platine\Framework\Console\Command |
44 | 44 | */ |
45 | -class MakeFilterCommand extends MakeActionCommand |
|
46 | -{ |
|
45 | +class MakeFilterCommand extends MakeActionCommand { |
|
47 | 46 | /** |
48 | 47 | * {@inheritdoc} |
49 | 48 | */ |
@@ -77,7 +77,7 @@ |
||
77 | 77 | ) { |
78 | 78 | parent::__construct($application, $filesystem); |
79 | 79 | $this->setName('make:action') |
80 | - ->setDescription('Command to generate new action class'); |
|
80 | + ->setDescription('Command to generate new action class'); |
|
81 | 81 | |
82 | 82 | $this->addOption('-a|--base-action', 'The base action class', BaseAction::class, true); |
83 | 83 | } |
@@ -65,7 +65,7 @@ |
||
65 | 65 | parent::__construct($application, $filesystem); |
66 | 66 | |
67 | 67 | $this->setName('make:dbconfig') |
68 | - ->setDescription('Command to generate class that hold database configuration value'); |
|
68 | + ->setDescription('Command to generate class that hold database configuration value'); |
|
69 | 69 | } |
70 | 70 | |
71 | 71 | /** |
@@ -44,8 +44,7 @@ |
||
44 | 44 | * @class MakeDatabaseConfigCommand |
45 | 45 | * @package Platine\Framework\Console\Command |
46 | 46 | */ |
47 | -class MakeDatabaseConfigCommand extends MakeCommand |
|
48 | -{ |
|
47 | +class MakeDatabaseConfigCommand extends MakeCommand { |
|
49 | 48 | /** |
50 | 49 | * {@inheritdoc} |
51 | 50 | */ |
@@ -44,9 +44,9 @@ |
||
44 | 44 | class StandardRepository extends Repository |
45 | 45 | { |
46 | 46 | /** |
47 | - * Create new instance |
|
48 | - * @param EntityManager $manager |
|
49 | - */ |
|
47 | + * Create new instance |
|
48 | + * @param EntityManager $manager |
|
49 | + */ |
|
50 | 50 | public function __construct(EntityManager $manager) |
51 | 51 | { |
52 | 52 | parent::__construct($manager, StandardEntity::class); |
@@ -41,14 +41,12 @@ |
||
41 | 41 | * @class StandardRepository |
42 | 42 | * @package Platine\Framework\Orm |
43 | 43 | */ |
44 | -class StandardRepository extends Repository |
|
45 | -{ |
|
44 | +class StandardRepository extends Repository { |
|
46 | 45 | /** |
47 | 46 | * Create new instance |
48 | 47 | * @param EntityManager $manager |
49 | 48 | */ |
50 | - public function __construct(EntityManager $manager) |
|
51 | - { |
|
49 | + public function __construct(EntityManager $manager) { |
|
52 | 50 | parent::__construct($manager, StandardEntity::class); |
53 | 51 | } |
54 | 52 |
@@ -43,8 +43,8 @@ |
||
43 | 43 | class StandardEntity extends Entity |
44 | 44 | { |
45 | 45 | /** |
46 | - * {@inheritdoc} |
|
47 | - */ |
|
46 | + * {@inheritdoc} |
|
47 | + */ |
|
48 | 48 | public static function mapEntity(EntityMapperInterface $mapper): void |
49 | 49 | { |
50 | 50 | } |
@@ -40,8 +40,7 @@ |
||
40 | 40 | * @class StandardEntity |
41 | 41 | * @package Platine\Framework\Orm |
42 | 42 | */ |
43 | -class StandardEntity extends Entity |
|
44 | -{ |
|
43 | +class StandardEntity extends Entity { |
|
45 | 44 | /** |
46 | 45 | * {@inheritdoc} |
47 | 46 | */ |
@@ -39,8 +39,7 @@ |
||
39 | 39 | * @class DumpDriverInterface |
40 | 40 | * @package Platine\Framework\Tool\Database |
41 | 41 | */ |
42 | -interface DumpDriverInterface |
|
43 | -{ |
|
42 | +interface DumpDriverInterface { |
|
44 | 43 | /** |
45 | 44 | * Create new instance |
46 | 45 | * @param Connection $connection |