laravel/laravel — pull request #314 by loic-sharma (2012-02-07 02:26:02+00:00)
Title: Query bindings

Converts query bindings to an array if they are not already. This is something I like to do as it look cleaner in my opinion.

Compare:

DB::query('SELECT * FROM table WHERE id = ?', $id);

To:

DB::query('SELECT * FROM table WHERE id = ?', array($id));

Hope everything goes right, this is my very first pull request! :)