mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
Remove unused parents_nodes
This commit is contained in:
parent
6eb40e7897
commit
e0c24cbe7a
@ -323,8 +323,6 @@ class CastAnalyzer
|
|||||||
|
|
||||||
$atomic_types = $stmt_type->getAtomicTypes();
|
$atomic_types = $stmt_type->getAtomicTypes();
|
||||||
|
|
||||||
$parent_nodes = [];
|
|
||||||
|
|
||||||
$parent_nodes = $stmt_type->parent_nodes;
|
$parent_nodes = $stmt_type->parent_nodes;
|
||||||
|
|
||||||
while ($atomic_types) {
|
while ($atomic_types) {
|
||||||
@ -511,8 +509,6 @@ class CastAnalyzer
|
|||||||
|
|
||||||
$atomic_types = $stmt_type->getAtomicTypes();
|
$atomic_types = $stmt_type->getAtomicTypes();
|
||||||
|
|
||||||
$parent_nodes = [];
|
|
||||||
|
|
||||||
$parent_nodes = $stmt_type->parent_nodes;
|
$parent_nodes = $stmt_type->parent_nodes;
|
||||||
|
|
||||||
while ($atomic_types) {
|
while ($atomic_types) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user