Fixed further inspection issues

This commit is contained in:
Jan Böhmer 2024-03-03 20:33:24 +01:00
parent 33e36f3d2b
commit 87533b6031
37 changed files with 46 additions and 71 deletions

View file

@ -42,7 +42,7 @@ class EntityColumn extends AbstractColumn
* @param mixed $value The single value of the column
* @return mixed
*/
public function normalize($value): mixed
public function normalize(mixed $value): mixed
{
/** @var AbstractNamedDBElement $value */
return $value;

View file

@ -37,7 +37,7 @@ class MarkdownColumn extends AbstractColumn
* @param mixed $value The single value of the column
* @return string
*/
public function normalize($value): string
public function normalize(mixed $value): string
{
return $this->markdown->markForRendering($value, true);
}

View file

@ -43,7 +43,7 @@ class PartAttachmentsColumn extends AbstractColumn
* @param mixed $value The single value of the column
* @return mixed
*/
public function normalize($value): mixed
public function normalize(mixed $value): mixed
{
return $value;
}

View file

@ -37,7 +37,7 @@ class TagsColumn extends AbstractColumn
* @param mixed $value The single value of the column
* @return mixed
*/
public function normalize($value): mixed
public function normalize(mixed $value): mixed
{
if (empty($value)) {
return [];