Skip to content

Commit

Permalink
Type declarations tar död på mig
Browse files Browse the repository at this point in the history
  • Loading branch information
mmikkel committed May 15, 2022
1 parent af889b4 commit 16d1b45
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes for LinkMate

## 2.0.2 - 2022-05-15
### Fixed
- Fixes a PHP exception that could occur when saving a link field

## 2.0.1 - 2022-05-06

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vaersaagod/linkmate",
"description": "Let's hook you up, mate!",
"type": "craft-plugin",
"version": "2.0.1",
"version": "2.0.2",
"keywords": [
"craft",
"cms",
Expand All @@ -23,7 +23,7 @@
}
],
"require": {
"php": "^8.0",
"php": "^8.0.2",
"craftcms/cms": "^4.0.0"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/models/Link.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class Link extends Model
/**
* @var mixed
*/
public mixed $value;
public mixed $value = null;

/**
* @var ElementInterface|null
Expand Down

0 comments on commit 16d1b45

Please sign in to comment.