1
0
mirror of synced 2024-11-24 14:26:06 +03:00

Symfony 6.0 compatibility (#134)

This commit is contained in:
Pavel 2021-12-16 17:06:14 +03:00 committed by GitHub
parent 8b136b075b
commit 5c35b3e3be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@
"require": {
"php": ">=7.3.0",
"ext-json": "*",
"psr/log": "^1.1",
"psr/log": "^1|^2|^3",
"psr/http-client": "^1.0",
"psr/http-message": "^1.0",
"psr/http-message-implementation": "^1.0",
@ -29,7 +29,7 @@
"liip/serializer": "^2.0",
"php-http/httplug": "^2.2",
"civicrm/composer-compile-plugin": "^0.15.0",
"symfony/console": "^4.0|^5.0",
"symfony/console": "^4.0|^5.0|^6.0",
"psr/event-dispatcher": "^1.0",
"neur0toxine/psr.http-client-implementation.php-http-curl": "*",
"neur0toxine/psr.http-factory-implementation.nyholm": "*",

View File

@ -49,7 +49,7 @@ class ArrayLogger extends AbstractLogger
*
* @throws \Psr\Log\InvalidArgumentException
*/
public function log($level, $message, array $context = array())
public function log($level, $message, array $context = array()): void
{
$this->messages[] = [
'level' => $level,