Skip to content

Commit b1516b9

Browse files
authored
Merge pull request #1304 from tweyseo/bugfix
bugfix:allow get() in sharedict return value and nil
2 parents 5da189e + 4955f43 commit b1516b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meta/3rd/OpenResty/library/ngx.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1277,7 +1277,7 @@ local DICT = {}
12771277
---
12781278
---@param key string
12791279
---@return ngx.shared.DICT.value? value
1280-
---@return ngx.shared.DICT.flags?|string? flags_or_error
1280+
---@return ngx.shared.DICT.flags|string|nil flags_or_error
12811281
function DICT:get(key) end
12821282

12831283

0 commit comments

Comments
 (0)