Skip to content

Commit 28a363f

Browse files
committed
Fixing style errors.
1 parent 4b83afc commit 28a363f

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

templates/element/request_panel.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,46 +26,46 @@
2626
* @var string $matchedRoute
2727
*/
2828
?>
29-
<?php if (!empty($headers) && $headers['response']): ?>
29+
<?php if (!empty($headers) && $headers['response']) : ?>
3030
<h4><?= __d('debug_kit', 'Warning') ?></h4>
3131
<?= '<p class="warning">' . __d('debug_kit', 'Headers already sent at file {0} and line {1}.', [$headers['file'], $headers['line']]) . '</p>' ?>
3232
<?php endif; ?>
3333

3434
<h4><?= __d('debug_kit', 'Attributes') ?></h4>
3535
<?php
36-
if (empty($attributes)):
36+
if (empty($attributes)) :
3737
echo '<p class="info">' . __d('debug_kit', 'No attributes data.') . '</p>';
38-
else:
38+
else :
3939
echo $this->Toolbar->dump($attributes);
4040
endif;
4141
?>
4242

4343
<h4><?= __d('debug_kit', 'Post data') ?></h4>
4444
<?php
45-
if (empty($data)):
45+
if (empty($data)) :
4646
echo '<p class="info">' . __d('debug_kit', 'No post data.') . '</p>';
47-
else:
47+
else :
4848
echo $this->Toolbar->dump($data);
4949
endif;
5050
?>
5151

5252
<h4>Query string</h4>
5353
<?php
54-
if (empty($query)):
54+
if (empty($query)) :
5555
echo '<p class="info">' . __d('debug_kit', 'No querystring data.') . '</p>';
56-
else:
56+
else :
5757
echo $this->Toolbar->dump($query);
5858
endif;
5959
?>
6060

6161
<h4>Cookie</h4>
62-
<?php if (isset($cookie)): ?>
62+
<?php if (isset($cookie)) : ?>
6363
<?= $this->Toolbar->dump($cookie) ?>
64-
<?php else: ?>
64+
<?php else : ?>
6565
<p class="info"><?= __d('debug_kit', 'No Cookie data.') ?></p>
6666
<?php endif; ?>
6767

68-
<?php if (!empty($matchedRoute)): ?>
68+
<?php if (!empty($matchedRoute)) : ?>
6969
<h4><?= __d('debug_kit', 'Matched Route') ?></h4>
7070
<p><?= $this->Toolbar->dump(['template' => $matchedRoute]) ?></p>
7171
<?php endif; ?>

0 commit comments

Comments
 (0)