Skip to content

Commit 82a39d9

Browse files
committed
Minor adjustements
1 parent 450743b commit 82a39d9

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

src/LiveComponent/src/LiveComponentHydrator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ public function hydrateValue(mixed $value, LivePropMetadata|LegacyLivePropMetada
304304

305305
return $this->serializer->denormalize($value, $type, 'json', $propMetadata->serializationContext());
306306
}
307+
307308
$type = $propMetadata->getType();
308309

309310
if (null === $type) {

src/LiveComponent/src/Metadata/LiveComponentMetadataFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ public function createLivePropMetadata(string $className, string $propertyName,
122122
$collectionValueType
123123
);
124124
}
125+
125126
$infoType = $this->propertyTypeExtractor->getType($className, $property->getName());
126127

127128
if ($infoType instanceof CollectionType) {

src/LiveComponent/src/Util/RequestPropsExtractor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ private function isValueTypeConsistent(mixed $value, LivePropMetadata|LegacyLive
9595
|| $livePropMetadata->isBuiltIn() && ('\is_'.$propType)($value)
9696
|| !$livePropMetadata->isBuiltIn() && $value instanceof $propType;
9797
}
98+
9899
$type = $livePropMetadata->getType();
99100

100101
return null === $type || TypeHelper::accepts($type, $value);

src/Translator/src/Intl/IntlMessageParser.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ private function tryParseUnquoted(
268268
) {
269269
return null;
270270
}
271+
271272
$this->bump();
272273

273274
return Utils::fromCodePoint($ch);
@@ -473,6 +474,7 @@ private function parseArgumentOptions(
473474
'err' => null,
474475
];
475476
}
477+
476478
if (0 === s($skeleton)->length()) {
477479
return $this->error(ErrorKind::EXPECT_DATE_TIME_SKELETON, $location);
478480
}
@@ -960,6 +962,7 @@ private function bumpUntil(string $pattern): bool
960962

961963
return true;
962964
}
965+
963966
$this->bumpTo($this->messageLength);
964967

965968
return false;

src/TwigComponent/src/Twig/TwigPreLexer.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ private function consumeUntilEndBlock(): string
421421
if (1 === $depth) {
422422
break;
423423
}
424+
424425
--$depth;
425426
}
426427

@@ -431,6 +432,7 @@ private function consumeUntilEndBlock(): string
431432
$this->position += 14;
432433
break;
433434
}
435+
434436
--$depth;
435437
}
436438

@@ -445,6 +447,7 @@ private function consumeUntilEndBlock(): string
445447
if ("\n" === $this->input[$this->position]) {
446448
++$this->line;
447449
}
450+
448451
++$this->position;
449452
}
450453

0 commit comments

Comments
 (0)