Skip to content

Commit

Permalink
Fix bug in d947113 where $items was not defined (#68)
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Everts <timeverts@users.noreply.github.com>
  • Loading branch information
timeverts and timeverts authored Aug 31, 2021
1 parent 2d49d59 commit fef291e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Message/AbstractRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ public function getLineItems()
{
$line_items = array();

if (! $this->getItems()) {
if (!$items = $this->getItems()) {
return $line_items;
}

Expand All @@ -461,7 +461,7 @@ public function getLineItems()

return $line_items;
}

protected function createResponse($data)
{
return $this->response = new Response($this, $data);
Expand Down

0 comments on commit fef291e

Please sign in to comment.