From 105a89806734bdee0134a1efb51c180386983272 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 1 Dec 2018 20:50:27 +0100 Subject: [PATCH] Make classes final --- Controller/BackendController.php | 2 +- Models/Invoice.php | 2 +- Models/InvoiceElement.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Controller/BackendController.php b/Controller/BackendController.php index b7b8244..7a393bf 100644 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -31,7 +31,7 @@ use phpOMS\Views\View; * @link http://website.orange-management.de * @since 1.0.0 */ -class BackendController extends Controller +final class BackendController extends Controller { /** diff --git a/Models/Invoice.php b/Models/Invoice.php index 1868c21..fa3c0a4 100644 --- a/Models/Invoice.php +++ b/Models/Invoice.php @@ -25,7 +25,7 @@ use phpOMS\Localization\Money; * @link http://website.orange-management.de * @since 1.0.0 */ -class Invoice implements \JsonSerializable +final class Invoice implements \JsonSerializable { private $id = 0; diff --git a/Models/InvoiceElement.php b/Models/InvoiceElement.php index 78d33dc..407eebb 100644 --- a/Models/InvoiceElement.php +++ b/Models/InvoiceElement.php @@ -22,7 +22,7 @@ namespace Modules\Billing\Models; * @link http://website.orange-management.de * @since 1.0.0 */ -class InvoiceElement implements \JsonSerializable +final class InvoiceElement implements \JsonSerializable { private $id = 0;