farrelley/Elastica — comment on commit 852dd82113dd3a584c27db3c6a1b2b162740097b
File: test/lib/Elastica/TypeTest.php line 220
By ruflin:

Looks good. The only thing I do differntly normally is to add the fail directly after $type->getMapping() as I don't like functions that do not run until the end (return in the middle). But both works exactly the same.