mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-19 23:56:17 +02:00
CS fixes
This commit is contained in:
@@ -53,12 +53,12 @@ class GitProcessor
|
||||
|
||||
$branches = `git branch -v --no-abbrev`;
|
||||
if (preg_match('{^\* (.+?)\s+([a-f0-9]{40})(?:\s|$)}m', $branches, $matches)) {
|
||||
return self::$cache = array(
|
||||
return self::$cache = [
|
||||
'branch' => $matches[1],
|
||||
'commit' => $matches[2],
|
||||
);
|
||||
];
|
||||
}
|
||||
|
||||
return self::$cache = array();
|
||||
return self::$cache = [];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user