mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Optimized checks order in conditions
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
/* @var $end integer */
|
||||
/* @var $handler \yii\web\ErrorHandler */
|
||||
?>
|
||||
<li class="<?php if (!$handler->isCoreFile($file) || $index === 1) echo 'application'; ?> call-stack-item"
|
||||
<li class="<?php if ($index === 1 || !$handler->isCoreFile($file)) echo 'application'; ?> call-stack-item"
|
||||
data-line="<?= (int) ($line - $begin) ?>">
|
||||
<div class="element-wrap">
|
||||
<div class="element">
|
||||
|
Reference in New Issue
Block a user