Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Mar 31, 2021
1 parent 070920e commit 96fc794
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/PHPStan/Analyser/AnalyserIntegrationTest.php
Expand Up @@ -404,6 +404,7 @@ public function testBug4715(): void
public function testBug4734(): void
{
$errors = $this->runAnalyse(__DIR__ . '/data/bug-4734.php');
var_dump($errors);
$this->assertCount(0, $errors);
}

Expand Down
10 changes: 8 additions & 2 deletions tests/PHPStan/Analyser/data/bug-4734.php
Expand Up @@ -6,9 +6,15 @@

class Foo
{
private static bool $httpMethodParameterOverride = true;
/**
* @var bool
*/
private static $httpMethodParameterOverride = true;

private bool $httpMethodParameterOverride2 = true;
/**
* @var bool
*/
private $httpMethodParameterOverride2 = true;
}

class Bar
Expand Down

0 comments on commit 96fc794

Please sign in to comment.