Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
32 | public function __construct( |
||
33 | AgentFinder $agentFinder, |
||
34 | GridMetadataFactoryInterface $metadataFactory, |
||
35 | GridViewFactory $gridViewFactory, |
||
36 | ActionPerformer $actionPerformer |
||
37 | ) { |
||
38 | $this->agentFinder = $agentFinder; |
||
39 | $this->metadataFactory = $metadataFactory; |
||
|
|||
40 | $this->gridViewFactory = $gridViewFactory; |
||
41 | $this->actionPerformer = $actionPerformer; |
||
42 | } |
||
43 | |||
68 |
Our type inference engine has found a suspicous assignment of a value to a property. This check raises an issue when a value that can be of a given class or a super-class is assigned to a property that is type hinted more strictly.
Either this assignment is in error or an instanceof check should be added for that assignment.