Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
extract
method to avoid recalculating count() for each iteration.
Cache the value of `count($attributes)` to avoid recalculating it for each iteration of the loop. Since this count will never change during the method execution, this change make the code a bit more efficient.
- Loading branch information