11<?php
2+ declare (strict_types=1 );
23
34namespace Nette \Bridges \ApplicationTracy ;
45
@@ -62,7 +63,7 @@ use Tracy\Dumper;
6263
6364 <td><code>
6465 <?php foreach ($ router ['defaults ' ] as $ key => $ value ): ?>
65- <?= htmlspecialchars ($ key , ENT_IGNORE , 'UTF-8 ' ), ' = ' , is_string ($ value ) ? htmlspecialchars ($ value , ENT_IGNORE , 'UTF-8 ' ) . '<br /> ' : Dumper::toHtml ($ value , [Dumper::COLLAPSE => true , Dumper::LIVE => true ]) ?>
66+ <?= htmlspecialchars (( string ) $ key , ENT_IGNORE , 'UTF-8 ' ), ' = ' , is_string ($ value ) ? htmlspecialchars ($ value , ENT_IGNORE , 'UTF-8 ' ) . '<br /> ' : Dumper::toHtml ($ value , [Dumper::COLLAPSE => true , Dumper::LIVE => true ]) ?>
6667 <?php endforeach ?>
6768 </code></td>
6869
@@ -73,7 +74,7 @@ use Tracy\Dumper;
7374 <strong><?= htmlspecialchars ($ router ['request ' ]->getPresenterName () . ': ' . (isset ($ params [Presenter::ACTION_KEY ]) ? $ params [Presenter::ACTION_KEY ] : Presenter::DEFAULT_ACTION ), ENT_NOQUOTES , 'UTF-8 ' ) ?> </strong><br />
7475 <?php unset($ params [Presenter::ACTION_KEY ]) ?>
7576 <?php foreach ($ params as $ key => $ value ): ?>
76- <?= htmlspecialchars ($ key , ENT_IGNORE , 'UTF-8 ' ), ' = ' , is_string ($ value ) ? htmlspecialchars ($ value , ENT_IGNORE , 'UTF-8 ' ) . '<br /> ' : Dumper::toHtml ($ value , [Dumper::COLLAPSE => true , Dumper::LIVE => true ]) ?>
77+ <?= htmlspecialchars (( string ) $ key , ENT_IGNORE , 'UTF-8 ' ), ' = ' , is_string ($ value ) ? htmlspecialchars ($ value , ENT_IGNORE , 'UTF-8 ' ) . '<br /> ' : Dumper::toHtml ($ value , [Dumper::COLLAPSE => true , Dumper::LIVE => true ]) ?>
7778 <?php endforeach ?>
7879 </code><?php endif ?> </td>
7980 </tr>
0 commit comments