FIX Remove types for PHP 7.3 support

This commit is contained in:
Steve Boyd 2022-07-05 17:50:17 +12:00
parent 3cd0d96093
commit dd6d3b7a70
3 changed files with 6 additions and 5 deletions

View File

@ -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,
];
}

View File

@ -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()
{

View File

@ -11,6 +11,7 @@
}
],
"require": {
"php": "^7.3",
"silverstripe/framework": "^4",
"silverstripe/cms": "^4",
"guzzlehttp/guzzle": "^6.3 || ^7.3",