Completed
Pull Request — master (#554)
by Daniel
03:38
created
app/Http/CustomRequest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 class CustomRequest extends Request
8 8
 {
9 9
     /**
10
-     * @return mixed
10
+     * @return string
11 11
      * @todo mozna usunac? trzeba filtrowac te wartosc czy robi to symfony?
12 12
      */
13 13
     public function browser()
Please login to merge, or discard this patch.
app/Services/FormBuilder/Fields/ParentType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     }
57 57
 
58 58
     /**
59
-     * @return array
59
+     * @return Field[]
60 60
      */
61 61
     public function getChildAttr()
62 62
     {
Please login to merge, or discard this patch.
app/Services/FormBuilder/Form.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -321,7 +321,7 @@
 block discarded – undo
321 321
 
322 322
     /**
323 323
      * @param $name
324
-     * @return mixed|null
324
+     * @return Fields\Field|null
325 325
      */
326 326
     public function __get($name)
327 327
     {
Please login to merge, or discard this patch.
app/Services/FormBuilder/Rules.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     }
32 32
 
33 33
     /**
34
-     * @param FormInterface|Field $context
34
+     * @param FormInterface $context
35 35
      * @param Field[] $fields
36 36
      * @return array
37 37
      */
Please login to merge, or discard this patch.
app/Services/Session/Handler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
 
128 128
     /**
129 129
      * @param string $browser
130
-     * @return null|string
130
+     * @return string|false
131 131
      */
132 132
     private function robot($browser)
133 133
     {
Please login to merge, or discard this patch.
app/Services/Microblogs/Builder.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     }
107 107
 
108 108
     /**
109
-     * @return \Coyote\Microblog[]
109
+     * @return \Illuminate\Database\Eloquent\Collection
110 110
      */
111 111
     public function popular()
112 112
     {
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     /**
139 139
      * @param \Coyote\Microblog[] $comments
140 140
      * @param \Illuminate\Database\Eloquent\Collection $microblogs
141
-     * @return \Coyote\Microblog[]
141
+     * @return \Illuminate\Database\Eloquent\Collection
142 142
      */
143 143
     private function mergeComments($comments, $microblogs)
144 144
     {
Please login to merge, or discard this patch.
app/Models/Microblog.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -214,9 +214,8 @@
 block discarded – undo
214 214
     }
215 215
 
216 216
     /**
217
-     * @param  \Illuminate\Database\Query\Builder $query
218 217
      * @param int|null $userId
219
-     * @return \Illuminate\Database\Query\Builder|$this
218
+     * @return Builder
220 219
      */
221 220
     public function scopeIncludeIsSubscribed(Builder $builder, ?int $userId): Builder
222 221
     {
Please login to merge, or discard this patch.
app/Repositories/Eloquent/TopicRepository.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -79,6 +79,9 @@
 block discarded – undo
79 79
         return $result;
80 80
     }
81 81
 
82
+    /**
83
+     * @param integer|null $userId
84
+     */
82 85
     private function getBuilder(?int $userId, string $guestId)
83 86
     {
84 87
         return $this
Please login to merge, or discard this patch.
app/Services/Elasticsearch/ResultSet.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
     protected $took;
26 26
 
27 27
     /**
28
-     * @param array $response
28
+     * @param callable $response
29 29
      */
30 30
     public function __construct($response)
31 31
     {
Please login to merge, or discard this patch.