| 1 | <?php | ||
| 11 | class FrontRenderBundleTest extends PHPUnit_Framework_TestCase | ||
| 12 | { | ||
| 13 | /** | ||
| 14 | * @var ContainerBuilder|Phake_IMock | ||
| 15 | */ | ||
| 16 | protected $container; | ||
| 17 | |||
| 18 | /** | ||
| 19 | * @var FrontRenderBundle | ||
| 20 | */ | ||
| 21 | protected $frontRenderBundle; | ||
| 22 | |||
| 23 | /** | ||
| 24 |      * {@inheritdoc} | ||
| 25 | */ | ||
| 26 | public function setUp() | ||
| 31 | |||
| 32 | /** | ||
| 33 | * Test if the the compiler pass is called | ||
| 34 | */ | ||
| 35 | public function testCompilerPassIsCalled() | ||
| 41 | } | ||
| 42 | 
If a method or function can return multiple different values and unless you are sure that you only can receive a single value in this context, we recommend to add an additional type check:
If this a common case that PHP Analyzer should handle natively, please let us know by opening an issue.