mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-14 21:49:36 +00:00
Renamed the base DBElement classes to AbstractDBElement to comply with symfony recommendations.
This commit is contained in:
parent
da72f5b3ec
commit
594c694ee0
62 changed files with 203 additions and 203 deletions
|
|
@ -24,7 +24,7 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Form\AdminPages;
|
||||
|
||||
use App\Entity\Base\StructuralDBElement;
|
||||
use App\Entity\Base\AbstractStructuralDBElement;
|
||||
use App\Form\Type\StructuralEntityType;
|
||||
use Symfony\Component\Form\AbstractType;
|
||||
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
|
||||
|
|
@ -61,7 +61,7 @@ class MassCreationForm extends AbstractType
|
|||
'rows' => 10,
|
||||
],
|
||||
]);
|
||||
if ($entity instanceof StructuralDBElement) {
|
||||
if ($entity instanceof AbstractStructuralDBElement) {
|
||||
$builder->add('parent', StructuralEntityType::class, [
|
||||
'class' => $data['entity_class'],
|
||||
'required' => false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue