Skip to content

Commit fa9b1e9

Browse files
committed
Upgrade to Craft 4
1 parent 145c1f6 commit fa9b1e9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## 5.0.0 - 2024-09-09
1+
## 4.0.0 - 2024-09-09
22
### Changed
3-
- Updated for Craft 5
3+
- Updated for Craft 4
44

55
## 1.0.6 - 2022-01-06
66
### Fixed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "ether/notes",
3-
"description": "A note taking field type for Craft CMS 3",
3+
"description": "A note taking field type for Craft CMS",
44
"type": "craft-plugin",
55
"license": "proprietary",
66
"minimum-stability": "dev",
77
"require": {
8-
"craftcms/cms": "^5",
8+
"craftcms/cms": "^4",
99
"php": "^8.0"
1010
},
1111
"autoload": {

src/Field.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function getSettingsHtml (): ?string
8181
]);
8282
}
8383

84-
protected function inputHtml ($value, ?ElementInterface $element, bool $inline): string
84+
protected function inputHtml ($value, ?ElementInterface $element = null): string
8585
{
8686
if (!$element || !$element->id)
8787
return Craft::t('notes', 'You must save the element before you can add notes!');

0 commit comments

Comments
 (0)