Completed
Pull Request — master (#12)
by Jakub
03:54
created

AutowiredMethodTrait::setBar()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
namespace Skrz\Bundle\AutowiringBundle\Tests\DependencyInjection\Compiler\AutowiringCompilerPassSource;
3
4
use Skrz\Bundle\AutowiringBundle\Annotation\Autowired;
5
use Skrz\Bundle\AutowiringBundle\Tests\DependencyInjection\Compiler\AutowiringCompilerPassSource\Foo\Bar;
6
7
trait AutowiredMethodTrait
8
{
9
10
	/**
11
	 * @param Bar $bar
12
	 *
13
	 * @Autowired
14
	 */
15
	public function setBar($bar)
0 ignored issues
show
Unused Code introduced by
The parameter $bar is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
16
	{
17
18
	}
19
20
}
21