aboutsummaryrefslogtreecommitdiffstats
path: root/.homeinstall
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2023-07-18 20:18:42 +0200
committerHarald Eilertsen <haraldei@anduin.net>2023-07-18 20:18:42 +0200
commita06e8bfaee7de3bc8c2691e8d6462a52d5345e09 (patch)
treeaff30b4adc103ab515436339c13456750e750f91 /.homeinstall
parent330add963dbe2195e0613f35b8f63c15eee585a0 (diff)
downloadvolse-hubzilla-a06e8bfaee7de3bc8c2691e8d6462a52d5345e09.tar.gz
volse-hubzilla-a06e8bfaee7de3bc8c2691e8d6462a52d5345e09.tar.bz2
volse-hubzilla-a06e8bfaee7de3bc8c2691e8d6462a52d5345e09.zip
Zotlabs: Improve type safety for AccessList class.
Add type annotations for constructor and set* methods, and throw an exception if the passed in arrays are missing required keys. This means that both invalid input types and missing keys will throw and exception rather than just die with a runtime error. There's not checks to verify that the contents of the required array keys are valid or make sense, though. They are just assigned, and returned as is by the get method when requested. Also, the set_from_array method is not well tested at the moment.
Diffstat (limited to '.homeinstall')
0 files changed, 0 insertions, 0 deletions