Skip to content

Commit ef0a884

Browse files
authored
Apply fixes from StyleCI (#33456)
1 parent 8225119 commit ef0a884

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/Support/SupportStringableTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,26 +94,26 @@ public function testWhenEmpty()
9494

9595
public function testWhenFalse()
9696
{
97-
$this->assertSame('when', (string) $this->stringable('when')->when(false,function($stringable,$value){
97+
$this->assertSame('when', (string) $this->stringable('when')->when(false, function ($stringable, $value) {
9898
return $stringable->append($value)->append('false');
9999
}));
100-
101-
$this->assertSame('when false fallbacks to default', (string) $this->stringable('when false ')->when(false,function($stringable,$value){
100+
101+
$this->assertSame('when false fallbacks to default', (string) $this->stringable('when false ')->when(false, function ($stringable, $value) {
102102
return $stringable->append($value);
103-
},function($stringable){
103+
}, function ($stringable) {
104104
return $stringable->append('fallbacks to default');
105105
}));
106106
}
107107

108108
public function testWhenTrue()
109109
{
110-
$this->assertSame('when true', (string) $this->stringable('when ')->when(true,function($stringable){
110+
$this->assertSame('when true', (string) $this->stringable('when ')->when(true, function ($stringable) {
111111
return $stringable->append('true');
112112
}));
113-
114-
$this->assertSame('gets a value from if', (string) $this->stringable('gets a value ')->when('from if',function($stringable,$value){
113+
114+
$this->assertSame('gets a value from if', (string) $this->stringable('gets a value ')->when('from if', function ($stringable, $value) {
115115
return $stringable->append($value);
116-
},function($stringable){
116+
}, function ($stringable) {
117117
return $stringable->append('fallbacks to default');
118118
}));
119119
}

0 commit comments

Comments
 (0)