Skip to content

Commit

Permalink
Merge pull request #108 from creative-commoners/pulls/0.4/php73
Browse files Browse the repository at this point in the history
FIX Remove types for PHP 7.3 support
  • Loading branch information
GuySartorelli authored Jul 5, 2022
2 parents 3cd0d96 + dd6d3b7 commit ce4dec4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions code/elemental/ElementalBehatTestAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

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,
];
}
2 changes: 1 addition & 1 deletion code/elemental/ElementalBehatTestObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class ElementalBehatTestObject extends DataObject
{
private static string $table_name = 'ElementalBehatTestObject';
private static $table_name = 'ElementalBehatTestObject';

public function CMSEditLink()
{
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
}
],
"require": {
"php": "^7.3",
"silverstripe/framework": "^4",
"silverstripe/cms": "^4",
"guzzlehttp/guzzle": "^6.3 || ^7.3",
Expand Down

0 comments on commit ce4dec4

Please sign in to comment.