Skip to content

Commit a0857c5

Browse files
nikophilkbond
authored andcommitted
bot: fix cs [skip ci]
1 parent 5e068c4 commit a0857c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Fixture/DoctrineCascadeRelationship/DoctrineCascadeRelationshipMetadata.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ private function __construct(
2929
public function __toString(): string
3030
{
3131
// @phpstan-ignore argument.type
32-
$name = \sprintf('%s::$%s - %s', substr(strrchr($this->class, '\\'), 1), $this->field, $this->cascade ? 'cascade' : 'no cascade');
32+
$name = \sprintf('%s::$%s - %s', \mb_substr(\mb_strrchr($this->class, '\\'), 1), $this->field, $this->cascade ? 'cascade' : 'no cascade');
3333

3434
if ($this->orphanRemoval) {
3535
$name = "{$name} - (orphan removal)";
@@ -80,7 +80,7 @@ public static function allCombinations(array $relationshipFields): iterable
8080
}
8181
}
8282

83-
yield implode(' / ', $permutationName) => $temp;
83+
yield \implode(' / ', $permutationName) => $temp;
8484
}
8585

8686
if (!$hasOneToMany) {
@@ -96,6 +96,6 @@ public static function allCombinations(array $relationshipFields): iterable
9696
$temp[] = $metadata;
9797
$permutationName[] = (string) $metadata;
9898
}
99-
yield implode(' / ', $permutationName) => $temp;
99+
yield \implode(' / ', $permutationName) => $temp;
100100
}
101101
}

0 commit comments

Comments
 (0)