Test Failed
Push — master ( 0f2b96...8d52bb )
by butschster
13:42 queued 05:30
created
src/Pagination/src/Paginator.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
         private int $limit = 25,
18 18
         int $count = 0,
19 19
         private readonly ?string $parameter = null,
20
-    ) {
20
+    ){
21 21
         $this->setCount($count);
22 22
     }
23 23
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     public function paginate(PaginableInterface $target): PaginatorInterface
74 74
     {
75 75
         $paginator = clone $this;
76
-        if ($target instanceof \Countable && $paginator->count === 0) {
76
+        if ($target instanceof \Countable && $paginator->count === 0){
77 77
             $paginator->setCount($target->count());
78 78
         }
79 79
 
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
 
96 96
     public function countDisplayed(): int
97 97
     {
98
-        if ($this->getPage() === $this->countPages) {
98
+        if ($this->getPage() === $this->countPages){
99 99
             return $this->count - $this->getOffset();
100 100
         }
101 101
 
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
 
110 110
     public function nextPage(): ?int
111 111
     {
112
-        if ($this->getPage() !== $this->countPages) {
112
+        if ($this->getPage() !== $this->countPages){
113 113
             return $this->getPage() + 1;
114 114
         }
115 115
 
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 
119 119
     public function previousPage(): ?int
120 120
     {
121
-        if ($this->getPage() > 1) {
121
+        if ($this->getPage() > 1){
122 122
             return $this->getPage() - 1;
123 123
         }
124 124
 
Please login to merge, or discard this patch.