Completed
Push — master ( de48bf...7761d4 )
by Song
02:30
created
src/Widgets/Form.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     /**
118 118
      * Add form attributes.
119 119
      *
120
-     * @param string|array $attr
120
+     * @param string $attr
121 121
      * @param string       $value
122 122
      *
123 123
      * @return $this
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
      *
141 141
      * @param string $method
142 142
      *
143
-     * @return bool|string
143
+     * @return string|false
144 144
      */
145 145
     public static function findFieldClass($method)
146 146
     {
Please login to merge, or discard this patch.
src/Widgets/Callout.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@
 block discarded – undo
12 12
 
13 13
     protected $style = 'danger';
14 14
 
15
+    /**
16
+     * @param string $content
17
+     */
15 18
     public function __construct($content, $title = '', $style = 'danger')
16 19
     {
17 20
         $this->content = (string) $content;
Please login to merge, or discard this patch.
src/Form/Field/File.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
     /**
77 77
      * @param $file
78 78
      *
79
-     * @return mixed
79
+     * @return string
80 80
      */
81 81
     protected function uploadAndDeleteOriginal(UploadedFile $file)
82 82
     {
Please login to merge, or discard this patch.
src/Widgets/Box.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -26,6 +26,9 @@  discard block
 block discarded – undo
26 26
         }
27 27
     }
28 28
 
29
+    /**
30
+     * @param string $content
31
+     */
29 32
     public function content($content)
30 33
     {
31 34
         if ($content instanceof Renderable) {
@@ -37,6 +40,9 @@  discard block
 block discarded – undo
37 40
         return $this;
38 41
     }
39 42
 
43
+    /**
44
+     * @param string $title
45
+     */
40 46
     public function title($title)
41 47
     {
42 48
         $this->attributes['title'] = $title;
@@ -58,6 +64,9 @@  discard block
 block discarded – undo
58 64
         return $this;
59 65
     }
60 66
 
67
+    /**
68
+     * @param string $styles
69
+     */
61 70
     public function style($styles)
62 71
     {
63 72
         if (is_string($styles)) {
Please login to merge, or discard this patch.