Skip to content

Commit

Permalink
Update Requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
samhibberd committed May 8, 2022
1 parent a976e6b commit d99366b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
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": "presseddigital/linkit",
"description": "One link field to rule them all.",
"type": "craft-plugin",
"version": "3.0.0",
"version": "4.0.0",
"keywords": [
"craftcms",
"link it",
Expand All @@ -21,7 +21,7 @@
}
],
"require": {
"craftcms/cms": "^3.1.8"
"craftcms/cms": "^4.0.0"
},
"autoload": {
"psr-4": {
Expand Down
7 changes: 3 additions & 4 deletions src/base/Link.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ public static function hasElement(): bool
// Public
// =========================================================================

public $customLabel;
public $customPlaceholder;
public ?string $customLabel;
public ?string $customPlaceholder;

public $fieldSettings;
public $value;
public $customText;
public ?string $customText;
public $target;

// Private
Expand Down Expand Up @@ -246,7 +246,6 @@ public function validateLinkValue(): bool
protected function prepLinkAttributes($customAttributes = []): array
{
return array_merge($this->getLinkAttributes(), $customAttributes);
;
}

protected function getCustomOrDefaultText()
Expand Down

0 comments on commit d99366b

Please sign in to comment.