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

Add scalar types to processor/formatters and top level classes

This commit is contained in:
Jordi Boggiano
2016-09-25 21:23:35 +02:00
parent 760dc44ebd
commit 6e6586257d
29 changed files with 130 additions and 196 deletions

View File

@@ -24,7 +24,7 @@ class PsrLogMessageProcessor
* @param array $record
* @return array
*/
public function __invoke(array $record)
public function __invoke(array $record): array
{
if (false === strpos($record['message'], '{')) {
return $record;