diff --git a/CHANGELOG.md b/CHANGELOG.md index f8d46b0..0099012 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # MuxMate Changelog +## 1.1.1 - 2023-06-21 +### Added +- Fixed a PHP exception due to a typing error + ## 1.1.0 - 2023-06-21 ### Added - Added the `isMuxVideo()` and `isMuxVideoReady()` asset methods. diff --git a/composer.json b/composer.json index da58bae..e95908b 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "vaersaagod/muxmate", "description": "Mux ado about streaming, mate!", "type": "craft-plugin", - "version": "1.1.0", + "version": "1.1.1", "require": { "php": ">=8.1", "craftcms/cms": "^4.4.0", diff --git a/src/helpers/MuxMateHelper.php b/src/helpers/MuxMateHelper.php index 006e67c..7f51709 100644 --- a/src/helpers/MuxMateHelper.php +++ b/src/helpers/MuxMateHelper.php @@ -192,7 +192,7 @@ public static function getMuxMateFieldAttributes(?Asset $asset): ?MuxMateFieldAt { $muxMateFieldHandle = static::_getMuxMateFieldForAsset($asset)?->handle; if (!$muxMateFieldHandle) { - return false; + return null; } /** @var MuxMateFieldAttributes|null $muxMateFieldAttributes */