Code Duplication    Length = 3-3 lines in 3 locations

vendor/cakephp/bake/src/Shell/Task/ModelTask.php 3 locations

@@ 274-276 (lines=3) @@
271
272
            }
273
274
            if ($this->plugin && empty($assoc['className'])) {
275
                $assoc['className'] = $this->plugin . '.' . $assoc['alias'];
276
            }
277
            $associations['belongsTo'][] = $assoc;
278
        }
279
        return $associations;
@@ 348-350 (lines=3) @@
345
                        'foreignKey' => $fieldName
346
                    ];
347
                }
348
                if ($assoc && $this->plugin && empty($assoc['className'])) {
349
                    $assoc['className'] = $this->plugin . '.' . $assoc['alias'];
350
                }
351
                if ($assoc) {
352
                    $associations['hasMany'][] = $assoc;
353
                }
@@ 391-393 (lines=3) @@
388
                    'targetForeignKey' => $this->_modelKey($habtmName),
389
                    'joinTable' => $otherTable
390
                ];
391
                if ($assoc && $this->plugin) {
392
                    $assoc['className'] = $this->plugin . '.' . $assoc['alias'];
393
                }
394
                $associations['belongsToMany'][] = $assoc;
395
            }
396
        }