Skip to content

Commit

Permalink
Progress on craft4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Roel van Hintum committed Mar 10, 2022
1 parent 11648cc commit bb762ef
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
}
],
"require": {
"craftcms/cms": "^3.3",
"craftcms/commerce": "^2.0|^3.0",
"craftcms/commerce-omnipay": "^2.0.0",
"php": "^8.0.2",
"craftcms/cms": "^4.0.0-alpha",
"craftcms/commerce": "^4.0.x-dev",
"craftcms/commerce-omnipay": "dev-feature/com-150-omnipay",
"born05/omnipay-buckaroo": "~3.0"
},
"autoload": {
Expand Down
10 changes: 5 additions & 5 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ class Plugin extends \craft\base\Plugin
*
* @var Plugin
*/
public static $plugin;

// Public Methods
// =========================================================================
public static Plugin $plugin;

/**
* @inheritdoc
Expand All @@ -41,7 +38,10 @@ public function init()
});
}

protected function createSettingsModel()
/**
* @inheritdoc
*/
protected function createSettingsModel(): Settings
{
return new Settings();
}
Expand Down

0 comments on commit bb762ef

Please sign in to comment.