apply more cs rules for php-cs

This commit is contained in:
2023-10-17 13:27:03 +02:00
parent 0b0cbed9db
commit bc2041cbdd
1485 changed files with 8169 additions and 9620 deletions

View File

@@ -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;