1
0
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:
otternq
2013-11-20 00:41:49 -08:00
parent e1feb74001
commit 1c3b7a6cdd

View File

@@ -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;
}