mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-04-08 14:03:44 +00:00
Remove no longer used annotation use statements and replace with attribute use statements
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user