Try Fixing some Scrutinizer fails

Signed-off-by: Benoît Burnichon <bburnichon@gmail.com>
Split method into setter/getter

Signed-off-by: Benoît Burnichon <bburnichon@gmail.com>
Add specific setSQLParameters method

Signed-off-by: Benoît Burnichon <bburnichon@gmail.com>