Completed
Push — master ( 11ad20...a09f6d )
by Sergi Tur
05:23
created
src/Filesystem/Filesystem.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      *
17 17
      * Overwrite file with provided content.
18 18
      *
19
-     * @param $file
19
+     * @param string $file
20 20
      * @param $content
21 21
      */
22 22
     public function overwrite($file, $content)
@@ -42,6 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
     /**
44 44
      * Get file contents
45
+     * @param string $file
45 46
      */
46 47
     public function get($file) {
47 48
         return file_get_contents($file);
Please login to merge, or discard this patch.
src/Providers/AdminLTETemplateServiceProvider.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,9 +39,13 @@
 block discarded – undo
39 39
             return new \Acacha\AdminLTETemplateLaravel\AdminLTE();
40 40
         });
41 41
 
42
-        if (config('adminlte.gravatar',true)) $this->registerGravatarServiceProvider();
42
+        if (config('adminlte.gravatar',true)) {
43
+            $this->registerGravatarServiceProvider();
44
+        }
43 45
 
44
-        if (config('adminlte.guestuser',true)) $this->registerGuestUserProvider();
46
+        if (config('adminlte.guestuser',true)) {
47
+            $this->registerGuestUserProvider();
48
+        }
45 49
 
46 50
     }
47 51
 
Please login to merge, or discard this patch.
src/Console/HasUsername.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,9 +16,13 @@
 block discarded – undo
16 16
      * @return mixed|null|string
17 17
      */
18 18
     public function username() {
19
-        if (($username = env('ADMIN_USERNAME', null)) != null) return $username;
19
+        if (($username = env('ADMIN_USERNAME', null)) != null) {
20
+            return $username;
21
+        }
20 22
 
21
-        if (($username = git_user_name()) != null) return $username;
23
+        if (($username = git_user_name()) != null) {
24
+            return $username;
25
+        }
22 26
 
23 27
         return "Admin";
24 28
     }
Please login to merge, or discard this patch.
src/Console/AdminLTEAdmin.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,9 @@
 block discarded – undo
41 41
      */
42 42
     protected function passwordInfo()
43 43
     {
44
-        if (env('ADMIN_PWD', '123456') == '123456') return 'with password 123456';
44
+        if (env('ADMIN_PWD', '123456') == '123456') {
45
+            return 'with password 123456';
46
+        }
45 47
         return 'with the environemnt password (env var ADMIN_PWD)';
46 48
     }
47 49
 }
Please login to merge, or discard this patch.
src/Console/HasEmail.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,9 +17,13 @@
 block discarded – undo
17 17
      */
18 18
     protected function email()
19 19
     {
20
-        if (($email = env('ADMIN_EMAIL', null)) != null) return $email;
20
+        if (($email = env('ADMIN_EMAIL', null)) != null) {
21
+            return $email;
22
+        }
21 23
 
22
-        if (($email = git_user_email()) != null) return $email;
24
+        if (($email = git_user_email()) != null) {
25
+            return $email;
26
+        }
23 27
 
24 28
         return "[email protected]";
25 29
     }
Please login to merge, or discard this patch.