mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-01-05 17:01:24 +00:00
Remove no longer used annotation use statements and replace with attribute use statements
This commit is contained in:
@@ -22,10 +22,8 @@ trait PrepareActivityTrait
|
||||
{
|
||||
/**
|
||||
* Return an activity with a scope and a person inside.
|
||||
*
|
||||
* @return Activity
|
||||
*/
|
||||
public function prepareActivity(Scope $scope, Person $person): \Chill\ActivityBundle\Entity\Activity
|
||||
public function prepareActivity(Scope $scope, Person $person): Activity
|
||||
{
|
||||
return (new Activity())
|
||||
->setScope($scope)
|
||||
|
||||
Reference in New Issue
Block a user