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:
committed by
Jordi Boggiano
parent
35c84c5b6f
commit
e5ff7eb074
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user