Skip to content

Commit fda7772

Browse files
committed
Fixed jsdocs to flag arguments as optional. Fix phaserjs#4506
1 parent 935a981 commit fda7772

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176

177177
My thanks to the following for helping with the Phaser 3 Examples, Docs and TypeScript definitions, either by reporting errors, fixing them or helping author the docs:
178178

179-
@sky-coding @G-Rath @S4n60w3n @rootasjey @englercj @josephmbustamante @Jason-Cooke @Zamiell @krzysztof-grzybek @S4n60w3n @m31271n @peterellisjones @martinlindhe @TylerMorley @samme
179+
@sky-coding @G-Rath @S4n60w3n @rootasjey @englercj @josephmbustamante @Jason-Cooke @Zamiell @krzysztof-grzybek @S4n60w3n @m31271n @peterellisjones @martinlindhe @TylerMorley @samme @schomatis
180180

181181

182182
## Version 3.16.2 - Ishikawa - 11th February 2019

src/physics/matter-js/Factory.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ var Factory = new Class({
115115
* @param {number} x - The X coordinate of the center of the Body.
116116
* @param {number} y - The Y coordinate of the center of the Body.
117117
* @param {number} radius - The radius of the circle.
118-
* @param {object} options - An object of properties to set on the Body. You can also specify a `chamfer` property to automatically adjust the body.
119-
* @param {number} maxSides - The maximum amount of sides to use for the polygon which will approximate this circle.
118+
* @param {object} [options] - An object of properties to set on the Body. You can also specify a `chamfer` property to automatically adjust the body.
119+
* @param {number} [maxSides] - The maximum amount of sides to use for the polygon which will approximate this circle.
120120
*
121121
* @return {MatterJS.Body} A Matter JS Body.
122122
*/

0 commit comments

Comments
 (0)