Skip to content

Commit 2398d3b

Browse files
committed
Merge branch '4.x' into 5.x
2 parents 2ebaa8a + b4958b3 commit 2398d3b

File tree

3 files changed

+3
-27
lines changed

3 files changed

+3
-27
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
"dg/bypass-finals": "^1.9",
1818
"jackalope/jackalope-doctrine-dbal": "^2.0",
1919
"phpstan/extension-installer": "^1.4",
20-
"phpstan/phpstan": "2.1.17",
21-
"phpstan/phpstan-phpunit": "2.0.6",
20+
"phpstan/phpstan": "2.1.29",
21+
"phpstan/phpstan-phpunit": "2.0.7",
2222
"phpunit/phpunit": "11.5.25",
23-
"rector/rector": "2.1.0",
23+
"rector/rector": "2.1.7",
2424
"ruflin/elastica": "^7.3 || ^8.0",
2525
"solarium/solarium": "^6.2",
2626
"symfony/cache": "^6.4 || ^7.2",

lib/Core/Pagerfanta.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ public function getAdapter(): AdapterInterface
7979

8080
/**
8181
* @return $this
82-
*
83-
* @phpstan-self-out self<T>
8482
*/
8583
public function setAllowOutOfRangePages(bool $allowOutOfRangePages): PagerfantaInterface
8684
{
@@ -96,8 +94,6 @@ public function getAllowOutOfRangePages(): bool
9694

9795
/**
9896
* @return $this
99-
*
100-
* @phpstan-self-out self<T>
10197
*/
10298
public function setNormalizeOutOfRangePages(bool $normalizeOutOfRangePages): PagerfantaInterface
10399
{
@@ -114,8 +110,6 @@ public function getNormalizeOutOfRangePages(): bool
114110
/**
115111
* @return $this
116112
*
117-
* @phpstan-self-out self<T>
118-
*
119113
* @throws LessThan1MaxPerPageException if the page is less than 1
120114
*/
121115
public function setMaxPerPage(int $maxPerPage): PagerfantaInterface
@@ -163,8 +157,6 @@ public function getMaxPerPage(): int
163157
/**
164158
* @return $this
165159
*
166-
* @phpstan-self-out self<T>
167-
*
168160
* @throws LessThan1CurrentPageException if the current page is less than 1
169161
* @throws OutOfRangeCurrentPageException if It is not allowed out of range pages and they are not normalized
170162
*/
@@ -337,8 +329,6 @@ private function minimumNbPages(): int
337329
/**
338330
* @return $this
339331
*
340-
* @phpstan-self-out self<T>
341-
*
342332
* @throws LessThan1MaxPagesException if the max number of pages is less than 1
343333
*/
344334
public function setMaxNbPages(int $maxNbPages): PagerfantaInterface
@@ -354,8 +344,6 @@ public function setMaxNbPages(int $maxNbPages): PagerfantaInterface
354344

355345
/**
356346
* @return $this
357-
*
358-
* @phpstan-self-out self<T>
359347
*/
360348
public function resetMaxNbPages(): PagerfantaInterface
361349
{

lib/Core/PagerfantaInterface.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,13 @@ public function getAdapter(): AdapterInterface;
2323

2424
/**
2525
* @return $this
26-
*
27-
* @phpstan-self-out self<T>
2826
*/
2927
public function setAllowOutOfRangePages(bool $allowOutOfRangePages): self;
3028

3129
public function getAllowOutOfRangePages(): bool;
3230

3331
/**
3432
* @return $this
35-
*
36-
* @phpstan-self-out self<T>
3733
*/
3834
public function setNormalizeOutOfRangePages(bool $normalizeOutOfRangePages): self;
3935

@@ -42,8 +38,6 @@ public function getNormalizeOutOfRangePages(): bool;
4238
/**
4339
* @return $this
4440
*
45-
* @phpstan-self-out self<T>
46-
*
4741
* @throws LessThan1MaxPerPageException if the page is less than 1
4842
*/
4943
public function setMaxPerPage(int $maxPerPage): self;
@@ -56,8 +50,6 @@ public function getMaxPerPage(): int;
5650
/**
5751
* @return $this
5852
*
59-
* @phpstan-self-out self<T>
60-
*
6153
* @throws LessThan1CurrentPageException if the current page is less than 1
6254
* @throws OutOfRangeCurrentPageException if It is not allowed out of range pages and they are not normalized
6355
*/
@@ -96,16 +88,12 @@ public function getNbPages(): int;
9688
/**
9789
* @return $this
9890
*
99-
* @phpstan-self-out self<T>
100-
*
10191
* @throws LessThan1MaxPagesException if the max number of pages is less than 1
10292
*/
10393
public function setMaxNbPages(int $maxNbPages): self;
10494

10595
/**
10696
* @return $this
107-
*
108-
* @phpstan-self-out self<T>
10997
*/
11098
public function resetMaxNbPages(): self;
11199

0 commit comments

Comments
 (0)