mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 10:05:03 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -11,20 +11,15 @@ declare(strict_types=1);
|
||||
|
||||
namespace Chill\MainBundle\Search;
|
||||
|
||||
use RuntimeException;
|
||||
use Throwable;
|
||||
|
||||
use function implode;
|
||||
|
||||
class SearchApiNoQueryException extends RuntimeException
|
||||
class SearchApiNoQueryException extends \RuntimeException
|
||||
{
|
||||
private readonly string $pattern;
|
||||
|
||||
private readonly array $types;
|
||||
|
||||
public function __construct(string $pattern = '', array $types = [], private readonly 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);
|
||||
$typesStr = \implode(', ', $types);
|
||||
$message = "No query for this search: pattern : {$pattern}, types: {$typesStr}";
|
||||
$this->pattern = $pattern;
|
||||
$this->types = $types;
|
||||
|
Reference in New Issue
Block a user