]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Mapstraction/actions/map.php
Fixed more type-hints for safety.
[quix0rs-gnu-social.git] / plugins / Mapstraction / actions / map.php
index 4db127ec5075d05c84efb0e4c413cae7e6f24457..3fad900b5a3e9754bb4daf906ba0e1ee9aa935fa 100644 (file)
@@ -133,7 +133,7 @@ class MapAction extends Action
         return true;
     }
 
-    function noticeAsJson($notice)
+    function noticeAsJson(Notice $notice)
     {
         // FIXME: this code should be abstracted to a neutral third
         // party, like Notice::asJson(). I'm not sure of the ethics