mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
upgrade php-cs-fixer to 3.47.0
This commit is contained in:
@@ -79,7 +79,7 @@ class SocialAction
|
||||
/**
|
||||
* @ORM\ManyToOne(targetEntity=SocialIssue::class, inversedBy="socialActions")
|
||||
*/
|
||||
private ?\Chill\PersonBundle\Entity\SocialWork\SocialIssue $issue = null;
|
||||
private ?SocialIssue $issue = null;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="float", name="ordering", options={"default": 0.0})
|
||||
@@ -89,7 +89,7 @@ class SocialAction
|
||||
/**
|
||||
* @ORM\ManyToOne(targetEntity=SocialAction::class, inversedBy="children")
|
||||
*/
|
||||
private ?\Chill\PersonBundle\Entity\SocialWork\SocialAction $parent = null;
|
||||
private ?SocialAction $parent = null;
|
||||
|
||||
/**
|
||||
* @var Collection<Result>
|
||||
@@ -166,7 +166,7 @@ class SocialAction
|
||||
*
|
||||
* @return Collection|SocialAction[] a list with the elements of the given list which are parent of other elements in the given list
|
||||
*/
|
||||
public static function findAncestorSocialActions(array|\Doctrine\Common\Collections\Collection $socialActions): Collection
|
||||
public static function findAncestorSocialActions(array|Collection $socialActions): Collection
|
||||
{
|
||||
$ancestors = new ArrayCollection();
|
||||
|
||||
@@ -246,7 +246,7 @@ class SocialAction
|
||||
/**
|
||||
* @param Collection|SocialAction[] $socialActions
|
||||
*/
|
||||
public static function getDescendantsWithThisForActions(array|\Doctrine\Common\Collections\Collection $socialActions): Collection
|
||||
public static function getDescendantsWithThisForActions(array|Collection $socialActions): Collection
|
||||
{
|
||||
$unique = [];
|
||||
|
||||
|
Reference in New Issue
Block a user