Skip to content

Commit da70c9c

Browse files
committed
add void to expected legacy user fixtures
1 parent 67cde8d commit da70c9c

8 files changed

+8
-8
lines changed

tests/Security/fixtures/expected/UserEntityWithPassword.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function setPassword(string $password): static
8585
/**
8686
* @see UserInterface
8787
*/
88-
public function eraseCredentials()
88+
public function eraseCredentials(): void
8989
{
9090
// If you store any temporary, sensitive data on the user, clear it here
9191
// $this->plainPassword = null;

tests/Security/fixtures/expected/legacy_5_user_class/UserEntityWithEmailAsIdentifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function getSalt(): ?string
109109
/**
110110
* @see UserInterface
111111
*/
112-
public function eraseCredentials()
112+
public function eraseCredentials(): void
113113
{
114114
// If you store any temporary, sensitive data on the user, clear it here
115115
// $this->plainPassword = null;

tests/Security/fixtures/expected/legacy_5_user_class/UserEntityWithPassword.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function getSalt(): ?string
104104
/**
105105
* @see UserInterface
106106
*/
107-
public function eraseCredentials()
107+
public function eraseCredentials(): void
108108
{
109109
// If you store any temporary, sensitive data on the user, clear it here
110110
// $this->plainPassword = null;

tests/Security/fixtures/expected/legacy_5_user_class/UserEntityWithUser_IdentifierAsIdentifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function getSalt(): ?string
104104
/**
105105
* @see UserInterface
106106
*/
107-
public function eraseCredentials()
107+
public function eraseCredentials(): void
108108
{
109109
// If you store any temporary, sensitive data on the user, clear it here
110110
// $this->plainPassword = null;

tests/Security/fixtures/expected/legacy_5_user_class/UserEntityWithoutPassword.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function getSalt(): ?string
9191
/**
9292
* @see UserInterface
9393
*/
94-
public function eraseCredentials()
94+
public function eraseCredentials(): void
9595
{
9696
// If you store any temporary, sensitive data on the user, clear it here
9797
// $this->plainPassword = null;

tests/Security/fixtures/expected/legacy_5_user_class/UserModelWithEmailAsIdentifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function getSalt(): ?string
9494
/**
9595
* @see UserInterface
9696
*/
97-
public function eraseCredentials()
97+
public function eraseCredentials(): void
9898
{
9999
// If you store any temporary, sensitive data on the user, clear it here
100100
// $this->plainPassword = null;

tests/Security/fixtures/expected/legacy_5_user_class/UserModelWithPassword.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function getSalt(): ?string
8989
/**
9090
* @see UserInterface
9191
*/
92-
public function eraseCredentials()
92+
public function eraseCredentials(): void
9393
{
9494
// If you store any temporary, sensitive data on the user, clear it here
9595
// $this->plainPassword = null;

tests/Security/fixtures/expected/legacy_5_user_class/UserModelWithoutPassword.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function getSalt(): ?string
7777
/**
7878
* @see UserInterface
7979
*/
80-
public function eraseCredentials()
80+
public function eraseCredentials(): void
8181
{
8282
// If you store any temporary, sensitive data on the user, clear it here
8383
// $this->plainPassword = null;

0 commit comments

Comments
 (0)