Debug using KernelInterface instead HttpKernelInterface

This commit is contained in:
marcu 2021-11-30 12:30:04 +01:00
parent d026be3041
commit 2993dab3f7

View File

@ -31,17 +31,17 @@ use ChampsLibres\AsyncUploaderBundle\TempUrl\TempUrlOpenstackGenerator;
use Jose\Component\Core\JWK;
use Base64Url\Base64Url;
use Symfony\Component\HttpKernel\HttpKernelInterface;
use Symfony\Component\HttpKernel\KernelInterface;
// TODO à mettre dans services
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
class DocGeneratorTemplateController extends AbstractController
final class DocGeneratorTemplateController extends AbstractController
{
protected $kernel;
private KernelInterface $kernel;
public function __construct(HttpKernelInterface $kernel)
public function __construct(KernelInterface $kernel)
{
$this->kernel = $kernel;
}