@@ -35,6 +35,9 @@ |
||
| 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); |
@@ -282,12 +282,18 @@ |
||
| 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)); |
@@ -69,6 +69,9 @@ |
||
| 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'); |
@@ -55,6 +55,9 @@ |
||
| 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); |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | /** |
| 47 | - * @return Monolog\Formatter\FormatterInterface |
|
| 47 | + * @return Formatter\FormatterInterface |
|
| 48 | 48 | */ |
| 49 | 49 | protected function getIdentityFormatter() |
| 50 | 50 | { |
@@ -503,7 +503,7 @@ discard block |
||
| 503 | 503 | /** |
| 504 | 504 | * Create a Carbon instance for tomorrow. |
| 505 | 505 | * |
| 506 | - * @param \DateTimeZone|string|null $tz |
|
| 506 | + * @param DateTimeZone $tz |
|
| 507 | 507 | * |
| 508 | 508 | * @return static |
| 509 | 509 | */ |
@@ -515,7 +515,7 @@ discard block |
||
| 515 | 515 | /** |
| 516 | 516 | * Create a Carbon instance for yesterday. |
| 517 | 517 | * |
| 518 | - * @param \DateTimeZone|string|null $tz |
|
| 518 | + * @param DateTimeZone $tz |
|
| 519 | 519 | * |
| 520 | 520 | * @return static |
| 521 | 521 | */ |
@@ -1870,8 +1870,8 @@ discard block |
||
| 1870 | 1870 | /** |
| 1871 | 1871 | * Determines if the instance is between two others |
| 1872 | 1872 | * |
| 1873 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date1 |
|
| 1874 | - * @param \Carbon\Carbon|\DateTimeInterface|mixed $date2 |
|
| 1873 | + * @param \Illuminate\Support\Carbon $date1 |
|
| 1874 | + * @param \Illuminate\Support\Carbon $date2 |
|
| 1875 | 1875 | * @param bool $equal Indicates if a > and < comparison should be used or <= or >= |
| 1876 | 1876 | * |
| 1877 | 1877 | * @return bool |
@@ -3181,7 +3181,7 @@ discard block |
||
| 3181 | 3181 | /** |
| 3182 | 3182 | * Get the difference in years |
| 3183 | 3183 | * |
| 3184 | - * @param \Carbon\Carbon|\DateTimeInterface|string|null $date |
|
| 3184 | + * @param Carbon $date |
|
| 3185 | 3185 | * @param bool $absolute Get the absolute of the difference |
| 3186 | 3186 | * |
| 3187 | 3187 | * @return int |
@@ -3380,7 +3380,7 @@ discard block |
||
| 3380 | 3380 | * @param \Carbon\Carbon|\DateTimeInterface|string|null $date |
| 3381 | 3381 | * @param bool $absolute Get the absolute of the difference |
| 3382 | 3382 | * |
| 3383 | - * @return int |
|
| 3383 | + * @return double |
|
| 3384 | 3384 | */ |
| 3385 | 3385 | public function diffInSeconds($date = null, $absolute = true) |
| 3386 | 3386 | { |
@@ -3412,7 +3412,7 @@ discard block |
||
| 3412 | 3412 | /** |
| 3413 | 3413 | * The number of seconds since midnight. |
| 3414 | 3414 | * |
| 3415 | - * @return int |
|
| 3415 | + * @return double |
|
| 3416 | 3416 | */ |
| 3417 | 3417 | public function secondsSinceMidnight() |
| 3418 | 3418 | { |
@@ -3422,7 +3422,7 @@ discard block |
||
| 3422 | 3422 | /** |
| 3423 | 3423 | * The number of seconds until 23:59:59. |
| 3424 | 3424 | * |
| 3425 | - * @return int |
|
| 3425 | + * @return double |
|
| 3426 | 3426 | */ |
| 3427 | 3427 | public function secondsUntilEndOfDay() |
| 3428 | 3428 | { |
@@ -36,6 +36,9 @@ |
||
| 36 | 36 | return static::$singleton; |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | + /** |
|
| 40 | + * @param string $locale |
|
| 41 | + */ |
|
| 39 | 42 | public function __construct($locale, Translation\Formatter\MessageFormatterInterface $formatter = null, $cacheDir = null, $debug = false) |
| 40 | 43 | { |
| 41 | 44 | $this->addLoader('array', new Translation\Loader\ArrayLoader()); |
@@ -3968,7 +3968,7 @@ |
||
| 3968 | 3968 | * @param int|string $options Either a PATHINFO_* constant, |
| 3969 | 3969 | * or a string name to return only the specified piece |
| 3970 | 3970 | * |
| 3971 | - * @return string|array |
|
| 3971 | + * @return string |
|
| 3972 | 3972 | */ |
| 3973 | 3973 | public static function mb_pathinfo($path, $options = null) |
| 3974 | 3974 | { |
@@ -209,7 +209,7 @@ |
||
| 209 | 209 | * Connect to a POP3 server. |
| 210 | 210 | * |
| 211 | 211 | * @param string $host |
| 212 | - * @param int|bool $port |
|
| 212 | + * @param integer $port |
|
| 213 | 213 | * @param int $tval |
| 214 | 214 | * |
| 215 | 215 | * @return bool |