Skip to content

Commit dcee72b

Browse files
mbuliardnicolas-grekas
authored andcommitted
[Security] Add missing void PHPdoc return types
1 parent a04e042 commit dcee72b

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

Tests/Fixtures/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function getUserIdentifier(): string
5454
return $this->name;
5555
}
5656

57-
public function eraseCredentials()
57+
public function eraseCredentials(): void
5858
{
5959
}
6060

Tests/Form/ChoiceList/ORMQueryBuilderLoaderTest.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -280,17 +280,11 @@ public function __construct()
280280
{
281281
}
282282

283-
/**
284-
* @return array|string
285-
*/
286-
public function getSQL()
283+
public function getSQL(): array|string
287284
{
288285
}
289286

290-
/**
291-
* @return Result|int
292-
*/
293-
protected function _doExecute()
287+
protected function _doExecute(): Result|int
294288
{
295289
}
296290
}

0 commit comments

Comments
 (0)