mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-26 07:58:40 +00:00
remove unused param
This commit is contained in:
parent
625559977f
commit
d4308ec916
|
|
@ -151,7 +151,7 @@ class Repository
|
|||
$branches = $this->run('branch');
|
||||
$result = [];
|
||||
|
||||
foreach ($branches as $key => $branch) {
|
||||
foreach ($branches as $branch) {
|
||||
$branch = \trim($branch, '* ');
|
||||
|
||||
if ($branch !== '') {
|
||||
|
|
@ -232,7 +232,7 @@ class Repository
|
|||
return $lines;
|
||||
}
|
||||
|
||||
foreach ($lineArray as $key => $line) {
|
||||
foreach ($lineArray as $line) {
|
||||
$temp = \preg_replace('/\s+/', ' ', \trim($line, ' '));
|
||||
|
||||
if (!empty($temp)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user