mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-03 09:44:41 +02:00
Fixed some return type deprecation messages
This commit is contained in:
parent
558440168d
commit
1cee1abe00
37 changed files with 70 additions and 70 deletions
|
@ -8,7 +8,7 @@ use Symfony\Component\OptionsResolver\OptionsResolver;
|
|||
|
||||
class ProjectBOMEntryCollectionType extends AbstractType
|
||||
{
|
||||
public function getParent()
|
||||
public function getParent(): string
|
||||
{
|
||||
return CollectionType::class;
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ class ProjectBOMEntryCollectionType extends AbstractType
|
|||
]);
|
||||
}
|
||||
|
||||
public function getBlockPrefix()
|
||||
public function getBlockPrefix(): string
|
||||
{
|
||||
return 'project_bom_entry_collection';
|
||||
}
|
||||
|
|
|
@ -93,7 +93,7 @@ class ProjectBOMEntryType extends AbstractType
|
|||
}
|
||||
|
||||
|
||||
public function getBlockPrefix()
|
||||
public function getBlockPrefix(): string
|
||||
{
|
||||
return 'project_bom_entry';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue