Skip to content

Commit 9868ca5

Browse files
author
Vincent Langlet
committed
🚨 More tests
1 parent e2e5269 commit 9868ca5

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Symfony3Custom/Tests/Namespaces/UnusedUseUnitTest.inc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ use Machin;
1111
use Machine;
1212
use Unused;
1313
use Client;
14+
use Clients;
15+
use PasClient;
1416

1517
class Container
1618
{
@@ -25,7 +27,7 @@ class Container
2527
*/
2628
function test (Bar $bar)
2729
{
28-
/** @var Client $client */
30+
/** @var Client|Clients[]|PasClient $client */
2931

3032
return;
3133
}

Symfony3Custom/Tests/Namespaces/UnusedUseUnitTest.inc.fixed

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ use Truc;
1010
use Machin;
1111
use Machine;
1212
use Client;
13+
use Clients;
14+
use PasClient;
1315

1416
class Container
1517
{
@@ -24,7 +26,7 @@ class Container
2426
*/
2527
function test (Bar $bar)
2628
{
27-
/** @var Client $client */
29+
/** @var Client|Clients[]|PasClient $client */
2830

2931
return;
3032
}

0 commit comments

Comments
 (0)