Skip to content

Commit 4e01766

Browse files
committed
Fix return type in Text#getTextMetrics: object -> Phaser.Types.GameObjects.Text.TextMetric
1 parent d6e8600 commit 4e01766

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gameobjects/text/static/Text.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,7 @@ var Text = new Class({
12991299
* @method Phaser.GameObjects.Text#getTextMetrics
13001300
* @since 3.0.0
13011301
*
1302-
* @return {object} The text metrics.
1302+
* @return {Phaser.Types.GameObjects.Text.TextMetrics} The text metrics.
13031303
*/
13041304
getTextMetrics: function ()
13051305
{

0 commit comments

Comments
 (0)