rector: arrrrr

This commit is contained in:
Andras Bacsai
2025-01-07 14:52:08 +01:00
parent c702ebff6d
commit 16c0cd10d8
349 changed files with 4204 additions and 3712 deletions

View File

@@ -49,6 +49,8 @@ class Index extends Component
$this->current_url = url()->current();
$this->show_pull_request_only();
$this->show_more();
return null;
}
private function show_pull_request_only()
@@ -78,9 +80,9 @@ class Index extends Component
public function previous_page(?int $take = null)
{
if ($take) {
$this->skip = $this->skip - $take;
$this->skip -= $take;
}
$this->skip = $this->skip - $this->default_take;
$this->skip -= $this->default_take;
if ($this->skip < 0) {
$this->show_prev = false;
$this->skip = 0;
@@ -91,7 +93,7 @@ class Index extends Component
public function next_page(?int $take = null)
{
if ($take) {
$this->skip = $this->skip + $take;
$this->skip += $take;
}
$this->show_prev = true;
$this->load_deployments();