Apply new rector rules regarding to PHP version to 8.4

This commit is contained in:
2025-11-03 13:36:51 +01:00
parent d6f5ef4bb1
commit cdc489f01e
1086 changed files with 2219 additions and 1378 deletions

View File

@@ -25,7 +25,7 @@ trait PrepareActivityTrait
*/
public function prepareActivity(Scope $scope, Person $person): Activity
{
return (new Activity())
return new Activity()
->setScope($scope)
->setPerson($person);
}