Skip to content

Commit

Permalink
Merge pull request #2 from grininc/task/TV-632/add-laravel-10-support
Browse files Browse the repository at this point in the history
[TV-632] Add Laravel 10 support
  • Loading branch information
david-esquivel authored Apr 3, 2024
2 parents 908ff13 + 759a26d commit 0817333
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 0817333

Please sign in to comment.