Updated ResultSetAdapter.php