mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 23:53:50 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -13,20 +13,16 @@ namespace Chill\MainBundle\Search\Model;
|
||||
|
||||
class Result
|
||||
{
|
||||
private float $relevance;
|
||||
|
||||
/**
|
||||
* mixed an arbitrary result.
|
||||
*/
|
||||
private $result;
|
||||
|
||||
/**
|
||||
* @param $result
|
||||
*/
|
||||
public function __construct(float $relevance, $result)
|
||||
{
|
||||
$this->relevance = $relevance;
|
||||
$this->result = $result;
|
||||
public function __construct(
|
||||
private float $relevance,
|
||||
/**
|
||||
* mixed an arbitrary result.
|
||||
*/
|
||||
private $result
|
||||
) {
|
||||
}
|
||||
|
||||
public function getRelevance(): float
|
||||
|
Reference in New Issue
Block a user