Private
Public Access
chg: pkg: upgrade the BE deps to the latest possible version #14
This commit is contained in:
@@ -12,7 +12,7 @@ namespace App\Tests\Factory;
|
||||
|
||||
use App\Entity\Grid;
|
||||
use App\Entity\GridRow;
|
||||
use Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory;
|
||||
use Zenstruck\Foundry\Persistence\PersistentObjectFactory;
|
||||
|
||||
/**
|
||||
* Class GridFactory
|
||||
@@ -24,9 +24,9 @@ use Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory;
|
||||
* @link www.splendidbear.org
|
||||
* @since 2026. 04. 21.
|
||||
*
|
||||
* @extends PersistentProxyObjectFactory<Grid>
|
||||
* @extends PersistentObjectFactory<Grid>
|
||||
*/
|
||||
class GridFactory extends PersistentProxyObjectFactory
|
||||
class GridFactory extends PersistentObjectFactory
|
||||
{
|
||||
protected function defaults(): array
|
||||
{
|
||||
@@ -45,7 +45,7 @@ class GridFactory extends PersistentProxyObjectFactory
|
||||
return $this->afterInstantiate(function (Grid $grid): void {
|
||||
for ($i = 0; $i < 16; $i++) {
|
||||
/** @var GridRow $factory */
|
||||
$factory = GridRowFactory::new()->create()->_real();
|
||||
$factory = GridRowFactory::new()->create();
|
||||
$grid->addGridRow($factory);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user