mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
cs fixer
This commit is contained in:
@@ -230,7 +230,6 @@ class SocialAction
|
||||
|
||||
/**
|
||||
* @param Collection|SocialAction[] $socialActions
|
||||
* @return Collection
|
||||
*/
|
||||
public static function getDescendantsWithThisForActions($socialActions): Collection
|
||||
{
|
||||
@@ -291,16 +290,16 @@ class SocialAction
|
||||
return $this->title;
|
||||
}
|
||||
|
||||
public function hasParent(): bool
|
||||
{
|
||||
return $this->getParent() instanceof self;
|
||||
}
|
||||
|
||||
public function hasChildren(): bool
|
||||
{
|
||||
return 0 < $this->getChildren()->count();
|
||||
}
|
||||
|
||||
public function hasParent(): bool
|
||||
{
|
||||
return $this->getParent() instanceof self;
|
||||
}
|
||||
|
||||
/**
|
||||
* Recursive method which return true if the current $action
|
||||
* is a descendant of the $action given in parameter.
|
||||
|
Reference in New Issue
Block a user