Skip to content

Commit 0817333

Browse files
Merge pull request #2 from grininc/task/TV-632/add-laravel-10-support
[TV-632] Add Laravel 10 support
2 parents 908ff13 + 759a26d commit 0817333

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Users/UserContract.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,36 +19,36 @@ public function __construct(array $attributes = []);
1919
*
2020
* @param string $key
2121
*/
22-
public function __get(string $key): mixed;
22+
public function __get(string $key);
2323

2424
/**
2525
* Dynamically set attributes on the model.
2626
*
2727
* @param mixed $value
2828
* @param string $key
2929
*/
30-
public function __set(string $key, mixed $value): void;
30+
public function __set(string $key, mixed $value);
3131

3232
/**
3333
* Fill the model with an array of attributes.
3434
*
3535
* @param array $attributes
3636
*/
37-
public function fill(array $attributes): self;
37+
public function fill(array $attributes);
3838

3939
/**
4040
* Get an attribute from the model.
4141
*
4242
* @param mixed $default
4343
* @param string $key
4444
*/
45-
public function getAttribute(string $key, mixed $default = null): mixed;
45+
public function getAttribute(string $key);
4646

4747
/**
4848
* Set a given attribute on the model.
4949
*
5050
* @param mixed $value
5151
* @param string $key
5252
*/
53-
public function setAttribute(string $key, mixed $value): self;
53+
public function setAttribute(string $key, $value);
5454
}

0 commit comments

Comments
 (0)