Skip to content

Commit

Permalink
Update PHPStan to the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
duncan3dc committed Oct 18, 2024
1 parent 647cc5c commit bd654f8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"duncan3dc/php-ini": "^1.2",
"maglnet/composer-require-checker": "^2.0 || ^3.0",
"mockery/mockery": "^1.4",
"phpstan/phpstan": "^0.12.99",
"phpstan/phpstan-mockery": "^0.12.12",
"phpstan/phpstan-phpunit": "^0.12.17",
"phpstan/phpstan": "^1.12",
"phpstan/phpstan-mockery": "^1.1",
"phpstan/phpstan-phpunit": "^1.4",
"squizlabs/php_codesniffer": "^3.5.8",
"phpunit/phpunit": "^8.5.23"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Segments/SegmentInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function getSegmentCode(): string;
/**
* Get all the elements from the segment.
*
* @return array<mixed>
* @return array<array<string>|string>
*/
public function getAllElements(): array;

Expand Down
2 changes: 1 addition & 1 deletion tests/ExceptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
class ExceptionTest extends TestCase
{
/**
* @return iterable<array>
* @return iterable<array<string>>
*/
public function exceptionProvider(): iterable
{
Expand Down
2 changes: 1 addition & 1 deletion tests/InAndOutTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class InAndOutTest extends TestCase
{
/**
* @return iterable<array>
* @return iterable<array<string>>
*/
public function messageProvider(): iterable
{
Expand Down

0 comments on commit bd654f8

Please sign in to comment.