From 2829d27e8a2954a82c9dff3ede6494cf7fce89a1 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Mon, 30 Sep 2019 13:32:14 +0100 Subject: [PATCH] Fixed return type. Fix #4772 --- CHANGELOG.md | 2 +- src/sound/BaseSoundManager.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dfbdfda8b..5b07404bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,7 +54,7 @@ My thanks to the following for helping with the Phaser 3 Examples, Docs and TypeScript definitions, either by reporting errors, fixing them or helping author the docs: -@krzysztof-grzybek @NokFrt +@krzysztof-grzybek @NokFrt @r-onodera diff --git a/src/sound/BaseSoundManager.js b/src/sound/BaseSoundManager.js index d075e3104..43c7a347a 100644 --- a/src/sound/BaseSoundManager.js +++ b/src/sound/BaseSoundManager.js @@ -192,7 +192,7 @@ var BaseSoundManager = new Class({ * @param {string} key - Asset key for the sound. * @param {Phaser.Types.Sound.SoundConfig} [config] - An optional config object containing default sound settings. * - * @return {Phaser.Types.Sound.AudioSpriteSound} The new audio sprite sound instance. + * @return {(Phaser.Sound.HTML5AudioSound|Phaser.Sound.WebAudioSound)} The new audio sprite sound instance. */ addAudioSprite: function (key, config) {