data['statusCode']; if ($statusCode === null) { $statusCode = 200; } if ($statusCode >= 200 && $statusCode < 300) { $class = 'yii-debug-toolbar__label_success'; } elseif ($statusCode >= 300 && $statusCode < 400) { $class = 'yii-debug-toolbar__label_info'; } else { $class = 'yii-debug-toolbar__label_important'; } $statusText = Html::encode(isset(Response::$httpStatuses[$statusCode]) ? Response::$httpStatuses[$statusCode] : ''); ?>