public function notHasAttribute($attribute) { if (is_string($this->actual)) { a::assertClassNotHasAttribute($attribute, $this->actual, $this->description); } else { a::assertObjectNotHasAttribute($attribute, $this->actual, $this->description); } }