Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Refactor cycle usage #699

Merged
merged 1 commit into from
Oct 23, 2014
Merged

[TASK] Refactor cycle usage #699

merged 1 commit into from
Oct 23, 2014

Conversation

coding46
Copy link
Member

Use the same $cycle value in 'cycle' assignment and isOdd / isEven calulation.
The change only brings better readability into the code. In case anybody reads it one might see clearer that $cycle % 2 leads to an even number and an odd one vice versa.

Use the same $cycle value in 'cycle' assignment and isOdd / isEven calulation.
The change only brings better readability into the code. In case anybody reads it one might see clearer that $cycle % 2 leads to an even number and odd vice versa.
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling ecd64a9 on coding46:patch-1 into dc69c67 on FluidTYPO3:development.

NamelessCoder added a commit that referenced this pull request Oct 23, 2014
[TASK] Refactor cycle usage
@NamelessCoder NamelessCoder merged commit e1a91f7 into FluidTYPO3:development Oct 23, 2014
@coding46 coding46 deleted the patch-1 branch November 2, 2014 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants