|
8 | 8 | use App\Repository\ReviewRepository; |
9 | 9 | use App\Security\Http\Protection\ResourceHandlerInterface; |
10 | 10 | use Zenstruck\Foundry\FactoryCollection; |
| 11 | +use Zenstruck\Foundry\Persistence\PersistentObjectFactory; |
11 | 12 | use Zenstruck\Foundry\Persistence\Proxy; |
12 | 13 | use Zenstruck\Foundry\Persistence\ProxyRepositoryDecorator; |
13 | 14 |
|
|
22 | 23 | * @method static Review|Proxy last(string $sortedField = 'id') |
23 | 24 | * @method static Review|Proxy random(array $attributes = []) |
24 | 25 | * @method static Review|Proxy randomOrCreate(array $attributes = []) |
25 | | - * @method static \App\Entity\Review[]|\Zenstruck\Foundry\Persistence\Proxy[] all() |
26 | | - * @method static \App\Entity\Review[]|\Zenstruck\Foundry\Persistence\Proxy[] createMany(int $number, array|callable $attributes = []) |
27 | | - * @method static \App\Entity\Review[]|\Zenstruck\Foundry\Persistence\Proxy[] createSequence((iterable|callable) $sequence) |
28 | | - * @method static \App\Entity\Review[]|\Zenstruck\Foundry\Persistence\Proxy[] findBy(array $attributes) |
29 | | - * @method static \App\Entity\Review[]|\Zenstruck\Foundry\Persistence\Proxy[] randomRange(int $min, int $max, array $attributes = []) |
30 | | - * @method static \App\Entity\Review[]|\Zenstruck\Foundry\Persistence\Proxy[] randomSet(int $number, array $attributes = []) |
| 26 | + * @method static Review[]|Proxy[] all() |
| 27 | + * @method static Review[]|Proxy[] createMany(int $number, array|callable $attributes = []) |
| 28 | + * @method static Review[]|Proxy[] createSequence((iterable|callable) $sequence) |
| 29 | + * @method static Review[]|Proxy[] findBy(array $attributes) |
| 30 | + * @method static Review[]|Proxy[] randomRange(int $min, int $max, array $attributes = []) |
| 31 | + * @method static Review[]|Proxy[] randomSet(int $number, array $attributes = []) |
31 | 32 | * @method FactoryCollection<Review|Proxy> many(int $min, int|null $max = null) |
32 | 33 | * @method FactoryCollection<Review|Proxy> sequence(iterable|callable $sequence) |
33 | 34 | * @method static ProxyRepositoryDecorator<Review, ReviewRepository> repository() |
|
49 | 50 | * @phpstan-method FactoryCollection<Review&Proxy<Review>> many(int $min, int|null $max = null) |
50 | 51 | * @phpstan-method FactoryCollection<Review&Proxy<Review>> sequence(iterable|callable $sequence) |
51 | 52 | * |
52 | | - * @extends \Zenstruck\Foundry\Persistence\PersistentObjectFactory<Review> |
| 53 | + * @extends PersistentObjectFactory<Review> |
53 | 54 | */ |
54 | | -final class ReviewFactory extends \Zenstruck\Foundry\Persistence\PersistentObjectFactory |
| 55 | +final class ReviewFactory extends PersistentObjectFactory |
55 | 56 | { |
56 | 57 | /** |
57 | 58 | * @see https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html#factories-as-services |
|
0 commit comments