Skip to content

Commit

Permalink
Merge branch '6.4' into 7.0
Browse files Browse the repository at this point in the history
* 6.4:
  stop marking parameters implicitly as nullable
  include message id provided by the MTA when dispatching the SentMessageEvent
  • Loading branch information
xabbuh committed Mar 28, 2024
2 parents ed1860e + 3141777 commit ff57b5c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Tests/Fixtures/includes/autowiring_classes.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Foo
public static int $counter = 0;

#[Required]
public function cloneFoo(\stdClass $bar = null): static
public function cloneFoo(?\stdClass $bar = null): static
{
++self::$counter;

Expand Down
2 changes: 1 addition & 1 deletion Tests/Fixtures/includes/autowiring_classes_80.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function __construct(string $arg1, #[AutowireDecorated] AsDecoratorInterf
#[AsDecorator(decorates: \NonExistent::class, onInvalid: ContainerInterface::NULL_ON_INVALID_REFERENCE)]
class AsDecoratorBaz implements AsDecoratorInterface
{
public function __construct(#[AutowireDecorated] AsDecoratorInterface $inner = null)
public function __construct(#[AutowireDecorated] ?AsDecoratorInterface $inner = null)
{
}
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/Fixtures/includes/classes.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function callPassed()

class DummyProxyDumper implements DumperInterface
{
public function isProxyCandidate(Definition $definition, bool &$asGhostObject = null, string $id = null): bool
public function isProxyCandidate(Definition $definition, ?bool &$asGhostObject = null, ?string $id = null): bool
{
$asGhostObject = false;

Expand Down

0 comments on commit ff57b5c

Please sign in to comment.