Skip to content

Commit

Permalink
TablePlugin: Add comment on interaction with ArrayLimitPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jnvsor committed Nov 12, 2023
1 parent b150e80 commit df10b68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Binary file modified build/kint.phar
Binary file not shown.
6 changes: 6 additions & 0 deletions src/Parser/TablePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
use Kint\Zval\Representation\Representation;
use Kint\Zval\Value;

// Note: Interaction with ArrayLimitPlugin:
// Any array limited children will be shown in tables identically to
// non-array-limited children since the table only shows that it is an array
// and it's size anyway. Because ArrayLimitPlugin halts the parse on finding
// a limit all other plugins including this one are stopped, so you cannot get
// a tabular representation of an array that is longer than the limit.
class TablePlugin extends AbstractPlugin
{
public function getTypes(): array
Expand Down

0 comments on commit df10b68

Please sign in to comment.