Skip to content

Commit b7ffec2

Browse files
committed
Fixed #34
1 parent a64af84 commit b7ffec2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

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

3+
## Unreleased
4+
5+
### Fixed
6+
- Fixed a PHP error that occurred when running Craft 3.5 or later. ([#34](https://github.com/craftcms/webhooks/issues/34))
7+
38
## 2.3.1 - 2020-07-19
49

510
### Added

src/filters/BaseElementFilter.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace craft\webhooks\filters;
44

55
use Craft;
6+
use craft\base\Component;
67
use craft\base\ElementInterface;
78
use craft\events\ElementEvent;
89
use craft\services\Elements;
@@ -15,7 +16,7 @@
1516
* @author Pixel & Tonic, Inc. <[email protected]>
1617
* @since 2.1
1718
*/
18-
abstract class BaseElementFilter implements FilterInterface
19+
abstract class BaseElementFilter extends Component implements FilterInterface
1920
{
2021
public static function show(string $class, string $event): bool
2122
{

0 commit comments

Comments
 (0)