Completed
Pull Request — master (#21)
by
unknown
04:01
created
app/Http/Controllers/OauthController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace App\Http\Controllers;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-
7
-use App\Http\Requests;
8 6
 use App\Http\Controllers\Controller;
9 7
 use Illuminate\Contracts\Auth\Guard;
10 8
 use Laravel\Socialite\Contracts\Factory as Socialite;
Please login to merge, or discard this patch.
app/Http/Controllers/AccountController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace App\Http\Controllers;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-
7
-use App\Http\Requests;
8 6
 use App\Http\Controllers\Controller;
9 7
 use Illuminate\Contracts\Auth\Guard;
10 8
 use Laravel\Socialite\Contracts\Factory as Socialite;
Please login to merge, or discard this patch.
app/Http/Controllers/NytController.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace App\Http\Controllers;
4 4
 
5 5
 use GuzzleHttp\Client;
6
-use App\Http\Requests;
7
-use Illuminate\Http\Request;
8 6
 use App\Http\Controllers\Controller;
9 7
 
10 8
 class NytController extends Controller
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,11 +27,11 @@
 block discarded – undo
27 27
      */
28 28
     public function __construct()
29 29
     {
30
-         $this->baseUrl = 'http://api.nytimes.com/svc';
31
-         $this->client = new Client(['base_uri' => $this->baseUrl]);
30
+            $this->baseUrl = 'http://api.nytimes.com/svc';
31
+            $this->client = new Client(['base_uri' => $this->baseUrl]);
32 32
 
33
-         $relativeUrl = '/books/v3/lists/overview.json?api-key=' . env('NYT_BOOKS_API_KEY');
34
-         $this->setGetResponse($relativeUrl);
33
+            $relativeUrl = '/books/v3/lists/overview.json?api-key=' . env('NYT_BOOKS_API_KEY');
34
+            $this->setGetResponse($relativeUrl);
35 35
     }
36 36
 
37 37
     /**
Please login to merge, or discard this patch.
app/Http/Controllers/SteamController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@
 block discarded – undo
9 9
 
10 10
 class SteamController extends Controller
11 11
 {
12
-     /**
13
-     * Return all data to the Steam API dashboard
14
-     * @return mixed
15
-     */
12
+        /**
13
+         * Return all data to the Steam API dashboard
14
+         * @return mixed
15
+         */
16 16
     public function getPage()
17 17
     {
18 18
         return view('api.steam');
Please login to merge, or discard this patch.
app/Http/Controllers/WebScrapingController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers;
4 4
 
5
-use Illuminate\Http\Request;
6
-
7
-use App\Http\Requests;
8 5
 use Goutte\Client;
9 6
 use App\Http\Controllers\Controller;
10 7
 
Please login to merge, or discard this patch.
app/Http/Controllers/YahooController.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers;
4 4
 
5
-use Illuminate\Http\Request;
6
-
7
-use App\Http\Requests;
8 5
 use Goutte\Client;
9 6
 use App\Http\Controllers\Controller;
10 7
 
Please login to merge, or discard this patch.
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -10,10 +10,10 @@  discard block
 block discarded – undo
10 10
 
11 11
 class YahooController extends Controller
12 12
 {
13
-     /**
14
-     * Instance of Guzzle Client
15
-     * @var object
16
-     */
13
+        /**
14
+         * Instance of Guzzle Client
15
+         * @var object
16
+         */
17 17
     protected $client;
18 18
 
19 19
     /**
@@ -27,13 +27,13 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function __construct()
29 29
     {
30
-         $this->baseUrl = 'https://query.yahooapis.com/v1/public/yql';
31
-         $this->client = new Client(['base_uri' => $this->baseUrl]);
30
+            $this->baseUrl = 'https://query.yahooapis.com/v1/public/yql';
31
+            $this->client = new Client(['base_uri' => $this->baseUrl]);
32 32
 
33
-         $query = "SELECT * FROM weather.forecast WHERE (location = 10007)";
33
+            $query = "SELECT * FROM weather.forecast WHERE (location = 10007)";
34 34
 
35
-         $relativeUrl = '?q=' . $query . '&format=json';
36
-         $this->setGetResponse($relativeUrl);
35
+            $relativeUrl = '?q=' . $query . '&format=json';
36
+            $this->setGetResponse($relativeUrl);
37 37
     }
38 38
 
39 39
     /**
@@ -64,10 +64,10 @@  discard block
 block discarded – undo
64 64
     }
65 65
 
66 66
 
67
-     /**
68
-     * Return all data to the Yahoo API dashboard
69
-     * @return mixed
70
-     */
67
+        /**
68
+         * Return all data to the Yahoo API dashboard
69
+         * @return mixed
70
+         */
71 71
     public function getPage()
72 72
     {
73 73
         $data = $this->getData();
Please login to merge, or discard this patch.
app/Http/Controllers/ClockworkController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace App\Http\Controllers;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-
7
-use App\Http\Requests;
8 6
 use App\Http\Controllers\Controller;
9 7
 use Illuminate\Contracts\Auth\Guard;
10 8
 use Laravel\Socialite\Contracts\Factory as Socialite;
Please login to merge, or discard this patch.
app/Http/Controllers/LobController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers;
4 4
 
5
-use Illuminate\Http\Request;
6
-
7
-use App\Http\Requests;
8 5
 use Goutte\Client;
9 6
 use App\Http\Controllers\Controller;
10 7
 
Please login to merge, or discard this patch.
app/Http/Controllers/SlackController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         $list = (array)SlackUser::lists();
32 32
 
33 33
         if (is_null($count)) {
34
-           return $list['members'];
34
+            return $list['members'];
35 35
         }
36 36
 
37 37
         return array_slice($list['members'], 0, $count);
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public function sendMessageToTeam(Request $request)
46 46
     {
47
-         $this->validate($request, [
47
+            $this->validate($request, [
48 48
             'message'  => 'required'
49 49
         ]);
50 50
 
Please login to merge, or discard this patch.