| 1 | <?php |
||
| 16 | class KernelTest extends \PHPUnit_Framework_TestCase |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * test construct. |
||
| 20 | * |
||
| 21 | * @param string $environment |
||
| 22 | * @param bool $debug |
||
| 23 | * |
||
| 24 | * @dataProvider constructProvider |
||
| 25 | */ |
||
| 26 | public function testConstruct($environment, $debug) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * test register bundles |
||
| 39 | */ |
||
| 40 | public function testRegisterBundles() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * construct provider. |
||
| 54 | * |
||
| 55 | * @return array |
||
|
|
|||
| 56 | */ |
||
| 57 | public function constructProvider() |
||
| 68 | } |
||
| 69 |
This check looks for the generic type
arrayas a return type and suggests a more specific type. This type is inferred from the actual code.