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