diff --git a/src/Potter/Aware/AwareTrait.php b/src/Potter/Aware/AwareTrait.php index 0ad5cad..bab3250 100644 --- a/src/Potter/Aware/AwareTrait.php +++ b/src/Potter/Aware/AwareTrait.php @@ -15,6 +15,6 @@ trait AwareTrait final public function has(string $key): bool { - return array_key_exists($key, $array); + return array_key_exists($key, $this->aware); } }