staudenmeir / belongs-to-through

Laravel Eloquent BelongsToThrough relationships
MIT License
1.15k stars 88 forks source link

Possibly unnecessary LOC #14

Closed znck closed 8 years ago

znck commented 8 years ago

This line of code is not covered by any of the tests.

...
            if ($lastIndex === $index) {
                $prev = $this->prefix.$prev; // TODO: Check if this line is really necessary. Its not covered by any of the tests.
            }
...

Is it required in some condition or can be dropped?