| Total Complexity | 4 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 5 | ||
| Bugs | 2 | Features | 1 |
| 1 | <?php |
||
| 8 | class HomeController extends Controller |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Instance of the 'pull request checker'. |
||
| 12 | * |
||
| 13 | * @var PullRequestChecker |
||
| 14 | */ |
||
| 15 | protected $checker; |
||
| 16 | |||
| 17 | |||
| 18 | /** |
||
| 19 | * Create a new controller instance. |
||
| 20 | * |
||
| 21 | * @param PullRequestChecker $checker |
||
| 22 | */ |
||
| 23 | public function __construct(PullRequestChecker $checker) |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Display the current status if the user already signed in via GitHubs' OAuth API. |
||
| 30 | * Display some infotext and the sign in button otherwise. |
||
| 31 | * |
||
| 32 | * @return \Illuminate\View\View |
||
| 33 | */ |
||
| 34 | public function index() |
||
| 55 |