8000 Fix code style · symfony/symfony@6d2c6cc · GitHub
[go: up one dir, main page]

Skip to content

Commit 6d2c6cc

Browse files
author
michael.kubovic
committed
Fix code style
1 parent 41f4e94 commit 6d2c6cc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public function getTypesFromConstructor(string $class, string $property): ?array
200200
}
201201
}
202202

203-
if (!isset($types[0]) || $types[0] === []) {
203+
if (!isset($types[0]) || [] === $types[0]) {
204204
return null;
205205
}
206206

src/Symfony/Component/PropertyInfo/Tests/Fixtures/ConstructorDummy.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ class ConstructorDummy
2929
* @param \DateTimeZone $timezone
3030
* @param int $date Timestamp
3131
* @param \DateTimeInterface $dateObject
32-
* @param mixed $mixed
32+
* @param mixed $mixed
3333
*/
34-
public function __construct(\DateTimeZone $timezone, $date, $dateObject, \DateTime $dateTime, public $mixed)
34+
public function __construct(\DateTimeZone $timezone, $date, $dateObject, \DateTime $dateTime, $mixed)
3535
{
3636
$this->timezone = $timezone->getName();
3737
$this->date = \DateTime::createFromFormat('U', $date);

0 commit comments

Comments
 (0)
0