Completed
Pull Request — master (#554)
by Daniel
03:38
created
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.
app/Console/Commands/Elasticsearch/IndexCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
         $model = $this->app->make($className);
89 89
         $this->line("Indexing $className ...");
90 90
 
91
-        $builder = $model->select()->orderBy('id', 'desc');//->where('id', 44030);
91
+        $builder = $model->select()->orderBy('id', 'desc'); //->where('id', 44030);
92 92
         $objectName = get_class($model);
93 93
 
94 94
         // ugly hack for job offers...
Please login to merge, or discard this patch.
app/Http/Controllers/SearchController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use Coyote\Services\Forum\TreeBuilder\JsonDecorator;
11 11
 use GuzzleHttp\Exception\ClientException;
12 12
 use GuzzleHttp\Exception\ConnectException;
13
-use GuzzleHttp\Exception\ServerException;
14 13
 use Illuminate\Http\Request;
15 14
 use Coyote\Services\Forum\TreeBuilder\Builder as TreeBuilder;
16 15
 use Illuminate\Validation\ValidationException;
Please login to merge, or discard this patch.