Update QueryBuilder.php

Change <code>array_reduce</code> with anonimous function variant to easy string collection from pieces of unions.