Closed Lefthandmedia closed 6 years ago
modX.makeUrl
https://docs.modx.com/revolution/2.x/developing-in-modx/other-development-resources/class-reference/modx/modx.makeurl
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.
$url = $modx->makeUrl(25, '', array('hello' => 'world'));
Turned it into string|array, thanks for logging an issue.
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.