From 8ecab7a1a1ba724f4e03d18ac2b4912d30547f6b Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Tue, 25 Jun 2019 16:56:56 +0100 Subject: [PATCH] JSDocs fix --- src/geom/rectangle/FitInside.js | 2 +- src/time/TimerEvent.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/geom/rectangle/FitInside.js b/src/geom/rectangle/FitInside.js index 193e08a69..89c68c159 100644 --- a/src/geom/rectangle/FitInside.js +++ b/src/geom/rectangle/FitInside.js @@ -19,7 +19,7 @@ var GetAspectRatio = require('./GetAspectRatio'); * @generic {Phaser.Geom.Rectangle} O - [target,$return] * * @param {Phaser.Geom.Rectangle} target - The target rectangle to adjust. - * @param {Phaser.Geom.Rectangle} source - The source rectangle to envlope the target in. + * @param {Phaser.Geom.Rectangle} source - The source rectangle to envelop the target in. * * @return {Phaser.Geom.Rectangle} The modified target rectangle instance. */ diff --git a/src/time/TimerEvent.js b/src/time/TimerEvent.js index 1b77c2f55..59cf85e66 100644 --- a/src/time/TimerEvent.js +++ b/src/time/TimerEvent.js @@ -274,7 +274,7 @@ var TimerEvent = new Class({ * @method Phaser.Time.TimerEvent#remove * @since 3.0.0 * - * @param {boolean} [dispatchCallback] - If `true` (by default `false`), the function of the Timer Event will be called before its removal from its Clock. + * @param {boolean} [dispatchCallback=false] - If `true`, the function of the Timer Event will be called before its removal. */ remove: function (dispatchCallback) {