From 65a4738b6f05f97479f1aa36a4ba9f6b727a7af6 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Wed, 1 Nov 2023 16:11:13 +0100 Subject: [PATCH] Break the PHP linting --- Classes/Domain/Model/Product/Tea.php | 18 ++++++++++-------- Configuration/Extbase/Persistence/Classes.php | 2 +- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/Classes/Domain/Model/Product/Tea.php b/Classes/Domain/Model/Product/Tea.php index bc5f533..15fde31 100644 --- a/Classes/Domain/Model/Product/Tea.php +++ b/Classes/Domain/Model/Product/Tea.php @@ -25,13 +25,13 @@ class Tea extends AbstractEntity */ protected string $description; - private string $internalNotes; + private string $internalNotes; - /** - * @var FileReference|null - * @phpstan-var FileReference|LazyLoadingProxy|null - * @Extbase\ORM\Lazy - */ + /** + * @var FileReference|null + * @phpstan-var FileReference|LazyLoadingProxy|null + * @Extbase\ORM\Lazy + */ protected $image; // Note: We cannot use `@var` for the more specific type annotation here as this confuses the Extbase type mapper. @@ -61,11 +61,13 @@ class Tea extends AbstractEntity $this->description = $description; } - public function getInternalNotes(): string { + public function getInternalNotes(): string + { return $this->internalNotes; } - public function setInternalNotes(string $notes): void { + public function setInternalNotes(string $notes): void + { $this->internalNote = $notes; } diff --git a/Configuration/Extbase/Persistence/Classes.php b/Configuration/Extbase/Persistence/Classes.php index 6b92623..8a7b447 100644 --- a/Configuration/Extbase/Persistence/Classes.php +++ b/Configuration/Extbase/Persistence/Classes.php @@ -7,5 +7,5 @@ return [ 'properties' => [ 'ownerUid' => ['fieldName' => 'owner'], ], - ], + ],, ];