mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-27 17:15:02 +00:00
apply rules rector up to php82
This commit is contained in:
@@ -18,11 +18,11 @@ use function implode;
|
||||
|
||||
class SearchApiNoQueryException extends RuntimeException
|
||||
{
|
||||
private string $pattern;
|
||||
private readonly string $pattern;
|
||||
|
||||
private array $types;
|
||||
private readonly array $types;
|
||||
|
||||
public function __construct(string $pattern = '', array $types = [], private array $parameters = [], $code = 0, ?Throwable $previous = null)
|
||||
public function __construct(string $pattern = '', array $types = [], private readonly array $parameters = [], $code = 0, ?Throwable $previous = null)
|
||||
{
|
||||
$typesStr = implode(', ', $types);
|
||||
$message = "No query for this search: pattern : {$pattern}, types: {$typesStr}";
|
||||
|
Reference in New Issue
Block a user