Completed
Push — develop ( 8dee05 )
by Dmytro
20:08
created
core/vendor/monolog/monolog/src/Monolog/Handler/SocketHandler.php 1 patch
Doc Comments   +11 added lines, -2 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     /**
172 172
      * Get current in-transfer timeout
173 173
      *
174
-     * @return float
174
+     * @return integer
175 175
      */
176 176
     public function getTimeout()
177 177
     {
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
     /**
182 182
      * Get current local writing timeout
183 183
      *
184
-     * @return float
184
+     * @return integer
185 185
      */
186 186
     public function getWritingTimeout()
187 187
     {
@@ -266,6 +266,9 @@  discard block
 block discarded – undo
266 266
         return stream_get_meta_data($this->resource);
267 267
     }
268 268
 
269
+    /**
270
+     * @param double $value
271
+     */
269 272
     private function validateTimeout($value)
270 273
     {
271 274
         $ok = filter_var($value, FILTER_VALIDATE_FLOAT);
@@ -329,6 +332,9 @@  discard block
 block discarded – undo
329 332
         }
330 333
     }
331 334
 
335
+    /**
336
+     * @param string $data
337
+     */
332 338
     private function writeToSocket($data)
333 339
     {
334 340
         $length = strlen($data);
@@ -358,6 +364,9 @@  discard block
 block discarded – undo
358 364
         }
359 365
     }
360 366
 
367
+    /**
368
+     * @param integer $sent
369
+     */
361 370
     private function writingIsTimedOut($sent)
362 371
     {
363 372
         $writingTimeout = (int) floor($this->writingTimeout);
Please login to merge, or discard this patch.
core/vendor/monolog/monolog/src/Monolog/Handler/TestHandler.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -119,6 +119,9 @@
 block discarded – undo
119 119
         }, $level);
120 120
     }
121 121
 
122
+    /**
123
+     * @param \Closure $predicate
124
+     */
122 125
     public function hasRecordThatPasses($predicate, $level)
123 126
     {
124 127
         if (!is_callable($predicate)) {
Please login to merge, or discard this patch.
core/vendor/monolog/monolog/src/Monolog/Logger.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -162,6 +162,7 @@
 block discarded – undo
162 162
     /**
163 163
      * Return a new cloned instance with the name changed
164 164
      *
165
+     * @param string $name
165 166
      * @return static
166 167
      */
167 168
     public function withName($name)
Please login to merge, or discard this patch.
core/vendor/monolog/monolog/src/Monolog/SignalHandler.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -64,6 +64,9 @@
 block discarded – undo
64 64
         return $this;
65 65
     }
66 66
 
67
+    /**
68
+     * @param integer $signo
69
+     */
67 70
     public function handleSignal($signo, array $siginfo = null)
68 71
     {
69 72
         static $signals = array();
Please login to merge, or discard this patch.
core/vendor/monolog/monolog/tests/Monolog/Handler/PHPConsoleHandlerTest.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -91,6 +91,9 @@  discard block
 block discarded – undo
91 91
         return $connector;
92 92
     }
93 93
 
94
+    /**
95
+     * @param string $name
96
+     */
94 97
     protected function getHandlerDefaultOption($name)
95 98
     {
96 99
         $handler = new PHPConsoleHandler(array(), $this->connector);
@@ -137,6 +140,9 @@  discard block
 block discarded – undo
137 140
         $this->initLogger()->addDebug($message, $context);
138 141
     }
139 142
 
143
+    /**
144
+     * @param string[] $tagsContextKeys
145
+     */
140 146
     public function testDebugTags($tagsContextKeys = null)
141 147
     {
142 148
         $expectedTags = mt_rand();
@@ -155,6 +161,9 @@  discard block
 block discarded – undo
155 161
         }
156 162
     }
157 163
 
164
+    /**
165
+     * @param string[] $classesPartialsTraceIgnore
166
+     */
158 167
     public function testError($classesPartialsTraceIgnore = null)
159 168
     {
160 169
         $code = E_USER_NOTICE;
Please login to merge, or discard this patch.
core/vendor/monolog/monolog/tests/Monolog/Handler/RavenHandlerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@
 block discarded – undo
35 35
         $this->assertInstanceOf('Monolog\Handler\RavenHandler', $handler);
36 36
     }
37 37
 
38
+    /**
39
+     * @param MockRavenClient $ravenClient
40
+     */
38 41
     protected function getHandler($ravenClient)
39 42
     {
40 43
         $handler = new RavenHandler($ravenClient);
Please login to merge, or discard this patch.
core/vendor/monolog/monolog/tests/Monolog/Handler/SocketHandlerTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -282,12 +282,18 @@
 block discarded – undo
282 282
         $this->writeRecord('Hello world');
283 283
     }
284 284
 
285
+    /**
286
+     * @param string $connectionString
287
+     */
285 288
     private function createHandler($connectionString)
286 289
     {
287 290
         $this->handler = new SocketHandler($connectionString);
288 291
         $this->handler->setFormatter($this->getIdentityFormatter());
289 292
     }
290 293
 
294
+    /**
295
+     * @param string $string
296
+     */
291 297
     private function writeRecord($string)
292 298
     {
293 299
         $this->handler->handle($this->getRecord(Logger::WARNING, $string));
Please login to merge, or discard this patch.
core/vendor/monolog/monolog/tests/Monolog/Handler/SyslogUdpHandlerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -69,6 +69,9 @@
 block discarded – undo
69 69
         $handler->handle($this->getRecordWithMessage(null));
70 70
     }
71 71
 
72
+    /**
73
+     * @param string|null $msg
74
+     */
72 75
     protected function getRecordWithMessage($msg)
73 76
     {
74 77
         return array('message' => $msg, 'level' => \Monolog\Logger::WARNING, 'context' => null, 'extra' => array(), 'channel' => 'lol');
Please login to merge, or discard this patch.
core/vendor/monolog/monolog/tests/Monolog/SignalHandlerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -55,6 +55,9 @@
 block discarded – undo
55 55
         }
56 56
     }
57 57
 
58
+    /**
59
+     * @param integer $handler
60
+     */
58 61
     private function setSignalHandler($signo, $handler = SIG_DFL) {
59 62
         if (function_exists('pcntl_signal_get_handler')) {
60 63
             $this->signalHandlers[$signo] = pcntl_signal_get_handler($signo);
Please login to merge, or discard this patch.