mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-15 01:39:42 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -11,16 +11,13 @@ declare(strict_types=1);
|
||||
|
||||
namespace Chill\DocGeneratorBundle\GeneratorDriver\Exception;
|
||||
|
||||
use RuntimeException;
|
||||
use Throwable;
|
||||
|
||||
/**
|
||||
* A exception to throw when there are syntax errors in the
|
||||
* template file.
|
||||
*/
|
||||
class TemplateException extends RuntimeException
|
||||
class TemplateException extends \RuntimeException
|
||||
{
|
||||
public function __construct(private readonly array $errors, $code = 0, ?Throwable $previous = null)
|
||||
public function __construct(private readonly array $errors, $code = 0, \Throwable $previous = null)
|
||||
{
|
||||
parent::__construct('Error while generating document from template', $code, $previous);
|
||||
}
|
||||
|
Reference in New Issue
Block a user