Code Duplication    Length = 3-3 lines in 2 locations

src/LogicalFilter.php 2 locations

@@ 776-778 (lines=3) @@
773
774
            // get line and file from the previous level of the caller
775
            // TODO go deeper if this case exist?
776
            if (! isset($caller['file'])) {
777
                $caller['file'] = $bt[ $callstack_depth - 3 ]['file'];
778
            }
779
780
            if (! isset($caller['line'])) {
781
                $caller['line'] = $bt[ $callstack_depth - 3 ]['line'];
@@ 780-782 (lines=3) @@
777
                $caller['file'] = $bt[ $callstack_depth - 3 ]['file'];
778
            }
779
780
            if (! isset($caller['line'])) {
781
                $caller['line'] = $bt[ $callstack_depth - 3 ]['line'];
782
            }
783
784
            try {
785
                echo "\n" . $caller['file'] . ':' . $caller['line'] . "\n";