X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FTestLogger.php;h=fd457324227eab8aa7c1a92167dae3bb9d22b06e;hb=ef7881189c56bd1401a91678a9e3fd5e08717dad;hp=17a41823cc41cce7923ac75ae2373d8273afb924;hpb=7ab77f0aa57ec8829a42c781bce98412f828c4fd;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/TestLogger.php b/tests/phpunit/includes/TestLogger.php index 17a41823cc..fd45732422 100644 --- a/tests/phpunit/includes/TestLogger.php +++ b/tests/phpunit/includes/TestLogger.php @@ -38,7 +38,7 @@ class TestLogger extends \Psr\Log\AbstractLogger { /** * @param bool $collect Whether to collect logs. @see setCollect() - * @param callable $filter Filter logs before collecting/printing. Signature is + * @param callable|null $filter Filter logs before collecting/printing. Signature is * string|null function ( string $message, string $level, array $context ); * @param bool $collectContext Whether to keep the context passed to log * (since 1.29, @see setCollectContext()). @@ -73,8 +73,8 @@ class TestLogger extends \Psr\Log\AbstractLogger { /** * Return the collected logs - * @return array Array of array( string $level, string $message ), or - * array( string $level, string $message, array $context ) if $collectContext was true. + * @return array Array of [ string $level, string $message ], or + * [ string $level, string $message, array $context ] if $collectContext was true. */ public function getBuffer() { return $this->buffer;