Code Duplication    Length = 12-12 lines in 2 locations

src/FlexiPeeHP/FlexiBeeRO.php 2 locations

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