Stronger typing and function access control in OStatus

This commit is contained in:
Mikael Nordfeldth
2014-05-05 19:06:22 +02:00
parent 30f4f5606c
commit bbada781b7
3 changed files with 7 additions and 8 deletions

View 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;