mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-10 00:16:13 +01:00

Break the PHP linting

This commit is contained in:
Oliver Klee 2023-11-01 16:11:13 +01:00
parent 3eb190d584
commit 65a4738b6f
2 changed files with 11 additions and 9 deletions

View file

@ -25,13 +25,13 @@ class Tea extends AbstractEntity
*/ */
protected string $description; protected string $description;
private string $internalNotes; private string $internalNotes;
/** /**
* @var FileReference|null * @var FileReference|null
* @phpstan-var FileReference|LazyLoadingProxy|null * @phpstan-var FileReference|LazyLoadingProxy|null
* @Extbase\ORM\Lazy * @Extbase\ORM\Lazy
*/ */
protected $image; protected $image;
// Note: We cannot use `@var` for the more specific type annotation here as this confuses the Extbase type mapper. // 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; $this->description = $description;
} }
public function getInternalNotes(): string { public function getInternalNotes(): string
{
return $this->internalNotes; return $this->internalNotes;
} }
public function setInternalNotes(string $notes): void { public function setInternalNotes(string $notes): void
{
$this->internalNote = $notes; $this->internalNote = $notes;
} }

View file

@ -7,5 +7,5 @@ return [
'properties' => [ 'properties' => [
'ownerUid' => ['fieldName' => 'owner'], 'ownerUid' => ['fieldName' => 'owner'],
], ],
], ],,
]; ];