leroy-merlin-br/mongolid-laravel — pull request #65 by rplansky (2014-07-22 05:07:35+00:00)
Title: Code style to fit PSR and removed some unnecessary 'else' statements

- Code style was adapted to fit PSR;
- Removed some unnecessary 'else' statements to make execution flow more readable and decrease nested code. (@see http://refactoring.com/catalog/replaceNestedConditionalWithGuardClauses.html);
- Changed an 'if' condition into MongoLid::save() method to avoid call isValid() when '$force' argument is true;