Skip to content

Commit

Permalink
craft 5: initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
matfish3 committed Apr 13, 2024
1 parent ba700b8 commit 1f9a6b8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Release Notes for Optimum

## 2.0.0 - 2024-04-13
- Craft 5: Initial Release

## 1.3.0 - 2024-01-26
### Fixed
- Install Migration: Use dateTime()->notNull() instead of timestamp() [(#6)](https://github.com/matfish2/craft-optimum/issues/6)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"docs": "https://github.com/matfish2/craft-optimum/blob/master/README.md"
},
"require": {
"craftcms/cms": "^4.0.0",
"craftcms/cms": "^5.0.0",
"ext-json": "*",
"nesbot/carbon": "^2.58"
},
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Experiment.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function afterSave(bool $isNew): void
parent::afterSave($isNew);
}

public function getTableAttributeHtml($attribute): string
public function attributeHtml($attribute): string
{

$enabled = $this->enabled ? 'enabled' : '';
Expand Down

0 comments on commit 1f9a6b8

Please sign in to comment.