1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-12 08:04: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(); $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;
} }