@mnapoli opened this issue on October 7th 2014

I have refactored the code a bit to make it (hopefully) more readable.

The diff is going crazy, but basically I have just replaced this:

if (self::manageEvent($reportType)) {
    // big block of code

By this:

if (! self::manageEvent($reportType)) {

// big block of code

It's not much but it removes one level of indentation in almost the whole class (almost all the methods were like that), which is kind of nice.

(by the way this is one of the "object calisthenics" rules)

@mattab commented on October 8th 2014

Nice change improving readability!

This issue was closed on October 8th 2014
Powered by GitHub Issue Mirror