Use base type for argument

This commit is contained in:
Haacked
2015-08-04 21:18:39 -07:00
parent 0b13411ef5
commit 8a7e5efa81
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -16,13 +16,13 @@ namespace Octokit
{
}
public NewAuthorization(string note, string[] scopes)
public NewAuthorization(string note, IEnumerable<string> scopes)
{
Scopes = scopes;
Note = note;
}
public NewAuthorization(string note, string[] scopes, string fingerprint)
public NewAuthorization(string note, IEnumerable<string> scopes, string fingerprint)
{
Scopes = scopes;
Note = note;