Skip to content

Commit

Permalink
Adds desription to OrderPageAbstract::title()
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasfabian committed Nov 16, 2022
1 parent ed7a4af commit 4ca8c7b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion models/orderPageAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ public function errors(): array
return $form->errors();
}

public function title(): \Kirby\Cms\Field
/**
* Returns invoiceNumber
*/
public function title(): Field
{
return new Field($this, 'title', $this->invoiceNumber());
}
Expand Down

0 comments on commit 4ca8c7b

Please sign in to comment.