1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-29 11:26:09 +01:00

Use coalesce operator (#982)

* Use coalesce operator

* Use coalesce operator

* Use coalesce operator

* Use coalesce operator
This commit is contained in:
Lesnykh Ilia
2017-05-08 12:13:42 +03:00
committed by Jordi Boggiano
parent 35c84c5b6f
commit e5ff7eb074
4 changed files with 7 additions and 7 deletions

View File

@@ -132,7 +132,7 @@ class ChromePHPHandler extends AbstractProcessingHandler
return;
}
self::$json['request_uri'] = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '';
self::$json['request_uri'] = $_SERVER['REQUEST_URI'] ?? '';
}
$json = @json_encode(self::$json);