8000 CS · symfony/symfony@1d69ff8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1d69ff8

Browse files
committed
CS
1 parent 96c4e9e commit 1d69ff8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/TypeInfo/Tests/Type/IntRangeTypeTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class IntRangeTypeTest extends TestCase
2020
public function testToString()
2121
{
2222
$this->assertSame('non-negative-int', (string) new IntRangeType(from: 0));
23-
$this->assertSame('non-positive-int', (string) new IntRangeType(to:0));
23+
$this->assertSame('non-positive-int', (string) new IntRangeType(to: 0));
2424
$this->assertSame('positive-int', (string) new IntRangeType(from: 1));
2525
$this->assertSame('negative-int', (string) new IntRangeType(to: -1));
2626
$this->assertSame('int<-3, 5>', (string) new IntRangeType(from: -3, to: 5));
@@ -38,6 +38,6 @@ public function testAccepts()
3838
$this->assertTrue((new IntRangeType(from: -1, to: 5))->accepts(2));
3939
$this->assertFalse((new IntRangeType(from: -1, to: 5))->accepts(6));
4040

41-
$this->assertFalse((Type::union(Type::intRange(to: -1), Type::intRange(from: 1)))->accepts(0));
41+
$this->assertFalse(Type::union(Type::intRange(to: -1), Type::intRange(from: 1))->accepts(0));
4242
}
4343
}

0 commit comments

Comments
 (0)
0