Completed
Branch master (a13a77)
by Song
02:37
created
src/Auth/Permission.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
      *
13 13
      * @param $permission
14 14
      *
15
-     * @return true
15
+     * @return boolean|null
16 16
      */
17 17
     public static function check($permission)
18 18
     {
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      *
31 31
      * @param $roles
32 32
      *
33
-     * @return true
33
+     * @return boolean|null
34 34
      */
35 35
     public static function allow($roles)
36 36
     {
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      *
49 49
      * @param $roles
50 50
      *
51
-     * @return true
51
+     * @return boolean|null
52 52
      */
53 53
     public static function deny($roles)
54 54
     {
Please login to merge, or discard this patch.
src/Form/Field.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
     /**
249 249
      * Get or set rules.
250 250
      *
251
-     * @param null $rules
251
+     * @param string $rules
252 252
      *
253 253
      * @return $this
254 254
      */
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
     /**
269 269
      * Set or get value of the field.
270 270
      *
271
-     * @param null $value
271
+     * @param string $value
272 272
      *
273 273
      * @return mixed
274 274
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Encore\Admin\Admin;
6 6
 use Encore\Admin\Form;
7 7
 use Illuminate\Contracts\Support\Arrayable;
8
-use Illuminate\Support\Facades\Input;
9 8
 
10 9
 /**
11 10
  * Class Field.
Please login to merge, or discard this patch.
src/Widgets/Box.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     /**
42 42
      * Set box content.
43 43
      *
44
-     * @param $content
44
+     * @param string $content
45 45
      *
46 46
      * @return $this
47 47
      */
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     /**
96 96
      * Set box style.
97 97
      *
98
-     * @param $styles
98
+     * @param string $styles
99 99
      *
100 100
      * @return $this|Box
101 101
      */
Please login to merge, or discard this patch.
src/Widgets/Callout.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * Callout constructor.
26 26
      *
27
-     * @param $content
27
+     * @param string $content
28 28
      * @param string $title
29 29
      * @param string $style
30 30
      */
Please login to merge, or discard this patch.