re-add mixed return type

This commit is contained in:
Christian Flothmann
2025-02-14 13:36:34 +01:00
parent 3e213d14f3
commit 3a903664a8
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -18,6 +18,7 @@ return (new Config())
'single_line_throw' => false,
'ordered_imports' => true,
'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'],
'no_superfluous_phpdoc_tags' => ['allow_mixed' => true],
])
->setRiskyAllowed(true)
->setParallelConfig(ParallelConfigFactory::detect())
+3
View File
@@ -46,6 +46,9 @@ class Markup implements \Countable, \JsonSerializable, \Stringable
return mb_strlen($this->content, $this->charset);
}
/**
* @return mixed
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{