From 4ca8c7bef6f57850f6dbd8cd84cfceeb79e03e02 Mon Sep 17 00:00:00 2001 From: Tobias Wolf Date: Wed, 16 Nov 2022 10:07:44 +0100 Subject: [PATCH] Adds desription to OrderPageAbstract::title() --- models/orderPageAbstract.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/models/orderPageAbstract.php b/models/orderPageAbstract.php index 741ee52..68b635e 100644 --- a/models/orderPageAbstract.php +++ b/models/orderPageAbstract.php @@ -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()); }