Skip to content

Commit 3497bef

Browse files
committed
PHP-88 - V2 - Add return type to Logger
1 parent 93f44ad commit 3497bef

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"type": "library",
77
"license": "Apache-2.0",
88
"require": {
9-
"php": ">=5.3.0",
10-
"psr/log": "^1.0 | ^2.0",
9+
"php": ">= 7.0.0",
10+
"psr/log": "^1.0 | ^2.0 | ^3.0",
1111
"guzzlehttp/psr7": "^1.9.1 || ^2.4.5",
1212
"php-http/socket-client": "^1.4 | ^2.0",
1313
"php-http/message": "^1.7",

src/Stackify/Log/Standalone/Logger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function __destruct()
3535
$this->transport->finish();
3636
}
3737

38-
public function log($level, $message, array $context = array())
38+
public function log($level, $message, array $context = array()): void
3939
{
4040
$logEvent = array(
4141
'message' => (string) $message,

0 commit comments

Comments
 (0)