We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1c9394 commit c019c75Copy full SHA for c019c75
src/Files/File.php
@@ -1876,6 +1876,10 @@ public function getMemberProperties($stackPtr)
1876
throw new RuntimeException('$stackPtr must be of type T_VARIABLE');
1877
}
1878
1879
+ if (empty($this->tokens[$stackPtr]['conditions']) === true) {
1880
+ throw new RuntimeException('$stackPtr is not a class member var');
1881
+ }
1882
+
1883
$conditions = array_keys($this->tokens[$stackPtr]['conditions']);
1884
$ptr = array_pop($conditions);
1885
if (isset($this->tokens[$ptr]) === false
0 commit comments