mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-10 23:24:02 +02:00
updated data assignment based on @Seldaek suggestion
This commit is contained in:
@@ -28,15 +28,8 @@ class GitProcessor
|
||||
$branch = self::getBranch();
|
||||
$commit = self::getCommit();
|
||||
|
||||
$record['extra'] = array_merge(
|
||||
$record['extra'],
|
||||
array(
|
||||
'git' => array(
|
||||
'branch' => $branch,
|
||||
'commit' => $commit
|
||||
),
|
||||
)
|
||||
);
|
||||
$record['extra']['git']['branch'] = $branch;
|
||||
$record['extra']['git']['commit'] = $commit;
|
||||
|
||||
return $record;
|
||||
}
|
||||
|
Reference in New Issue
Block a user