Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Completed
Pull Request — master (#9)
by Cristian
08:25
created
src/app/Http/Controllers/LanguageCrudController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Backpack\LangFileManager\app\Http\Controllers;
4 4
 
5
-use App\Http\Requests;
6 5
 use Backpack\CRUD\app\Http\Controllers\CrudController;
7
-use Backpack\LangFileManager\app\Http\Requests\LanguageRequest as StoreRequest;
8 6
 use Backpack\LangFileManager\app\Http\Requests\LanguageRequest as UpdateRequest;
9 7
 use Backpack\LangFileManager\app\Models\Language;
10 8
 // VALIDATION: change the requests to match your own file names if you need form validation
Please login to merge, or discard this patch.
src/app/Services/LangFiles.php 1 patch
Doc Comments   +13 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@  discard block
 block discarded – undo
13 13
         $this->lang = config('app.locale');
14 14
     }
15 15
 
16
+    /**
17
+     * @param string $lang
18
+     */
16 19
     public function setLanguage($lang)
17 20
     {
18 21
         $this->lang = $lang;
@@ -20,6 +23,9 @@  discard block
 block discarded – undo
20 23
         return $this;
21 24
     }
22 25
 
26
+    /**
27
+     * @param string $file
28
+     */
23 29
     public function setFile($file)
24 30
     {
25 31
         $this->file = $file;
@@ -201,7 +207,7 @@  discard block
 block discarded – undo
201 207
      * @param array  $keys  the keys (path)
202 208
      * @param string $value the value to be added
203 209
      *
204
-     * @return array
210
+     * @return string
205 211
      */
206 212
     private function setArrayValue(&$data, $keys, $value)
207 213
     {
@@ -212,11 +218,17 @@  discard block
 block discarded – undo
212 218
         return $data = $value;
213 219
     }
214 220
 
221
+    /**
222
+     * @return string
223
+     */
215 224
     private function getFilePath()
216 225
     {
217 226
         return base_path("resources/lang/{$this->lang}/{$this->file}.php");
218 227
     }
219 228
 
229
+    /**
230
+     * @return string
231
+     */
220 232
     private function getLangPath()
221 233
     {
222 234
         return base_path("resources/lang/{$this->lang}/");
Please login to merge, or discard this patch.