mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
FIX Remove types for PHP 7.3 support
This commit is contained in:
parent
3cd0d96093
commit
dd6d3b7a70
@ -7,11 +7,11 @@ use SilverStripe\FrameworkTest\Elemental\Model\ElementalBehatTestObject;
|
||||
|
||||
class ElementalBehatTestAdmin extends ModelAdmin
|
||||
{
|
||||
private static string $url_segment = 'elemental-behat-test-admin';
|
||||
private static string $menu_title = 'Elemental Behat Test Admin';
|
||||
private static string $menu_icon_class = 'font-icon-block-banner';
|
||||
private static $url_segment = 'elemental-behat-test-admin';
|
||||
private static $menu_title = 'Elemental Behat Test Admin';
|
||||
private static $menu_icon_class = 'font-icon-block-banner';
|
||||
|
||||
private static array $managed_models = [
|
||||
private static $managed_models = [
|
||||
ElementalBehatTestObject::class,
|
||||
];
|
||||
}
|
||||
|
@ -8,7 +8,7 @@ use SilverStripe\ORM\DataObject;
|
||||
|
||||
class ElementalBehatTestObject extends DataObject
|
||||
{
|
||||
private static string $table_name = 'ElementalBehatTestObject';
|
||||
private static $table_name = 'ElementalBehatTestObject';
|
||||
|
||||
public function CMSEditLink()
|
||||
{
|
||||
|
@ -11,6 +11,7 @@
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": "^7.3",
|
||||
"silverstripe/framework": "^4",
|
||||
"silverstripe/cms": "^4",
|
||||
"guzzlehttp/guzzle": "^6.3 || ^7.3",
|
||||
|
Loading…
Reference in New Issue
Block a user