Skip to content

Commit

Permalink
FIX Use php7.3 syntax on TestOnly object
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Jul 22, 2022
1 parent a9dcac5 commit e4a7c63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/Src/TestDataObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class TestDataObject extends DataObject implements TestOnly
{
private static $table_name = 'TestDataObject';

private static array $db = [
private static $db = [
'Title' => 'Varchar(255)',
'Content' => 'HTMLText',
];
Expand Down
2 changes: 1 addition & 1 deletion tests/Src/TestDataObjectWithCMSEditLink.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class TestDataObjectWithCMSEditLink extends DataObject implements TestOnly
{
private static $table_name = 'TestDataObjectWithCMSEditLink';

private static array $db = [
private static $db = [
'Title' => 'Varchar(255)',
'Content' => 'HTMLText',
];
Expand Down
2 changes: 1 addition & 1 deletion tests/Src/TestElementDataObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class TestElementDataObject extends BaseElement implements TestOnly
'TestValue' => 'Text',
];

private static bool $inline_editable = false;
private static $inline_editable = false;

public function getType()
{
Expand Down

0 comments on commit e4a7c63

Please sign in to comment.