Completed
Push — master ( 01668e...fc24a2 )
by wen
14:50
created
src/Http/Controllers/Auth/LoginController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
      *
101 101
      * @param  Request $request
102 102
      *
103
-     * @return \Illuminate\Http\Response
103
+     * @return \Illuminate\Http\RedirectResponse
104 104
      */
105 105
     public function logout(Request $request)
106 106
     {
Please login to merge, or discard this patch.
src/View/Columns/Column.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -115,6 +115,9 @@
 block discarded – undo
115 115
         return $this->getValueFromObject($this->getModel(), $this->getName());
116 116
     }
117 117
 
118
+    /**
119
+     * @param Model $instance
120
+     */
118 121
     protected function getValueFromObject($instance, $name)
119 122
     {
120 123
         $parts = explode('.', $name);
Please login to merge, or discard this patch.
src/Component/Component.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@  discard block
 block discarded – undo
52 52
         return $this->getRepository()->isRestorable();
53 53
     }
54 54
 
55
+    /**
56
+     * @param string $class
57
+     */
55 58
     public function registerObserver($class = null)
56 59
     {
57 60
         if (!$class) {
@@ -72,6 +75,9 @@  discard block
 block discarded – undo
72 75
         $this->permissions[$permission] = $callback;
73 76
     }
74 77
 
78
+    /**
79
+     * @param string $permission
80
+     */
75 81
     public function can($permission)
76 82
     {
77 83
         if (is_callable($this->permissions[$permission])) {
Please login to merge, or discard this patch.
src/Form/Elements/File.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
      *
281 281
      * @param \Illuminate\Http\UploadedFile $file
282 282
      *
283
-     * @return mixed|string
283
+     * @return string
284 284
      */
285 285
     public function getUploadFileName(UploadedFile $file)
286 286
     {
@@ -355,6 +355,9 @@  discard block
 block discarded – undo
355 355
         ];
356 356
     }
357 357
 
358
+    /**
359
+     * @param string $rule
360
+     */
358 361
     public function addValidationRule($rule, $message = null)
359 362
     {
360 363
         $uploadRules = [
Please login to merge, or discard this patch.
src/Form/Elements/Input.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
20 20
         return $this->size;
21 21
     }
22 22
 
23
+    /**
24
+     * @param string $value
25
+     */
23 26
     public function setSize($value)
24 27
     {
25 28
         $this->size = $value;
Please login to merge, or discard this patch.