summaryrefslogtreecommitdiff
path: root/src/ste/Scope.php
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-09-13 21:30:39 +0200
committerLaria Carolin Chabowski <laria@laria.me>2020-09-13 21:30:39 +0200
commit5ee6bbbf3002daf075fa77007daccf4d2af25241 (patch)
treedd245fc9d77896e2a27a7070f053c7e3971d07f2 /src/ste/Scope.php
parent604c3f8123950faddcdb688c4d3a8213fb4a6c1a (diff)
downloadste-5ee6bbbf3002daf075fa77007daccf4d2af25241.tar.gz
ste-5ee6bbbf3002daf075fa77007daccf4d2af25241.tar.bz2
ste-5ee6bbbf3002daf075fa77007daccf4d2af25241.zip
Fix some issues reported by PhpStorm
Diffstat (limited to 'src/ste/Scope.php')
-rw-r--r--src/ste/Scope.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ste/Scope.php b/src/ste/Scope.php
index afb2bfc..15d7d6c 100644
--- a/src/ste/Scope.php
+++ b/src/ste/Scope.php
@@ -184,7 +184,7 @@ class Scope implements \ArrayAccess
public function offsetExists($offset)
{
try {
- $this->get_topvar_reference($offset);
+ $this->get_topvar_reference($offset, false);
return true;
} catch (VarNotInScope $e) {
return false;