Skip to content

Commit

Permalink
Update Order.php
Browse files Browse the repository at this point in the history
getUrl may return `null`, cannot use `?string` return type yet, because of PHP version constraint.
  • Loading branch information
bramstroker authored Feb 7, 2020
1 parent dc0536d commit 8d98ab8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Model/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public function setFirstOrder(bool $firstOrder)
/**
* @return string
*/
public function getUrl(): string
public function getUrl()
{
return $this->url;
}
Expand Down Expand Up @@ -364,4 +364,4 @@ function ($listViewItem) {

return $data;
}
}
}

0 comments on commit 8d98ab8

Please sign in to comment.