Code Duplication    Length = 7-7 lines in 2 locations

src/RunOpenCode/Bundle/DoctrineNamingStrategy/NamingStrategy/NamerCollection.php 2 locations

@@ 194-200 (lines=7) @@
191
    public function joinTableName($sourceEntity, $targetEntity, $propertyName = null)
192
    {
193
        switch ($this->concatenation) {
194
            case self::UCFIRST:
195
                return
196
                    $this->classToTableName($sourceEntity) . ucfirst($this->classToTableName($targetEntity))
197
                    .
198
                    (($this->joinTableFieldSuffix && !empty($propertyName)) ? ucfirst($this->propertyToColumnName($propertyName, $sourceEntity)) : '')
199
                    ;
200
                break;
201
            case self::NOTHING:
202
                return
203
                    $this->classToTableName($sourceEntity) . $this->classToTableName($targetEntity)
@@ 201-207 (lines=7) @@
198
                    (($this->joinTableFieldSuffix && !empty($propertyName)) ? ucfirst($this->propertyToColumnName($propertyName, $sourceEntity)) : '')
199
                    ;
200
                break;
201
            case self::NOTHING:
202
                return
203
                    $this->classToTableName($sourceEntity) . $this->classToTableName($targetEntity)
204
                    .
205
                    (($this->joinTableFieldSuffix && !empty($propertyName)) ? $this->propertyToColumnName($propertyName, $sourceEntity) : '')
206
                    ;
207
                break;
208
            case self::UNDERSCORE: // FALL TROUGH
209
            default:
210
                return