Completed
Branch master (a13a77)
by Song
02:37
created
src/Commands/InstallCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@
 block discarded – undo
174 174
     /**
175 175
      * Get stub contents.
176 176
      *
177
-     * @param $name
177
+     * @param string $name
178 178
      *
179 179
      * @return string
180 180
      */
Please login to merge, or discard this patch.
src/Commands/MakeCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     /**
26 26
      * Execute the console command.
27 27
      *
28
-     * @return void
28
+     * @return false|null
29 29
      */
30 30
     public function handle()
31 31
     {
Please login to merge, or discard this patch.
src/Form/Builder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     /**
56 56
      * Returns builder is $mode.
57 57
      *
58
-     * @param $mode
58
+     * @param string $mode
59 59
      *
60 60
      * @return bool
61 61
      */
Please login to merge, or discard this patch.
src/Grid.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      * Create a new grid instance.
120 120
      *
121 121
      * @param Eloquent $model
122
-     * @param callable $builder
122
+     * @param Closure $builder
123 123
      */
124 124
     public function __construct(Eloquent $model, Closure $builder)
125 125
     {
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
     /**
302 302
      * Set grid row callback function.
303 303
      *
304
-     * @param callable $callable
304
+     * @param Closure $callable
305 305
      *
306 306
      * @return Collection|void
307 307
      */
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
     /**
374 374
      * Set the grid filter.
375 375
      *
376
-     * @param callable $callback
376
+     * @param Closure $callback
377 377
      */
378 378
     public function filter(Closure $callback)
379 379
     {
@@ -469,7 +469,7 @@  discard block
 block discarded – undo
469 469
      * @param $method
470 470
      * @param $arguments
471 471
      *
472
-     * @return $this|Column
472
+     * @return Column|null
473 473
      */
474 474
     public function __call($method, $arguments)
475 475
     {
Please login to merge, or discard this patch.
src/Grid/Filter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
      * @param string $method
110 110
      * @param array  $arguments
111 111
      *
112
-     * @return $this
112
+     * @return AbstractFilter|null
113 113
      */
114 114
     public function __call($method, $arguments)
115 115
     {
Please login to merge, or discard this patch.
src/Grid/Filter/Field/DateTime.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@
 block discarded – undo
11 11
      */
12 12
     protected $filter;
13 13
 
14
+    /**
15
+     * @param \Encore\Admin\Grid\Filter\AbstractFilter $filter
16
+     */
14 17
     public function __construct($filter)
15 18
     {
16 19
         $this->filter = $filter;
Please login to merge, or discard this patch.
src/Grid/Model.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
     /**
141 141
      * Find query by method name.
142 142
      *
143
-     * @param $method
143
+     * @param string $method
144 144
      *
145 145
      * @return static
146 146
      */
Please login to merge, or discard this patch.
src/Widgets/Chart/Pie.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -55,6 +55,9 @@
 block discarded – undo
55 55
         return $data;
56 56
     }
57 57
 
58
+    /**
59
+     * @return string
60
+     */
58 61
     public function script()
59 62
     {
60 63
         $this->data = $this->fillColor($this->data);
Please login to merge, or discard this patch.
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.