Skip to content

Commit

Permalink
Merge pull request #6938 from BenAfonso/master
Browse files Browse the repository at this point in the history
Fix getScene, getScenes return types.
  • Loading branch information
photonstorm authored Nov 13, 2024
2 parents 4018be0 + 2295d4c commit fd7a6ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scene/SceneManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,7 @@ var SceneManager = new Class({
* @since 3.16.0
*
* @generic {Phaser.Scene[]} T - [$return]
* @genericUse {T} - [$return]
*
* @param {boolean} [isActive=true] - Only include Scene's that are currently active?
* @param {boolean} [inReverse=false] - Return the array of Scenes in reverse?
Expand Down Expand Up @@ -885,6 +886,7 @@ var SceneManager = new Class({
*
* @generic {Phaser.Scene} T
* @genericUse {(T|string)} - [key]
* @genericUse {T} - [$return]
*
* @param {(string|Phaser.Scene)} key - The key of the Scene to retrieve.
*
Expand Down
1 change: 1 addition & 0 deletions src/scene/ScenePlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -1022,6 +1022,7 @@ var ScenePlugin = new Class({
*
* @generic {Phaser.Scene} T
* @genericUse {(T|string)} - [key]
* @genericUse {T} - [$return]
*
* @method Phaser.Scenes.ScenePlugin#get
* @since 3.0.0
Expand Down

0 comments on commit fd7a6ae

Please sign in to comment.