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