Correction to QStatic method signatures

Updated the signatures of QStatic.when and QStatic.Resolve to reflect their actual implementations.