Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Oct 18, 2024
1 parent dc5d8f4 commit e802b85
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/Type/TypeResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,21 @@
final class TypeResult
{

public readonly Type $type;

public readonly array $reasons;

Check failure on line 13 in src/Type/TypeResult.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.2, ubuntu-latest)

Property PHPStan\Type\TypeResult::$reasons type has no value type specified in iterable type array.

Check failure on line 13 in src/Type/TypeResult.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, ubuntu-latest)

Property PHPStan\Type\TypeResult::$reasons type has no value type specified in iterable type array.

Check failure on line 13 in src/Type/TypeResult.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.3, ubuntu-latest)

Property PHPStan\Type\TypeResult::$reasons type has no value type specified in iterable type array.

Check failure on line 13 in src/Type/TypeResult.php

View workflow job for this annotation

GitHub Actions / PHPStan with result cache (8.2)

Property PHPStan\Type\TypeResult::$reasons type has no value type specified in iterable type array.

Check failure on line 13 in src/Type/TypeResult.php

View workflow job for this annotation

GitHub Actions / PHPStan with result cache (8.4)

Property PHPStan\Type\TypeResult::$reasons type has no value type specified in iterable type array.

Check failure on line 13 in src/Type/TypeResult.php

View workflow job for this annotation

GitHub Actions / PHPStan with result cache (8.3)

Property PHPStan\Type\TypeResult::$reasons type has no value type specified in iterable type array.

Check failure on line 13 in src/Type/TypeResult.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.4, ubuntu-latest)

Property PHPStan\Type\TypeResult::$reasons type has no value type specified in iterable type array.

Check failure on line 13 in src/Type/TypeResult.php

View workflow job for this annotation

GitHub Actions / PHPStan with result cache (8.1)

Property PHPStan\Type\TypeResult::$reasons type has no value type specified in iterable type array.

Check failure on line 13 in src/Type/TypeResult.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.4, windows-latest)

Property PHPStan\Type\TypeResult::$reasons type has no value type specified in iterable type array.

Check failure on line 13 in src/Type/TypeResult.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, windows-latest)

Property PHPStan\Type\TypeResult::$reasons type has no value type specified in iterable type array.

Check failure on line 13 in src/Type/TypeResult.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.3, windows-latest)

Property PHPStan\Type\TypeResult::$reasons type has no value type specified in iterable type array.

Check failure on line 13 in src/Type/TypeResult.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.2, windows-latest)

Property PHPStan\Type\TypeResult::$reasons type has no value type specified in iterable type array.

/**
* @param T $type
* @param list<string> $reasons
*/
public function __construct(

Check failure on line 19 in src/Type/TypeResult.php

View workflow job for this annotation

GitHub Actions / PHPStan (7.4, ubuntu-latest)

Property PHPStan\Type\TypeResult::$reasons type has no value type specified in iterable type array.

Check failure on line 19 in src/Type/TypeResult.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, ubuntu-latest)

Property PHPStan\Type\TypeResult::$reasons type has no value type specified in iterable type array.

Check failure on line 19 in src/Type/TypeResult.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, windows-latest)

Property PHPStan\Type\TypeResult::$reasons type has no value type specified in iterable type array.

Check failure on line 19 in src/Type/TypeResult.php

View workflow job for this annotation

GitHub Actions / PHPStan (7.4, windows-latest)

Property PHPStan\Type\TypeResult::$reasons type has no value type specified in iterable type array.
public readonly Type $type,
public readonly array $reasons,
Type $type,
array $reasons,

Check failure on line 21 in src/Type/TypeResult.php

View workflow job for this annotation

GitHub Actions / PHPStan (7.3, ubuntu-latest)

Property PHPStan\Type\TypeResult::$reasons type has no value type specified in iterable type array.

Check failure on line 21 in src/Type/TypeResult.php

View workflow job for this annotation

GitHub Actions / PHPStan (7.2, ubuntu-latest)

Property PHPStan\Type\TypeResult::$reasons type has no value type specified in iterable type array.

Check failure on line 21 in src/Type/TypeResult.php

View workflow job for this annotation

GitHub Actions / PHPStan (7.3, windows-latest)

Property PHPStan\Type\TypeResult::$reasons type has no value type specified in iterable type array.

Check failure on line 21 in src/Type/TypeResult.php

View workflow job for this annotation

GitHub Actions / PHPStan (7.2, windows-latest)

Property PHPStan\Type\TypeResult::$reasons type has no value type specified in iterable type array.
)
{
$this->type = $type;
$this->reasons = $reasons;
}

}

0 comments on commit e802b85

Please sign in to comment.