Skip to content

[DependencyInjection] Added support for variadics in named arguments #24937

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Introduce NamedArgumentsVariadicsDummy to test variadics named argume…
…nts.
  • Loading branch information
pkowalczyk authored and PabloKowalczyk committed Nov 20, 2017
commit 625b3d3033c84cd69a84976c430d0d9bbd41f5d4
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

declare(strict_types=1);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be removed


namespace Symfony\Component\DependencyInjection\Tests\Fixtures;

class NamedArgumentsVariadicsDummy
{
public function __construct(...$variadics)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for the tests, could you add another parameter before the variadic one so we show it works?

{

}
}