]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Force arrays in constructors of ActivityStreamJSONDocument and JSONActivityCollection
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 10 Jul 2017 12:26:01 +0000 (14:26 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 10 Jul 2017 12:26:01 +0000 (14:26 +0200)
commita7df79ac073d3d6dad13cc0fa3cd1224c9bde933
tree6d18b69880eb85f7c229f352338743798ecb17a2
parent31866be98bdc3dfccabd0c0f262a769c7dc68db2
Force arrays in constructors of ActivityStreamJSONDocument and JSONActivityCollection

Started using PHP7+ and it started complaining about count() being fed objects
that weren't "Countable". .)
lib/activitystreamjsondocument.php
lib/jsonactivitycollection.php