Skip to content

Commit 83a8376

Browse files
authored
Merge pull request #4107 from craftcms/bugfix/event-type
Fix Event type error
2 parents e656043 + dbd0004 commit 83a8376

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release Notes for Craft Commerce
22

3+
## 5.4.5.1 - 2025-08-20
4+
5+
- Fixed a PHP type error.
6+
37
## 5.4.5 - 2025-08-20
48

59
- Fixed a bug where order indexes didn’t have customizable table columns when an order status’ source was selected.

src/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
namespace craft\commerce;
99

1010
use Craft;
11-
use craft\base\Event;
1211
use craft\base\Model;
1312
use craft\base\Plugin as BasePlugin;
1413
use craft\ckeditor\events\DefineLinkOptionsEvent;
@@ -168,6 +167,7 @@
168167
use craft\web\twig\variables\CraftVariable;
169168
use Exception;
170169
use Illuminate\Support\Collection;
170+
use yii\base\Event;
171171
use yii\console\ExitCode;
172172
use yii\web\User;
173173

0 commit comments

Comments
 (0)