minor #25031 [DI] Remove scalar typehint in class used in test case (ogizanagi)

This PR was merged into the 3.4 branch.

Discussion
----------

[DI] Remove scalar typehint in class used in test case

| Q             | A
| ------------- | ---
| Branch?       | 3.4 <!-- see comment below -->
| Bug fix?      | no
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md files -->
| Tests pass?   | yes
| Fixed tickets | N/A <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | N/A

Should fix 5.x builds: https://travis-ci.org/symfony/symfony/jobs/304298433#L3054

Commits
-------

5be25d5 [DI] Remove scalar typehint in class used in test case
This commit is contained in:
Robin Chalas 2017-11-19 17:30:14 +01:00
commit a03513a25b

View File

@ -16,7 +16,7 @@ class SimilarArgumentsDummy
public $class1;
public $class2;
public function __construct(CaseSensitiveClass $class1, string $token, CaseSensitiveClass $class2)
public function __construct(CaseSensitiveClass $class1, $token, CaseSensitiveClass $class2)
{
$this->class1 = $class1;
$this->class2 = $class2;