mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 23:53:50 +00:00
Apply rector rules: symfony up to 54
This commit is contained in:
@@ -19,17 +19,13 @@ class SearchApiResult
|
||||
|
||||
public function __construct(private readonly float $relevance) {}
|
||||
|
||||
/**
|
||||
* @Serializer\Groups({"read"})
|
||||
*/
|
||||
#[Serializer\Groups(['read'])]
|
||||
public function getRelevance(): float
|
||||
{
|
||||
return $this->relevance;
|
||||
}
|
||||
|
||||
/**
|
||||
* @Serializer\Groups({"read"})
|
||||
*/
|
||||
#[Serializer\Groups(['read'])]
|
||||
public function getResult()
|
||||
{
|
||||
return $this->result;
|
||||
|
Reference in New Issue
Block a user