Skip to content

Commit 940efd7

Browse files
committed
fix spaces
1 parent 7be9a41 commit 940efd7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

EventListener/StringGeneratorListener.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ private function generateId($property, Vivait\StringGenerator $annotation)
7272
$str = sprintf("%s%s%s", $annotation->prefix, $annotation->separator, $str);
7373
}
7474

75-
if (!$annotation->unique) {
76-
return $str;
77-
}
75+
if (!$annotation->unique) {
76+
return $str;
77+
}
7878

7979
if ($this->repo->findOneBy([$property => $str])) {
8080
return $this->generateId($property, $annotation);

0 commit comments

Comments
 (0)