Skip to content

Commit

Permalink
[TV-632] Add Laravel 10 support
Browse files Browse the repository at this point in the history
  • Loading branch information
David Esquivel committed Apr 3, 2024
1 parent 908ff13 commit 759a26d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Users/UserContract.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,36 +19,36 @@ 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.
*
* @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.
*
* @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.
*
* @param mixed $value
* @param string $key
*/
public function setAttribute(string $key, mixed $value): self;
public function setAttribute(string $key, $value);
}

0 comments on commit 759a26d

Please sign in to comment.