Typing and static declaration in PoCo class

This commit is contained in:
Mikael Nordfeldth
2013-10-06 03:48:41 +02:00
parent 64dbd93534
commit 5f867f98c2
2 changed files with 3 additions and 11 deletions

View File

@@ -505,7 +505,7 @@ class ActivityObject
return $object;
}
static function fromGroup($group)
static function fromGroup(User_group $group)
{
$object = new ActivityObject();