Skip to content

Commit

Permalink
Merge pull request #2 from koala-framework/fix-declaration
Browse files Browse the repository at this point in the history
fixed declaration of assemble function (php 7.2), added missing argument
  • Loading branch information
kaufmo authored May 8, 2018
2 parents c6ef273 + 3b9c524 commit 30f94db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/Zend/Rest/Route.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,10 @@ public function match($request, $partial = false)
* @param array $data An array of variable and value pairs used as parameters
* @param bool $reset Weither to reset the current params
* @param bool $encode Weither to return urlencoded string
* @param bool $partial
* @return string Route path with user submitted parameters
*/
public function assemble($data = array(), $reset = false, $encode = true)
public function assemble($data = array(), $reset = false, $encode = true, $partial = false)
{
if (!$this->_keysSet) {
if (null === $this->_request) {
Expand Down

0 comments on commit 30f94db

Please sign in to comment.