Completed
Push — master ( 9cd724...e46d7b )
by Kirill
04:31 queued 01:35
created
app/Core/Mappers/MessageMapperTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use App\Message;
16 16
 use Carbon\Carbon;
17 17
 use App\Gitter\Support\AttributeMapper;
18
-use Illuminate\Database\Eloquent\Model;
19 18
 
20 19
 /**
21 20
  * Class MessageMapperTrait
Please login to merge, or discard this patch.
app/Domains/Bot/Middlewares/KarmaRenderMiddleware.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 {
15 15
     /**
16 16
      * @param Message $message
17
-     * @return mixed
17
+     * @return null|Message
18 18
      */
19 19
     public function handle(Message $message)
20 20
     {
Please login to merge, or discard this patch.
app/Domains/User.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
     }
119 119
 
120 120
     /**
121
-     * @param $roomId
121
+     * @param string $roomId
122 122
      * @return Carbon
123 123
      */
124 124
     public function getLastKarmaTimeForRoom($roomId)
Please login to merge, or discard this patch.
app/Interfaces/Console/Commands/StartGitterBot.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 use Illuminate\Console\Command;
20 20
 use Illuminate\Contracts\Config\Repository;
21 21
 use Illuminate\Contracts\Container\Container;
22
-use Illuminate\Support\Facades\Log;
23 22
 
24 23
 
25 24
 /**
Please login to merge, or discard this patch.
app/Core/Doctrine/CacheBridge.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
      * @param int $lifeTime The cache lifetime.
70 70
      *                         If != 0, sets a specific lifetime for this cache entry (0 => infinite lifeTime).
71 71
      *
72
-     * @return boolean TRUE if the entry was successfully stored in the cache, FALSE otherwise.
72
+     * @return boolean|null TRUE if the entry was successfully stored in the cache, FALSE otherwise.
73 73
      */
74 74
     public function save($id, $data, $lifeTime = 0)
75 75
     {
Please login to merge, or discard this patch.
app/Domains/Message.php 2 patches
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     }
75 75
 
76 76
     /**
77
-     * @return mixed|string
77
+     * @return string
78 78
      */
79 79
     public function getEscapedTextAttribute()
80 80
     {
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     }
88 88
 
89 89
     /**
90
-     * @return mixed|string
90
+     * @return string
91 91
      */
92 92
     public function getTextWithoutSpecialCharsAttribute()
93 93
     {
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
     }
119 119
 
120 120
     /**
121
-     * @param $text
121
+     * @param string $text
122 122
      * @return Model
123 123
      */
124 124
     public function pre($text)
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
     }
128 128
 
129 129
     /**
130
-     * @param $code
130
+     * @param string $code
131 131
      * @param string $lang
132 132
      * @return Model
133 133
      */
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
     }
158 158
 
159 159
     /**
160
-     * @param $symbol
160
+     * @param string $symbol
161 161
      * @param $text
162 162
      * @return string
163 163
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 namespace Domains;
12 12
 
13 13
 use Carbon\Carbon;
14
-use LogicException;
15 14
 use Interfaces\Gitter\Client;
16 15
 use Core\Mappers\MessageMapperTrait;
17 16
 use Illuminate\Database\Eloquent\Model;
Please login to merge, or discard this patch.
app/Interfaces/Console/Commands/GitterSync.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use Carbon\Carbon;
14 14
 use Core\Mappers\UserMapper;
15 15
 use Domains\Message;
16
-use Domains\User;
17 16
 use Gitter\Client;
18 17
 use Gitter\Support\ApiIterator;
19 18
 use Illuminate\Console\Command;
Please login to merge, or discard this patch.
app/Interfaces/Gitter/Client.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
     }
170 170
 
171 171
     /**
172
-     * @param $route
172
+     * @param string $route
173 173
      * @param array $args
174 174
      * @param string $method
175 175
      * @return Stream
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
     }
182 182
 
183 183
     /**
184
-     * @param $route
184
+     * @param string $route
185 185
      * @param array $args
186 186
      * @param null $content
187 187
      * @param string $method
Please login to merge, or discard this patch.