Skip to content

Commit

Permalink
chore: rector run
Browse files Browse the repository at this point in the history
  • Loading branch information
priyadi committed Oct 13, 2024
1 parent 10e5848 commit 0e63c70
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* perf: move `TypeResolver` outside of the hot path
* perf(`ObjectCache`): use sentinel value instead of exception
* feat: extra target values
* chore: rector run

## 1.10.0

Expand Down
1 change: 1 addition & 0 deletions src/Proxy/Implementation/ProxyFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public function __construct(
/**
* @param class-string $class
*/
#[\Override]
public function warmingCreateProxy(string $class): void
{
$targetProxyClass = ProxyNamer::generateProxyClassName($class);
Expand Down
1 change: 1 addition & 0 deletions src/Proxy/Implementation/ProxyRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public function __construct(
}
}

#[\Override]
public function warmingRegisterProxy(string $class, string $sourceCode): void
{
$preWarmedProxyDirectory = $this->preWarmedProxyDirectory;
Expand Down
2 changes: 1 addition & 1 deletion src/TransformerRegistry/SearchResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* @internal
* @implements \IteratorAggregate<int,SearchResultEntry>
*/
final class SearchResult implements \IteratorAggregate, \Countable
final readonly class SearchResult implements \IteratorAggregate, \Countable
{
/**
* @param list<MixedType|Type> $sourceTypes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@
final class SomeObjectWithPropertyDto
{
public ?string $property = null;

public ?\DateTimeInterface $date = null;
}

0 comments on commit 0e63c70

Please sign in to comment.