GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

DocsController::screenListAction()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 4
Bugs 0 Features 0
Metric Value
c 4
b 0
f 0
dl 0
loc 7
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
3
namespace App\Http\Controllers\Tabbar\Navigation\Docs;
4
5
use App\Http\Controllers\Controller;
6
use App\Http\Services\Docs\MarkdownService;
7
8
/**
9
 * DocsController.
10
 *
11
 * Docsタブ内で表示するコンテンツを扱う
12
 */
13
class DocsController extends Controller
14
{
15
    /**
16
     * Create a new docs controller instance.
17
     */
18
    public function __construct()
19
    {
20
    }
21
22
    /**
23
     * topアクション.
24
     *
25
     * @return view docs/docs_topテンプレート
26
     *              assign:$parseMarkdown readmeファイルをパースさせた内容
27
     */
28
    public function topAction()
29
    {
30
        $markdownFile = public_path().'/documents/screen/readme.md';
31
        $parseMarkdown = (new MarkdownService())->getHtmlFromMarkdown($markdownFile);
32
33
        return view('tabbar/navigation/docs/docs_top', compact('parseMarkdown'));
34
    }
35
36
    /**
37
     * screenListアクション.
38
     *
39
     * @return view docs/docs_topテンプレート
40
     *              assign:$parseMarkdown readmeファイルをパースさせた内容
41
     */
42
    public function screenListAction()
43
    {
44
        $markdownFile = public_path().'/documents/screen/readme.md';
45
        $parseMarkdown = (new MarkdownService())->getHtmlFromMarkdown($markdownFile);
46
47
        return view('tabbar/navigation/docs/docs_screenlist', compact('parseMarkdown'));
48
    }
49
}
50