diff --git a/src/Users/UserContract.php b/src/Users/UserContract.php index b078f40..a6270ac 100644 --- a/src/Users/UserContract.php +++ b/src/Users/UserContract.php @@ -19,7 +19,7 @@ public function __construct(array $attributes = []); * * @param string $key */ - public function __get(string $key): mixed; + public function __get(string $key); /** * Dynamically set attributes on the model. @@ -27,14 +27,14 @@ public function __get(string $key): mixed; * @param mixed $value * @param string $key */ - public function __set(string $key, mixed $value): void; + public function __set(string $key, mixed $value); /** * Fill the model with an array of attributes. * * @param array $attributes */ - public function fill(array $attributes): self; + public function fill(array $attributes); /** * Get an attribute from the model. @@ -42,7 +42,7 @@ public function fill(array $attributes): self; * @param mixed $default * @param string $key */ - public function getAttribute(string $key, mixed $default = null): mixed; + public function getAttribute(string $key); /** * Set a given attribute on the model. @@ -50,5 +50,5 @@ public function getAttribute(string $key, mixed $default = null): mixed; * @param mixed $value * @param string $key */ - public function setAttribute(string $key, mixed $value): self; + public function setAttribute(string $key, $value); }