Skip to content

Commit

Permalink
Fix typing error. Bump to 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mmikkel committed Jun 21, 2023
1 parent 22f530c commit 3d5cd75
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/MuxMateHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 3d5cd75

Please sign in to comment.