protected function findTemplate(Request $request, $format, $code, $showException)
{
$name = $showException ? 'exception' : 'error';
- if ($showException && 'html' == $format) {
+ if ($showException && 'html' === $format) {
$name = 'exception_full';
}