Completed
Push — master ( 6b7c93...64cfc4 )
by Manuel
12:34 queued 09:33
created
app/Http/Controllers/WelcomeController.php 1 patch
Indentation   +49 added lines, -49 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 
12 12
 class WelcomeController extends Controller
13 13
 {
14
-    /*
14
+	/*
15 15
     |--------------------------------------------------------------------------
16 16
     | Welcome Controller
17 17
     |--------------------------------------------------------------------------
@@ -22,63 +22,63 @@  discard block
 block discarded – undo
22 22
     |
23 23
     */
24 24
 
25
-    /**
26
-     * Create a new controller instance.
27
-     */
28
-    public function __construct()
29
-    {
30
-        $this->middleware('guest');
31
-    }
25
+	/**
26
+	 * Create a new controller instance.
27
+	 */
28
+	public function __construct()
29
+	{
30
+		$this->middleware('guest');
31
+	}
32 32
 
33
-    /**
34
-     * Show the application welcome screen to the user.
35
-     *
36
-     * @return Response
37
-     */
38
-    public function index()
39
-    {
40
-        $devices = Device::onHomePage()->get();
33
+	/**
34
+	 * Show the application welcome screen to the user.
35
+	 *
36
+	 * @return Response
37
+	 */
38
+	public function index()
39
+	{
40
+		$devices = Device::onHomePage()->get();
41 41
 
42
-        return view('overview')->with(compact('devices'));
43
-    }
42
+		return view('overview')->with(compact('devices'));
43
+	}
44 44
 
45
-    /**
46
-     * Show the getting started screen to the user.
47
-     *
48
-     * @param MarkdownParser $markdown
49
-     * @param Cache          $cache
50
-     * @param Filesystem     $file
51
-     *
52
-     * @return Response
53
-     */
54
-    public function gettingStarted(MarkdownParser $markdown, Cache $cache, Filesystem $file)
55
-    {
56
-        $gettingStarted = $cache->remember('getting-started', 5, function () use ($markdown, $file) {
57
-            $gettingStarted = $file->get(base_path('resources/getting-started/readme.md'));
45
+	/**
46
+	 * Show the getting started screen to the user.
47
+	 *
48
+	 * @param MarkdownParser $markdown
49
+	 * @param Cache          $cache
50
+	 * @param Filesystem     $file
51
+	 *
52
+	 * @return Response
53
+	 */
54
+	public function gettingStarted(MarkdownParser $markdown, Cache $cache, Filesystem $file)
55
+	{
56
+		$gettingStarted = $cache->remember('getting-started', 5, function () use ($markdown, $file) {
57
+			$gettingStarted = $file->get(base_path('resources/getting-started/readme.md'));
58 58
 
59
-            return $markdown->parse($gettingStarted);
60
-        });
59
+			return $markdown->parse($gettingStarted);
60
+		});
61 61
 
62
-        return view('getting-started')->with(compact('gettingStarted'));
63
-    }
62
+		return view('getting-started')->with(compact('gettingStarted'));
63
+	}
64 64
 
65
-    /**
66
-     * Show the statistics screen to the user.
67
-     *
68
-     * @return Response
69
-     */
70
-    public function statistics(Statistics $statistics)
71
-    {
72
-        $pokes_total = $statistics->totalPokes();
65
+	/**
66
+	 * Show the statistics screen to the user.
67
+	 *
68
+	 * @return Response
69
+	 */
70
+	public function statistics(Statistics $statistics)
71
+	{
72
+		$pokes_total = $statistics->totalPokes();
73 73
 
74
-        $devices_total = $statistics->totalDevices();
74
+		$devices_total = $statistics->totalDevices();
75 75
 
76
-        $pokes = $statistics->allPokes()->toArray();
76
+		$pokes = $statistics->allPokes()->toArray();
77 77
 
78
-        $network_distribution = $statistics->networkDistribution()->toArray();
78
+		$network_distribution = $statistics->networkDistribution()->toArray();
79 79
 
80
-        JavaScript::put(compact('pokes', 'network_distribution'));
80
+		JavaScript::put(compact('pokes', 'network_distribution'));
81 81
 
82
-        return view('statistics')->with(compact('pokes_total', 'devices_total'));
83
-    }
82
+		return view('statistics')->with(compact('pokes_total', 'devices_total'));
83
+	}
84 84
 }
Please login to merge, or discard this patch.