Skip to content

Commit cb9873b

Browse files
committed
Code formatting
1 parent a2c0ba2 commit cb9873b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

test/webstorage/StorageTest.hx

+6-3
Original file line numberDiff line numberDiff line change
@@ -349,11 +349,14 @@ using StringTools;
349349
}
350350

351351
/** Gets the value associated with the specified storage key. **/
352-
inline function getStorage(key: String) return window.sessionStorage.getItem(key);
352+
inline function getStorage(key: String): Null<String>
353+
return window.sessionStorage.getItem(key);
353354

354355
/** Removes the value associated with the specified storage key. **/
355-
inline function removeStorage(key: String) window.sessionStorage.removeItem(key);
356+
inline function removeStorage(key: String): Void
357+
window.sessionStorage.removeItem(key);
356358

357359
/** Associates a value with the specified storage key. **/
358-
inline function setStorage(key: String, value: String) window.sessionStorage.setItem(key, value);
360+
inline function setStorage(key: String, value: String): Void
361+
window.sessionStorage.setItem(key, value);
359362
}

0 commit comments

Comments
 (0)