Completed
Push — develop ( ce7aaf...adea53 )
by Greg
16s
created
app/Console/Commands/ExportWhitelists.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@
 block discarded – undo
50 50
         }
51 51
     }
52 52
 
53
+    /**
54
+     * @param boolean $isWhiteList
55
+     */
53 56
     private function exportProxyList($type, $isWhiteList)
54 57
     {
55 58
         $items = ProxyListItem::where('type', $type)
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -66,19 +66,19 @@
 block discarded – undo
66 66
 
67 67
         $flagCI = $this->option('ci');
68 68
         if ($flagCI === false) {
69
-          $bar = $this->output->createProgressBar($count);
69
+            $bar = $this->output->createProgressBar($count);
70 70
         }
71 71
 
72 72
         foreach ($items as $item) {
73 73
             $this->storage->prepend($filename, "{$item->value}");
74 74
             if (isset($bar)) {
75
-              $bar->advance();
75
+                $bar->advance();
76 76
             }
77 77
         }
78 78
 
79 79
         if (isset($bar)) {
80
-          $bar->finish();
81
-          $this->info("\n");
80
+            $bar->finish();
81
+            $this->info("\n");
82 82
         }
83 83
 
84 84
         try {
Please login to merge, or discard this patch.
app/Http/Controllers/AccountController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     /**
109 109
      * Add a new account.
110 110
      *
111
-     * @return Response
111
+     * @return \Illuminate\Http\RedirectResponse
112 112
      */
113 113
     public function addAccount(Request $request)
114 114
     {
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
      *
150 150
      * @param  Request  $request
151 151
      * @param  int  $id
152
-     * @return Response
152
+     * @return \Illuminate\Http\RedirectResponse
153 153
      */
154 154
     public function updateAccount(Request $request, $id)
155 155
     {
Please login to merge, or discard this patch.
app/Http/Controllers/AdminController.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * Add a new user.
78 78
      *
79
-     * @return Response
79
+     * @return \Illuminate\Http\RedirectResponse
80 80
      */
81 81
     public function addUser(Request $request)
82 82
     {
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      *
115 115
      * @param  Request  $request
116 116
      * @param  int  $id
117
-     * @return Response
117
+     * @return \Illuminate\Http\RedirectResponse
118 118
      */
119 119
     public function updateUser(Request $request, $id = 0)
120 120
     {
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
      * Enable an user.
170 170
      *
171 171
      * @param  int  $id
172
-     * @return Response
172
+     * @return \Illuminate\Http\RedirectResponse
173 173
      */
174 174
     public function enableUser($id)
175 175
     {
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
      * Disable an user.
187 187
      *
188 188
      * @param  int  $id
189
-     * @return Response
189
+     * @return \Illuminate\Http\RedirectResponse
190 190
      */
191 191
     public function disableUser($id)
192 192
     {
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
      * Remove an user.
204 204
      *
205 205
      * @param  int  $id
206
-     * @return Response
206
+     * @return \Illuminate\Http\RedirectResponse
207 207
      */
208 208
     public function removeUser($id)
209 209
     {
Please login to merge, or discard this patch.
app/Http/Controllers/InstallerController.php 2 patches
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * XXXXXXXXXX
50 50
      *
51
-     * @return \Illuminate\View\View
51
+     * @return \Illuminate\Http\RedirectResponse
52 52
      */
53 53
     public function stepStoreApp(Request $request, Redirector $redirect)
54 54
     {
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     /**
76 76
      * XXXXXXXXXX
77 77
      *
78
-     * @return \Illuminate\View\View
78
+     * @return \Illuminate\Http\RedirectResponse
79 79
      */
80 80
     public function stepStoreDb(Request $request, Redirector $redirect)
81 81
     {
@@ -161,7 +161,6 @@  discard block
 block discarded – undo
161 161
     /**
162 162
      * Processes the newly saved environment configuration and continue.
163 163
      *
164
-     * @param Request $input
165 164
      * @param Redirector $redirect
166 165
      * @return \Illuminate\Http\RedirectResponse
167 166
      */
@@ -205,7 +204,7 @@  discard block
 block discarded – undo
205 204
     /**
206 205
      * XXXXXXXXXX
207 206
      *
208
-     * @return \Illuminate\View\View
207
+     * @return \Illuminate\Http\RedirectResponse
209 208
      */
210 209
     public function stepMigrate(DatabaseManager $databaseManager)
211 210
     {
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@
 block discarded – undo
212 212
         $response = $databaseManager->migrateAndSeed();
213 213
 
214 214
         return redirect()->route('KleisInstaller::stepFinal')
215
-                         ->with(['message' => $response]);
215
+                            ->with(['message' => $response]);
216 216
     }
217 217
 
218 218
     /**
Please login to merge, or discard this patch.
app/Http/Helpers/Installer/PermissionsChecker.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
      *
76 76
      * @param $folder
77 77
      * @param $permission
78
-     * @param $isSet
78
+     * @param boolean $isSet
79 79
      */
80 80
     private function addFileAndSetErrors($folder, $permission, $isSet)
81 81
     {
Please login to merge, or discard this patch.
app/Http/Helpers/Installer/DatabaseManager.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,8 +72,8 @@
 block discarded – undo
72 72
     }
73 73
 
74 74
         /**
75
-     * check database type. If SQLite, then create the database file.
76
-     */
75
+         * check database type. If SQLite, then create the database file.
76
+         */
77 77
     private function sqlite()
78 78
     {
79 79
         if(DB::connection() instanceof SQLiteConnection) {
Please login to merge, or discard this patch.
app/Http/ViewComposers/LegalNoticeComposer.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
             }
28 28
         }
29 29
         $view->with('enable', $enable)
30
-             ->with('title', $title)
31
-             ->with('contents', $contents);
30
+                ->with('title', $title)
31
+                ->with('contents', $contents);
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/LoginController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
     /**
62 62
      * Handle an authentication attempt.
63 63
      *
64
-     * @return Response
64
+     * @return \Illuminate\Http\RedirectResponse|null
65 65
      */
66 66
     public function authenticate(Request $request)
67 67
     {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -68,10 +68,10 @@
 block discarded – undo
68 68
         $credentials = $request->only('email', 'password');
69 69
 
70 70
         if (Auth::attempt([
71
-          'email' => $credentials['email'],
72
-          'password' => $credentials['password'],
73
-          'status' => App\User::USER_ENABLED
74
-          ])) {
71
+            'email' => $credentials['email'],
72
+            'password' => $credentials['password'],
73
+            'status' => App\User::USER_ENABLED
74
+            ])) {
75 75
             // Authentication passed...
76 76
             return redirect()->intended('home');
77 77
         }
Please login to merge, or discard this patch.
app/Http/Helpers/Installer/EnvironmentManager.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@
 block discarded – undo
29 29
     /**
30 30
      * Get the content of the .env file.
31 31
      *
32
+     * @param Request $request
32 33
      * @return string
33 34
      */
34 35
     public function getEnvContent($request)
Please login to merge, or discard this patch.