Use mixed as type

Actually query() returns a value of the type "mixed" (as is also stated in the interface) - this is purely there to make our IDEs and Scrutinizer happier.

@Raydiation