mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 23:53:50 +00:00
apply rector rules: php up to php82
This commit is contained in:
@@ -15,11 +15,9 @@ use Symfony\Component\Serializer\Annotation as Serializer;
|
||||
|
||||
class SearchApiResult
|
||||
{
|
||||
private float $pertinence;
|
||||
private mixed $result;
|
||||
|
||||
private $result;
|
||||
|
||||
public function __construct(private float $relevance)
|
||||
public function __construct(private readonly float $relevance)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -39,7 +37,7 @@ class SearchApiResult
|
||||
return $this->result;
|
||||
}
|
||||
|
||||
public function setResult($result): self
|
||||
public function setResult(mixed $result): self
|
||||
{
|
||||
$this->result = $result;
|
||||
|
||||
|
Reference in New Issue
Block a user