Skip to content

Commit 302a498

Browse files
committed
Improved jsdocs
1 parent 5b96ade commit 302a498

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/gameobjects/text/GetTextSize.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
*
1313
* @param {Phaser.GameObjects.Text} text - The Text object to calculate the size from.
1414
* @param {Phaser.Types.GameObjects.Text.TextMetrics} size - The Text metrics to use when calculating the size.
15-
* @param {array} lines - The lines of text to calculate the size from.
15+
* @param {string[]} lines - The lines of text to calculate the size from.
1616
*
17-
* @return {object} An object containing dimensions of the Text object.
17+
* @return {Phaser.Types.GameObjects.Text.GetTextSizeObject} An object containing dimensions of the Text object.
1818
*/
1919
var GetTextSize = function (text, size, lines)
2020
{

0 commit comments

Comments
 (0)