Session.php
public function destroy($id)
    {
        $db = Database::database();
        return $db->prepare('DELETE FROM sessions WHERE user_id = UNHEX(?) OR session_id = ?')->execute([self::$user_id, $id]) ?
            true : false;
    }
public function destroy($id)
    {
        $db = Database::database();
        return $db->prepare('DELETE FROM sessions WHERE user_id = UNHEX(?) OR session_id = ?')->execute([self::$user_id, $id]) ?
            true : false;
    }
This method can be run explicit or through
session_destroy()
@param string $id
@return bool