Completed
Pull Request — master (#248)
by Edwin
02:44
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/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/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/Controllers/MenuController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     /**
75 75
      * @param $id
76 76
      *
77
-     * @return $this|\Illuminate\Http\RedirectResponse
77
+     * @return \Symfony\Component\HttpFoundation\Response
78 78
      */
79 79
     public function update($id)
80 80
     {
Please login to merge, or discard this patch.
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.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
      *
219 219
      * @param $id
220 220
      *
221
-     * @return mixed
221
+     * @return boolean
222 222
      */
223 223
     public function destroy($id)
224 224
     {
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
      * Prepare input data for insert or update.
294 294
      *
295 295
      * @param array    $data
296
-     * @param callable $callback
296
+     * @param Closure $callback
297 297
      */
298 298
     protected function prepare($data = [], Closure $callback = null)
299 299
     {
@@ -390,7 +390,7 @@  discard block
 block discarded – undo
390 390
      *
391 391
      * @param int $id
392 392
      *
393
-     * @return $this|\Illuminate\Http\RedirectResponse
393
+     * @return \Symfony\Component\HttpFoundation\Response
394 394
      */
395 395
     public function update($id)
396 396
     {
@@ -459,7 +459,7 @@  discard block
 block discarded – undo
459 459
      * @param int   $id
460 460
      * @param array $input
461 461
      *
462
-     * @return array
462
+     * @return boolean
463 463
      */
464 464
     protected function handleOrderable($id, array $input = [])
465 465
     {
@@ -599,7 +599,7 @@  discard block
 block discarded – undo
599 599
     /**
600 600
      * Set saving callback.
601 601
      *
602
-     * @param callable $callback
602
+     * @param Closure $callback
603 603
      *
604 604
      * @return void
605 605
      */
@@ -611,7 +611,7 @@  discard block
 block discarded – undo
611 611
     /**
612 612
      * Set saved callback.
613 613
      *
614
-     * @param callable $callback
614
+     * @param Closure $callback
615 615
      *
616 616
      * @return void
617 617
      */
Please login to merge, or discard this patch.