Upgrade framework
This commit is contained in:
20
vendor/spatie/ignition/src/ErrorPage/Renderer.php
vendored
Normal file
20
vendor/spatie/ignition/src/ErrorPage/Renderer.php
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Spatie\Ignition\ErrorPage;
|
||||
|
||||
class Renderer
|
||||
{
|
||||
/**
|
||||
* @param array<string, mixed> $data
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function render(array $data): void
|
||||
{
|
||||
$viewFile = __DIR__ . '/../../resources/views/errorPage.php';
|
||||
|
||||
extract($data, EXTR_OVERWRITE);
|
||||
|
||||
include $viewFile;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user