]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OStatus/lib/salmon.php
Stronger typing and function access control in OStatus
[quix0rs-gnu-social.git] / plugins / OStatus / lib / salmon.php
index c93b314f8ab4161b084eb1e469b84f6180d53fdf..244fe4748b5b4aaa59c2d7d21ea926523c66e0da 100644 (file)
@@ -46,7 +46,7 @@ class Salmon
      * @param Profile $actor local user profile whose keys to sign with
      * @return boolean success
      */
-    public function post($endpoint_uri, $xml, $actor)
+    public function post($endpoint_uri, $xml, Profile $actor)
     {
         if (empty($endpoint_uri)) {
             return false;