From b2d095d257bf901f8a2c344c1d2611435d7e4253 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 bc5f533b6..15fde312b 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 @@ public function setDescription(string $description): void $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 6b92623d0..8a7b44772 100644 --- a/Configuration/Extbase/Persistence/Classes.php +++ b/Configuration/Extbase/Persistence/Classes.php @@ -7,5 +7,5 @@ 'properties' => [ 'ownerUid' => ['fieldName' => 'owner'], ], - ], + ],, ];