mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Fix issuses found in tests
This commit is contained in:
parent
e8c96e52bc
commit
85747d67a1
@ -943,7 +943,7 @@ class PropertyTypeTest extends TestCase
|
||||
class A {
|
||||
public $foo;
|
||||
|
||||
public function __construct(): void {
|
||||
public function __construct() {
|
||||
$this->foo = 5;
|
||||
}
|
||||
}',
|
||||
@ -955,7 +955,7 @@ class PropertyTypeTest extends TestCase
|
||||
class A {
|
||||
public $foo;
|
||||
|
||||
public function __construct(): void {
|
||||
public function __construct() {
|
||||
$this->foo = 5;
|
||||
}
|
||||
|
||||
@ -971,7 +971,7 @@ class PropertyTypeTest extends TestCase
|
||||
class A {
|
||||
public $foo = null;
|
||||
|
||||
public function __construct(): void {
|
||||
public function __construct() {
|
||||
$this->foo = 5;
|
||||
}
|
||||
}',
|
||||
|
@ -579,7 +579,7 @@ class TraitTest extends TestCase
|
||||
class A {
|
||||
use T;
|
||||
|
||||
public function __construct(): void {
|
||||
public function __construct() {
|
||||
$this->foo = 5;
|
||||
}
|
||||
}',
|
||||
@ -594,7 +594,7 @@ class TraitTest extends TestCase
|
||||
class A {
|
||||
use T;
|
||||
|
||||
public function __construct(): void {
|
||||
public function __construct() {
|
||||
$this->foo = 5;
|
||||
}
|
||||
|
||||
@ -613,7 +613,7 @@ class TraitTest extends TestCase
|
||||
class A {
|
||||
use T;
|
||||
|
||||
public function __construct(): void {
|
||||
public function __construct() {
|
||||
$this->foo = 5;
|
||||
}
|
||||
}',
|
||||
|
Loading…
Reference in New Issue
Block a user