Skip to content

Commit 0d2548f

Browse files
committed
Fix SF 8.0 compatibility
1 parent 8789d9d commit 0d2548f

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

src/Bridge/EasyAdmin/src/Form/Type/MediaChoiceType.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,8 @@ public function __construct(
2323
) {
2424
}
2525

26-
/**
27-
* @return string
28-
*/
2926
#[\Override]
30-
public function getParent()
27+
public function getParent(): string
3128
{
3229
return TextType::class;
3330
}
@@ -37,10 +34,7 @@ public function getName(): string
3734
return 'media_choice';
3835
}
3936

40-
/**
41-
* @return string
42-
*/
43-
public function getBlockPrefix()
37+
public function getBlockPrefix(): string
4438
{
4539
return 'joli_media_easy_admin_choice';
4640
}

src/Bridge/SonataAdmin/src/Form/Type/MediaChoiceType.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,8 @@ public function __construct(
2323
) {
2424
}
2525

26-
/**
27-
* @return string
28-
*/
2926
#[\Override]
30-
public function getParent()
27+
public function getParent(): string
3128
{
3229
return TextType::class;
3330
}
@@ -37,10 +34,7 @@ public function getName(): string
3734
return 'media_choice';
3835
}
3936

40-
/**
41-
* @return string
42-
*/
43-
public function getBlockPrefix()
37+
public function getBlockPrefix(): string
4438
{
4539
return 'joli_media_sonata_admin_choice';
4640
}

0 commit comments

Comments
 (0)