Code Duplication    Length = 12-12 lines in 2 locations

src/FlexiPeeHP/FlexiBeeRO.php 2 locations

@@ 1500-1511 (lines=12) @@
1497
     * @param string $evidence
1498
     * @return array Evidence structure
1499
     */
1500
    public function getColumnsInfo($evidence = null)
1501
    {
1502
        $columnsInfo = null;
1503
        if (is_null($evidence)) {
1504
            $evidence = $this->getEvidence();
1505
        }
1506
        $propsName = lcfirst(FlexiBeeRO::evidenceToClassName($evidence));
1507
        if (isset(\FlexiPeeHP\Properties::$$propsName)) {
1508
            $columnsInfo = Properties::$$propsName;
1509
        }
1510
        return $columnsInfo;
1511
    }
1512
1513
    /**
1514
     * Obtain actions for current (or given) evidence
@@ 1519-1530 (lines=12) @@
1516
     * @param string $evidence
1517
     * @return array Evidence structure
1518
     */
1519
    public function getActionsInfo($evidence = null)
1520
    {
1521
        $actionsInfo = null;
1522
        if (is_null($evidence)) {
1523
            $evidence = $this->getEvidence();
1524
        }
1525
        $propsName = lcfirst(FlexiBeeRO::evidenceToClassName($evidence));
1526
        if (isset(\FlexiPeeHP\Actions::$$propsName)) {
1527
            $actionsInfo = Actions::$$propsName;
1528
        }
1529
        return $actionsInfo;
1530
    }
1531
1532
    /**
1533
     * Obtain relations for current (or given) evidence