Skip to content

Commit bfdb0d4

Browse files
Fix CS/WS issues
1 parent 8acd1fd commit bfdb0d4

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

src/Util/Annotation/DocBlock.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,14 @@ final class DocBlock
9292
/**
9393
* @var null|array<string, mixed>
9494
*
95-
* @psalm-var null|(array{
95+
* @psalm-var null|(array<
96+
* string,
97+
* array<int|string, string>|array{constraint: string}|array{version: string, operator: string}|string
98+
* >&array{
9699
* __OFFSET: array<string, int>&array{__FILE: string},
97100
* setting?: array<string, string>,
98101
* extension_versions?: array<string, array{version: string, operator: string}>
99-
* }&array<
100-
* string,
101-
* string|array{version: string, operator: string}|array{constraint: string}|array<int|string, string>
102-
* >)
102+
* })
103103
*/
104104
private $parsedRequirements;
105105

src/Util/Printer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class Printer
4343
protected $autoFlush = false;
4444

4545
/**
46-
* @psalm-var resource|closed-resource
46+
* @psalm-var closed-resource|resource
4747
*/
4848
protected $out;
4949

src/Util/VersionComparisonOperator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
final class VersionComparisonOperator
2121
{
2222
/**
23-
* @psalm-var '<'|'lt'|'<='|'le'|'>'|'gt'|'>='|'ge'|'=='|'='|'eq'|'!='|'<>'|'ne'
23+
* @psalm-var '!='|'<'|'<='|'<>'|'='|'=='|'>'|'>='|'eq'|'ge'|'gt'|'le'|'lt'|'ne'
2424
*/
2525
private $operator;
2626

tests/unit/Framework/AssertTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2430,8 +2430,8 @@ protected function sameValues(): array
24302430
[-INF, -INF],
24312431
// arrays
24322432
[[], []],
2433-
[[0 => 1], [0 => 1]],
2434-
[[0 => null], [0 => null]],
2433+
[[0 => 1], [0 => 1]],
2434+
[[0 => null], [0 => null]],
24352435
[['a', 'b' => [1, 2]], ['a', 'b' => [1, 2]]],
24362436
// objects
24372437
[$object, $object],
@@ -2493,7 +2493,7 @@ protected function notEqualValues(): array
24932493
[[], [0 => 1]],
24942494
[[0 => 1], []],
24952495
[[0 => null], []],
2496-
[[0 => 1, 1 => 2], [0 => 1, 1 => 3]],
2496+
[[0 => 1, 1 => 2], [0 => 1, 1 => 3]],
24972497
[['a', 'b' => [1, 2]], ['a', 'b' => [2, 1]]],
24982498
// objects
24992499
[new SampleClass(4, 8, 15), new SampleClass(16, 23, 42)],

0 commit comments

Comments
 (0)