Completed
Push — develop ( 9c7ec6...e33a39 )
by Armando
01:30
created
src/InlineKeyboardPagination.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
      */
159 159
     public function getNumberOfPages(): int
160 160
     {
161
-        return (int) ceil(count($this->items) / $this->items_per_page);
161
+        return (int)ceil(count($this->items) / $this->items_per_page);
162 162
     }
163 163
 
164 164
     /**
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
     protected function generateButton(int $page): array
290 290
     {
291 291
         return [
292
-            'text'          => (string) $page,
292
+            'text'          => (string)$page,
293 293
             'callback_data' => $this->generateCallbackData($page),
294 294
         ];
295 295
     }
Please login to merge, or discard this patch.