diff --git a/src/Behaviours/CamelCasing.php b/src/Behaviours/CamelCasing.php index 0fbb82d..ac9bfd1 100644 --- a/src/Behaviours/CamelCasing.php +++ b/src/Behaviours/CamelCasing.php @@ -47,10 +47,6 @@ public function setAttribute($key, $value) */ public function getAttribute($key) { - if (method_exists($this, $key)) { - return $this->getRelationValue($key); - } - return parent::getAttribute($this->getSnakeKey($key)); }