mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-10 00:36: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;
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;
}

View file

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