Passed
Branch elastica (0dab0b)
by Florian
02:11
created
Category
src/PaginationServiceInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * Copyright (c) Phauthentic (https://github.com/Phauthentic)
5 5
  *
Please login to merge, or discard this patch.
src/PaginationParamsInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * Copyright (c) Phauthentic (https://github.com/Phauthentic)
5 5
  *
Please login to merge, or discard this patch.
src/PaginationService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * Copyright (c) Phauthentic (https://github.com/Phauthentic)
5 5
  *
Please login to merge, or discard this patch.
src/PaginationParams.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * Copyright (c) Phauthentic (https://github.com/Phauthentic)
5 5
  *
@@ -76,10 +76,10 @@  discard block
 block discarded – undo
76 76
     {
77 77
         $count = $this->count / $this->limit;
78 78
 
79
-        if ((int)$count === 0) {
79
+        if ((int) $count === 0) {
80 80
             $count = 1;
81 81
         } else {
82
-            $count = (int)ceil($count);
82
+            $count = (int) ceil($count);
83 83
         }
84 84
 
85 85
         $this->pageCount = $count;
Please login to merge, or discard this patch.
src/RequestBasedPaginationService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * Copyright (c) Phauthentic (https://github.com/Phauthentic)
5 5
  *
Please login to merge, or discard this patch.
src/Paginator/PaginatorInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * Copyright (c) Phauthentic (https://github.com/Phauthentic)
5 5
  *
Please login to merge, or discard this patch.
src/Paginator/ArrayPaginator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
  * @link          https://github.com/Phauthentic
11 11
  * @license       https://opensource.org/licenses/mit-license.php MIT License
12 12
  */
13
-declare(strict_types = 1);
13
+declare(strict_types=1);
14 14
 
15 15
 namespace Phauthentic\Pagination\Paginator;
16 16
 
Please login to merge, or discard this patch.
src/Paginator/Doctrine2Paginator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * Copyright (c) Phauthentic (https://github.com/Phauthentic)
5 5
  *
Please login to merge, or discard this patch.
src/ParamsFactory/PaginationParamsFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * Copyright (c) Phauthentic (https://github.com/Phauthentic)
5 5
  *
Please login to merge, or discard this patch.