Completed
Push — master ( 185853...b7deb5 )
by Marcel
01:56
created
src/Storages/Drivers/FileStorage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     }
17 17
 
18 18
     /**
19
-     * @param $key
19
+     * @param string $key
20 20
      * @return string
21 21
      */
22 22
     protected function getFilename($key)
Please login to merge, or discard this patch.
src/Storages/Drivers/RedisStorage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
     /**
83 83
      * Namespace botman keys in redis.
84 84
      *
85
-     * @param $key
85
+     * @param string $key
86 86
      * @return string
87 87
      */
88 88
     private function decorateKey($key)
Please login to merge, or discard this patch.
src/Drivers/DriverManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
      * @param string $name
95 95
      * @param array $config
96 96
      * @param Request|null $request
97
-     * @return mixed|HttpDriver|NullDriver
97
+     * @return HttpDriver
98 98
      */
99 99
     public static function loadFromName($name, array $config, Request $request = null)
100 100
     {
Please login to merge, or discard this patch.
src/Traits/HandlesConversations.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      * Get a stored conversation array from the cache for a given message.
50 50
      *
51 51
      * @param null|IncomingMessage $message
52
-     * @return array
52
+     * @return callable
53 53
      */
54 54
     public function getStoredConversation($message = null)
55 55
     {
Please login to merge, or discard this patch.
src/Commands/ConversationManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      *
35 35
      * @param IncomingMessage $message
36 36
      * @param array $parameters
37
-     * @return array
37
+     * @return callable
38 38
      */
39 39
     public function addDataParameters(IncomingMessage $message, array $parameters)
40 40
     {
Please login to merge, or discard this patch.
src/Messages/Conversations/Conversation.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
     /**
168 168
      * Should the conversation be skipped (temporarily).
169 169
      * @param  IncomingMessage $message
170
-     * @return bool
170
+     * @return boolean|null
171 171
      */
172 172
     public function skipsConversation(IncomingMessage $message)
173 173
     {
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
     /**
178 178
      * Should the conversation be removed and stopped (permanently).
179 179
      * @param  IncomingMessage $message
180
-     * @return bool
180
+     * @return boolean|null
181 181
      */
182 182
     public function stopsConversation(IncomingMessage $message)
183 183
     {
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 
187 187
     /**
188 188
      * Override default conversation cache time (only for this conversation).
189
-     * @return mixed
189
+     * @return integer|null
190 190
      */
191 191
     public function getConversationCacheTime()
192 192
     {
Please login to merge, or discard this patch.
src/BotMan.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
     /**
171 171
      * Retrieve the chat message.
172 172
      *
173
-     * @return array
173
+     * @return IncomingMessage[]
174 174
      */
175 175
     public function getMessages()
176 176
     {
@@ -581,7 +581,7 @@  discard block
 block discarded – undo
581 581
     }
582 582
 
583 583
     /**
584
-     * @param $payload
584
+     * @param DriverInterface $payload
585 585
      * @return mixed
586 586
      */
587 587
     public function sendPayload($payload)
@@ -623,7 +623,7 @@  discard block
 block discarded – undo
623 623
 
624 624
     /**
625 625
      * @param $callback
626
-     * @return array|string|Closure
626
+     * @return callable
627 627
      * @throws UnexpectedValueException
628 628
      */
629 629
     protected function getCallable($callback)
@@ -697,7 +697,7 @@  discard block
 block discarded – undo
697 697
     }
698 698
 
699 699
     /**
700
-     * @return array
700
+     * @return string[]
701 701
      */
702 702
     public function __sleep()
703 703
     {
Please login to merge, or discard this patch.
src/Middleware/MiddlewareManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
 
63 63
     /**
64 64
      * @param Matching[] ...$middleware
65
-     * @return Matching[]|$this
65
+     * @return Matching[]
66 66
      */
67 67
     public function matching(Matching ...$middleware)
68 68
     {
Please login to merge, or discard this patch.
src/Commands/Command.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      *
39 39
      * @param string $pattern
40 40
      * @param Closure|string $callback
41
-     * @param array|null $recipients
41
+     * @param string|null $recipients
42 42
      * @param string|null $driver
43 43
      */
44 44
     public function __construct($pattern, $callback, $recipients = null, $driver = null)
Please login to merge, or discard this patch.