Completed
Pull Request — develop (#28)
by Neil
07:35
created
app/Api/Controllers/APIController.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@  discard block
 block discarded – undo
11 11
 class ApiController extends Controller
12 12
 {
13 13
     /**
14
-    * Get info about the install
15
-    */
14
+     * Get info about the install
15
+     */
16 16
     public function get_info()
17 17
     {
18 18
         $versions['git'] = `git rev-parse --short HEAD`;
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
     /**
30 30
      * Get statistics about the install
31
-    **/
31
+     **/
32 32
     public function get_stats()
33 33
     {
34 34
         $stats['devices']    = DB::select('SELECT COUNT(device_id) AS `total` FROM `devices`')[0]->total;
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 namespace App\Api\Controllers;
4 4
 
5 5
 use DB;
6
-use App\User;
7 6
 use App\Device;
8 7
 use App\Port;
9
-use Illuminate\Http\Request;
10 8
 
11 9
 class ApiController extends Controller
12 10
 {
Please login to merge, or discard this patch.