Remove no longer used annotation use statements and replace with attribute use statements

This commit is contained in:
2025-10-01 18:38:41 +02:00
parent d8528dceab
commit 32d2bb002b
486 changed files with 495 additions and 1063 deletions

View File

@@ -83,8 +83,6 @@ abstract class AbstractAggregatorTest extends KernelTestCase
* Compare aliases array before and after that aggregator alter query.
*
* @dataProvider dataProviderAliasDidNotDisappears
*
* @return void
*/
public function testAliasDidNotDisappears(QueryBuilder $qb, array $data): void
{

View File

@@ -46,11 +46,9 @@ trait PrepareUserTrait
*
* @param array $permissions an array of permissions, with key 'center' for the center and key 'attrs' for an array of ['role' => (string), 'scope' => (int)]
*
* @return User
*
* @throws \LogicException if the trait is not set up
*/
protected static function prepareUser(array $permissions): \Chill\MainBundle\Entity\User
protected static function prepareUser(array $permissions): User
{
$user = new User();