Update connector.php

Using MySQL constants in getFetchConstant(). 
Switch optimization by grouping "BOTH" and "MYSQL_BOTH" with "default".
Removing breaks, because we are using return.