Skip to content

Commit

Permalink
TextRenderer: Remove unused index from filterParserPlugins loop
Browse files Browse the repository at this point in the history
  • Loading branch information
jnvsor committed Nov 16, 2023
1 parent b219428 commit c4f5fca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified build/kint.phar
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Renderer/TextRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ public function filterParserPlugins(array $plugins): array
{
$return = [];

foreach ($plugins as $index => $plugin) {
foreach ($plugins as $plugin) {
foreach (self::$parser_plugin_whitelist as $whitelist) {
if ($plugin instanceof $whitelist) {
$return[] = $plugin;
Expand Down

0 comments on commit c4f5fca

Please sign in to comment.