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