Skip to content

Commit 77cae09

Browse files
committed
Fixed this return types for Phaser.Geom.Rectangle
1 parent 24fbe81 commit 77cae09

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/geom/rectangle/Rectangle.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ var Rectangle = new Class({
174174
* @param {number} width - The width of the Rectangle.
175175
* @param {number} height - The height of the Rectangle.
176176
*
177-
* @return {Phaser.Geom.Rectangle} This Rectangle object.
177+
* @return {this} This Rectangle object.
178178
*/
179179
setTo: function (x, y, width, height)
180180
{
@@ -192,7 +192,7 @@ var Rectangle = new Class({
192192
* @method Phaser.Geom.Rectangle#setEmpty
193193
* @since 3.0.0
194194
*
195-
* @return {Phaser.Geom.Rectangle} This Rectangle object.
195+
* @return {this} This Rectangle object.
196196
*/
197197
setEmpty: function ()
198198
{
@@ -208,7 +208,7 @@ var Rectangle = new Class({
208208
* @param {number} x - The X coordinate of the top left corner of the Rectangle.
209209
* @param {number} [y=x] - The Y coordinate of the top left corner of the Rectangle.
210210
*
211-
* @return {Phaser.Geom.Rectangle} This Rectangle object.
211+
* @return {this} This Rectangle object.
212212
*/
213213
setPosition: function (x, y)
214214
{
@@ -229,7 +229,7 @@ var Rectangle = new Class({
229229
* @param {number} width - The width to set the Rectangle to.
230230
* @param {number} [height=width] - The height to set the Rectangle to.
231231
*
232-
* @return {Phaser.Geom.Rectangle} This Rectangle object.
232+
* @return {this} This Rectangle object.
233233
*/
234234
setSize: function (width, height)
235235
{

0 commit comments

Comments
 (0)