1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-03 10:07:52 +01:00
This commit is contained in:
Daniil Gentili 2023-10-21 18:44:02 +02:00
parent 6613c928d2
commit 64ef0d9666
3 changed files with 12 additions and 6 deletions

View File

@ -12,7 +12,9 @@ use Psalm\Internal\Scanner\UnresolvedConstantComponent;
*/
final class ArrayOffsetFetch extends UnresolvedConstantComponent
{
public function __construct(public readonly UnresolvedConstantComponent $array, public readonly UnresolvedConstantComponent $offset)
{
public function __construct(
public readonly UnresolvedConstantComponent $array,
public readonly UnresolvedConstantComponent $offset,
) {
}
}

View File

@ -12,7 +12,9 @@ use Psalm\Internal\Scanner\UnresolvedConstantComponent;
*/
final class KeyValuePair extends UnresolvedConstantComponent
{
public function __construct(public readonly ?UnresolvedConstantComponent $key, public readonly UnresolvedConstantComponent $value)
{
public function __construct(
public readonly ?UnresolvedConstantComponent $key,
public readonly UnresolvedConstantComponent $value,
) {
}
}

View File

@ -15,7 +15,9 @@ abstract class UnresolvedBinaryOp extends UnresolvedConstantComponent
{
use ImmutableNonCloneableTrait;
public function __construct(public readonly UnresolvedConstantComponent $left, public readonly UnresolvedConstantComponent $right)
{
public function __construct(
public readonly UnresolvedConstantComponent $left,
public readonly UnresolvedConstantComponent $right,
) {
}
}