Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ref.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function r(){

// something went wrong while trying to parse the source expressions?
// if so, silently ignore this part and leave out the expression info
if(func_num_args() !== count($expressions))
if($expressions instanceof \Countable && func_num_args() !== count($expressions))
$expressions = null;

// use HTML formatter only if we're not in CLI mode, or if return was requested
Expand Down