8000 Fixed coding style in ReflectionExtractor and ReflectionExtractorTest · symfony/symfony@4af0726 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4af0726

Browse files
committed
Fixed coding style in ReflectionExtractor and ReflectionExtractorTest
1 parent 97134b9 commit 4af0726

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Symfony/Component/PropertyInfo/Extractor/ReflectionExtractor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,13 +205,13 @@ public function isWritable(string $class, string $property, array $context = [])
205205
return true;
206206
}
207207

208-
//First test with the camelized property name
208+
// First test with the camelized property name
209209
[$reflectionMethod] = $this->getMutatorMethod($class, $this->camelize($property));
210210
if (null !== $reflectionMethod) {
211211
return true;
212212
}
213213

214-
//Otherwise check for the old way
214+
// Otherwise check for the old way
215215
[$reflectionMethod] = $this->getMutatorMethod($class, $property);
216216

217217
return null !== $reflectionMethod;

src/Symfony/Component/PropertyInfo/Tests/Extractor/ReflectionExtractorTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,6 @@ public function testIsReadableSnakeCase()
414414
{
415415
$this->assertTrue($this->extractor->isReadable(SnakeCaseDummy::class, 'snake_property'));
416416
$this->assertTrue($this->extractor->isReadable(SnakeCaseDummy::class, 'snake_readonly'));
417-
418417
}
419418

420419
public function testIsWriteableSnakeCase()

0 commit comments

Comments
 (0)
0