mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-27 09:05:01 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -23,8 +23,7 @@ class RelatedEntityWorkflowSupportsStrategy implements WorkflowSupportStrategyIn
|
||||
return false;
|
||||
}
|
||||
|
||||
foreach ($workflow->getMetadataStore()->getWorkflowMetadata()['related_entity']
|
||||
as $relatedEntityClass) {
|
||||
foreach ($workflow->getMetadataStore()->getWorkflowMetadata()['related_entity'] as $relatedEntityClass) {
|
||||
if ($subject->getRelatedEntityClass() === $relatedEntityClass) {
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user