File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ install:
3232
3333script :
3434 - composer check-code
35- - if [ "$TRAVIS_PHP_VERSION" >= "7.3 " ]; then composer test-cov; else composer test; fi
35+ - if [ "$TRAVIS_PHP_VERSION" >= "8.0 " ]; then composer test-cov; else composer test; fi
3636
3737after_script :
38- - if [ "$TRAVIS_PHP_VERSION" >= "7.3 " ]; then composer test-cov-upload; fi
38+ - if [ "$TRAVIS_PHP_VERSION" >= "8.0 " ]; then composer test-cov-upload; fi
Original file line number Diff line number Diff line change @@ -231,9 +231,8 @@ public function __construct(
231231 * @inheritdoc
232232 * @throws InlineKeyboardPaginationException
233233 */
234- public function getPagination (
235- int $ selectedPage = null
236- ): array {
234+ public function getPagination (int $ selectedPage = null ): array
235+ {
237236 if ($ selectedPage !== null ) {
238237 $ this ->setSelectedPage ($ selectedPage );
239238 }
@@ -347,9 +346,8 @@ protected function generateRange(): array
347346 *
348347 * @return array
349348 */
350- protected function generateButton (
351- int $ page
352- ): array {
349+ protected function generateButton (int $ page ): array
350+ {
353351 return [
354352 'text ' => (string )$ page ,
355353 'callback_data ' => $ this ->generateCallbackData ($ page ),
You can’t perform that action at this time.
0 commit comments