8000 fix: keep the return from the interface instead · symfony/maker-bundle@507afc1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 507afc1

Browse files
committed
fix: keep the return from the interface instead
1 parent 0624f13 commit 507afc1

File tree

8 files changed

+1
-8
lines changed
  • 8 files changed

    +1
    -8
    lines changed

    src/Security/UserClassBuilder.php

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -132,7 +132,7 @@ private function addGetRoles(ClassSourceManipulator $manipulator, UserClassConfi
    132132
    'getRoles',
    133133
    'array',
    134134
    false,
    135-
    ['@see UserInterface', '@return list<string>']
    135+
    ['@see UserInterface']
    136136
    );
    137137

    138138
    // $roles = $this->roles

    tests/Security/fixtures/expected/UserEntityWithEmailAsIdentifier.php

    Lines changed: 0 additions & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -59,7 +59,6 @@ public function getUserIdentifier(): string
    5959

    6060
    /**
    6161
    * @see UserInterface
    62-
    * @return list<string>
    6362
    */
    6463
    public function getRoles(): array
    6564
    {

    tests/Security/fixtures/expected/UserEntityWithPassword.php

    Lines changed: 0 additions & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -54,7 +54,6 @@ public function setUserIdentifier(string $userIdentifier): static
    5454

    5555
    /**
    5656
    * @see UserInterface
    57-
    * @return list<string>
    5857
    */
    5958
    public function getRoles(): array
    6059
    {

    tests/Security/fixtures/expected/UserEntityWithUser_IdentifierAsIdentifier.php

    Lines changed: 0 additions & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -54,7 +54,6 @@ public function setUserIdentifier(string $user_identifier): static
    5454

    5555
    /**
    5656
    * @see UserInterface
    57-
    * @return list<string>
    5857
    */
    5958
    public function getRoles(): array
    6059
    {

    tests/Security/fixtures/expected/UserEntityWithoutPassword.php

    Lines changed: 0 additions & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -47,7 +47,6 @@ public function setUserIdentifier(string $userIdentifier): static
    4747

    4848
    /**
    4949
    * @see UserInterface
    50-
    * @return list<string>
    5150
    */
    5251
    public function getRoles(): array
    5352
    {

    tests/Security/fixtures/expected/UserModelWithEmailAsIdentifier.php

    Lines changed: 0 additions & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -43,7 +43,6 @@ public function getUserIdentifier(): string
    4343

    4444
    /**
    4545
    * @see UserInterface
    46-
    * @return list<string>
    4746
    */
    4847
    public function getRoles(): array
    4948
    {

    tests/Security/fixtures/expected/UserModelWithPassword.php

    Lines changed: 0 additions & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -38,7 +38,6 @@ public function setUserIdentifier(string $userIdentifier): static
    3838

    3939
    /**
    4040
    * @see UserInterface
    41-
    * @return list<string>
    4241
    */
    4342
    public function getRoles(): array
    4443
    {

    tests/Security/fixtures/expected/UserModelWithoutPassword.php

    Lines changed: 0 additions & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -32,7 +32,6 @@ public function setUserIdentifier(string $userIdentifier): static
    3232

    3333
    /**
    3434
    * @see UserInterface
    35-
    * @return list<string>
    3635
    */
    3736
    public function getRoles(): array
    3837
    {

    0 commit comments

    Comments
     (0)
    0