Skip to content

Commit 48d86ea

Browse files
committed
Fix code syntax
1 parent cf61f93 commit 48d86ea

14 files changed

+1
-64
lines changed

src/Command/AddUserCommand.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ public function __construct(
6464
parent::__construct();
6565
}
6666

67-
/**
68-
* {@inheritdoc}
69-
*/
7067
protected function configure(): void
7168
{
7269
$this

src/Command/DeleteUserCommand.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ public function __construct(
5656
parent::__construct();
5757
}
5858

59-
/**
60-
* {@inheritdoc}
61-
*/
6259
protected function configure(): void
6360
{
6461
$this

src/Command/ListUsersCommand.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ public function __construct(
5353
parent::__construct();
5454
}
5555

56-
/**
57-
* {@inheritdoc}
58-
*/
5956
protected function configure(): void
6057
{
6158
$this

src/Entity/Tag.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ public function getName(): string
4848
return $this->name;
4949
}
5050

51-
/**
52-
* {@inheritdoc}
53-
*/
5451
public function jsonSerialize(): string
5552
{
5653
// This entity implements JsonSerializable (http://php.net/manual/en/class.jsonserializable.php)

src/EventSubscriber/RedirectToPreferredLocaleSubscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ final class RedirectToPreferredLocaleSubscriber implements EventSubscriberInterf
3737
public function __construct(
3838
private readonly UrlGeneratorInterface $urlGenerator,
3939
string $locales,
40-
?string $defaultLocale = null
40+
string $defaultLocale = null
4141
) {
4242
$this->locales = explode('|', trim($locales));
4343
if (empty($this->locales)) {

src/Form/ChangePasswordType.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828
*/
2929
final class ChangePasswordType extends AbstractType
3030
{
31-
/**
32-
* {@inheritdoc}
33-
*/
3431
public function buildForm(FormBuilderInterface $builder, array $options): void
3532
{
3633
$builder
@@ -65,9 +62,6 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
6562
;
6663
}
6764

68-
/**
69-
* {@inheritdoc}
70-
*/
7165
public function configureOptions(OptionsResolver $resolver): void
7266
{
7367
$resolver->setDefaults([

src/Form/CommentType.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@
2929
*/
3030
final class CommentType extends AbstractType
3131
{
32-
/**
33-
* {@inheritdoc}
34-
*/
3532
public function buildForm(FormBuilderInterface $builder, array $options): void
3633
{
3734
// By default, form fields include the 'required' attribute, which enables
@@ -47,9 +44,6 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
4744
;
4845
}
4946

50-
/**
51-
* {@inheritdoc}
52-
*/
5347
public function configureOptions(OptionsResolver $resolver): void
5448
{
5549
$resolver->setDefaults([

src/Form/DataTransformer/TagArrayToStringTransformer.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ public function __construct(
3434
) {
3535
}
3636

37-
/**
38-
* {@inheritdoc}
39-
*/
4037
public function transform($tags): string
4138
{
4239
// The value received is an array of Tag objects generated with
@@ -47,8 +44,6 @@ public function transform($tags): string
4744
}
4845

4946
/**
50-
* {@inheritdoc}
51-
*
5247
* @phpstan-param string|null $string
5348
*
5449
* @phpstan-return array<int, Tag>

src/Form/PostType.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ public function __construct(
3737
) {
3838
}
3939

40-
/**
41-
* {@inheritdoc}
42-
*/
4340
public function buildForm(FormBuilderInterface $builder, array $options): void
4441
{
4542
// For the full reference of options defined by each form field type
@@ -86,9 +83,6 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
8683
;
8784
}
8885

89-
/**
90-
* {@inheritdoc}
91-
*/
9286
public function configureOptions(OptionsResolver $resolver): void
9387
{
9488
$resolver->setDefaults([

src/Form/Type/DateTimePickerType.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
*/
2727
final class DateTimePickerType extends AbstractType
2828
{
29-
/**
30-
* {@inheritdoc}
31-
*/
3229
public function configureOptions(OptionsResolver $resolver): void
3330
{
3431
// @see https://symfony.com/doc/current/reference/forms/types/date.html#rendering-a-single-html5-text-box
@@ -51,9 +48,6 @@ public function configureOptions(OptionsResolver $resolver): void
5148
]);
5249
}
5350

54-
/**
55-
* {@inheritdoc}
56-
*/
5751
public function getParent(): ?string
5852
{
5953
return DateTimeType::class;

src/Form/Type/TagsInputType.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ public function __construct(
3535
) {
3636
}
3737

38-
/**
39-
* {@inheritdoc}
40-
*/
4138
public function buildForm(FormBuilderInterface $builder, array $options): void
4239
{
4340
$builder
@@ -50,17 +47,11 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
5047
;
5148
}
5249

53-
/**
54-
* {@inheritdoc}
55-
*/
5650
public function buildView(FormView $view, FormInterface $form, array $options): void
5751
{
5852
$view->vars['tags'] = $this->tags->findAll();
5953
}
6054

61-
/**
62-
* {@inheritdoc}
63-
*/
6455
public function getParent(): ?string
6556
{
6657
return TextType::class;

src/Form/UserType.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525
*/
2626
final class UserType extends AbstractType
2727
{
28-
/**
29-
* {@inheritdoc}
30-
*/
3128
public function buildForm(FormBuilderInterface $builder, array $options): void
3229
{
3330
// For the full reference of options defined by each form field type
@@ -53,9 +50,6 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
5350
;
5451
}
5552

56-
/**
57-
* {@inheritdoc}
58-
*/
5953
public function configureOptions(OptionsResolver $resolver): void
6054
{
6155
$resolver->setDefaults([

src/Security/PostVoter.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ final class PostVoter extends Voter
3333
public const SHOW = 'show';
3434

3535
/**
36-
* {@inheritdoc}
37-
*
3836
* @phpstan-param object $subject
3937
*/
4038
protected function supports(string $attribute, $subject): bool
@@ -44,8 +42,6 @@ protected function supports(string $attribute, $subject): bool
4442
}
4543

4644
/**
47-
* {@inheritdoc}
48-
*
4945
* @param Post $post
5046
*/
5147
protected function voteOnAttribute(string $attribute, $post, TokenInterface $token): bool

src/Twig/SourceCodeExtension.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ public function setController(?callable $controller): void
3838
$this->controller = $controller;
3939
}
4040

41-
/**
42-
* {@inheritdoc}
43-
*/
4441
public function getFunctions(): array
4542
{
4643
return [

0 commit comments

Comments
 (0)