| Conditions | 3 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | public function __construct($configuration = null, $testData = null) |
||
| 17 | { |
||
| 18 | assert($configuration instanceof Configuration || is_null($configuration)); |
||
| 19 | assert($testData instanceof TestData || is_null($configuration)); |
||
| 20 | |||
| 21 | $this->setConfiguration($configuration); |
||
| 22 | $this->setTestData($testData); |
||
| 23 | $this->initialize(); |
||
| 24 | $this->invokeTestSuite(); |
||
| 25 | } |
||
| 26 | |||
| 73 |
This check looks for
@paramannotations where the type inferred by our type inference engine differs from the declared type.It makes a suggestion as to what type it considers more descriptive.
Most often this is a case of a parameter that can be null in addition to its declared types.