Code Duplication    Length = 8-8 lines in 2 locations

src/components/GitHub.php 1 location

@@ 80-87 (lines=8) @@
77
        $this->_description = $value;
78
    }
79
80
    public function getDescription()
81
    {
82
        if ($this->_description === null) {
83
            $this->_description = $this->take('package')->getTitle();
84
        }
85
86
        return $this->_description;
87
    }
88
}
89

src/console/GithubController.php 1 location

@@ 82-89 (lines=8) @@
79
        $this->_description = $value;
80
    }
81
82
    public function getDescription()
83
    {
84
        if ($this->_description === null) {
85
            $this->_description = $this->take('package')->getTitle();
86
        }
87
88
        return $this->_description;
89
    }
90
91
    /**
92
     * Create the repo on GitHub.