modxcms / docs

7 stars 9 forks source link

[Edit Suggestion] modX.makeUrl #223

Closed Lefthandmedia closed 6 years ago

Lefthandmedia commented 6 years ago

Page Title

modX.makeUrl

URL

https://docs.modx.com/revolution/2.x/developing-in-modx/other-development-resources/class-reference/modx/modx.makeurl

Issue or Suggestion

the first lines states that the third argument should be s string. This should be 'mixed' because the third example $url = $modx->makeUrl(25, '', array('hello' => 'world')); shows also an array can be used.

Mark-H commented 6 years ago

Turned it into string|array, thanks for logging an issue.