diff options
Diffstat (limited to 'src/guff/models/tag.cr')
-rw-r--r-- | src/guff/models/tag.cr | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/guff/models/tag.cr b/src/guff/models/tag.cr index 46a69eb..f4232ce 100644 --- a/src/guff/models/tag.cr +++ b/src/guff/models/tag.cr @@ -47,8 +47,8 @@ module Guff end def get_tags( - tags = [] of String : Array(String), - show_all = false : Bool, + tags : Array(String) = [] of String, + show_all : Bool = false, ) : Array(Hash(String, String | Int32)) r = [] of Hash(String, String | Int32) @@ -81,7 +81,7 @@ module Guff end def add_tags( - tags = [] of String : Array(String) + tags : Array(String) = [] of String, ) missing_tags = get_missing_tags(tags) @@ -95,7 +95,7 @@ module Guff end private def get_missing_tags( - tags = [] of String : Array(String) + tags : Array(String) = [] of String, ) : Array(String) # get ids of existing tags ids = get_ids(tags) @@ -105,7 +105,7 @@ module Guff end private def get_ids( - tags = [] of String : Array(String) + tags : Array(String) = [] of String, ) : Hash(String, Int32) r = {} of String => Int32 |