Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TV-632] Add Laravel 10 support #2

Merged
merged 1 commit into from
Apr 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@
*
* @param string $key
*/
public function __get(string $key): mixed;
public function __get(string $key);

Check failure on line 22 in src/Users/UserContract.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.2)

Method Auth0\Laravel\Users\UserContract::__get() has no return type specified.

Check failure on line 22 in src/Users/UserContract.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.3)

Method Auth0\Laravel\Users\UserContract::__get() has no return type specified.

Check failure on line 22 in src/Users/UserContract.php

View workflow job for this annotation

GitHub Actions / Psalm (8.2)

MissingReturnType

src/Users/UserContract.php:22:21: MissingReturnType: Method Auth0\Laravel\Users\UserContract::__get does not have a return type (see https://psalm.dev/050)

Check failure on line 22 in src/Users/UserContract.php

View workflow job for this annotation

GitHub Actions / Psalm (8.3)

MissingReturnType

src/Users/UserContract.php:22:21: MissingReturnType: Method Auth0\Laravel\Users\UserContract::__get does not have a return type (see https://psalm.dev/050)

/**
* 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);

Check failure on line 30 in src/Users/UserContract.php

View workflow job for this annotation

GitHub Actions / Psalm (8.2)

MissingReturnType

src/Users/UserContract.php:30:21: MissingReturnType: Method Auth0\Laravel\Users\UserContract::__set does not have a return type (see https://psalm.dev/050)

Check failure on line 30 in src/Users/UserContract.php

View workflow job for this annotation

GitHub Actions / Psalm (8.3)

MissingReturnType

src/Users/UserContract.php:30:21: MissingReturnType: Method Auth0\Laravel\Users\UserContract::__set does not have a return type (see https://psalm.dev/050)

/**
* Fill the model with an array of attributes.
*
* @param array $attributes
*/
public function fill(array $attributes): self;
public function fill(array $attributes);

Check failure on line 37 in src/Users/UserContract.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.2)

Method Auth0\Laravel\Users\UserContract::fill() has no return type specified.

Check failure on line 37 in src/Users/UserContract.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.3)

Method Auth0\Laravel\Users\UserContract::fill() has no return type specified.

Check failure on line 37 in src/Users/UserContract.php

View workflow job for this annotation

GitHub Actions / Psalm (8.2)

MissingReturnType

src/Users/UserContract.php:37:21: MissingReturnType: Method Auth0\Laravel\Users\UserContract::fill does not have a return type (see https://psalm.dev/050)

Check failure on line 37 in src/Users/UserContract.php

View workflow job for this annotation

GitHub Actions / Psalm (8.3)

MissingReturnType

src/Users/UserContract.php:37:21: MissingReturnType: Method Auth0\Laravel\Users\UserContract::fill does not have a return type (see https://psalm.dev/050)

/**
* 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);

Check failure on line 45 in src/Users/UserContract.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.2)

Method Auth0\Laravel\Users\UserContract::getAttribute() has no return type specified.

Check failure on line 45 in src/Users/UserContract.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.2)

PHPDoc tag @param references unknown parameter: $default

Check failure on line 45 in src/Users/UserContract.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.3)

Method Auth0\Laravel\Users\UserContract::getAttribute() has no return type specified.

Check failure on line 45 in src/Users/UserContract.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.3)

PHPDoc tag @param references unknown parameter: $default

Check failure on line 45 in src/Users/UserContract.php

View workflow job for this annotation

GitHub Actions / Psalm (8.2)

MissingReturnType

src/Users/UserContract.php:45:21: MissingReturnType: Method Auth0\Laravel\Users\UserContract::getAttribute does not have a return type (see https://psalm.dev/050)

Check failure on line 45 in src/Users/UserContract.php

View workflow job for this annotation

GitHub Actions / Psalm (8.3)

MissingReturnType

src/Users/UserContract.php:45:21: MissingReturnType: Method Auth0\Laravel\Users\UserContract::getAttribute does not have a return type (see https://psalm.dev/050)

/**
* 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);

Check failure on line 53 in src/Users/UserContract.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.2)

Method Auth0\Laravel\Users\UserContract::setAttribute() has no return type specified.

Check failure on line 53 in src/Users/UserContract.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.3)

Method Auth0\Laravel\Users\UserContract::setAttribute() has no return type specified.

Check failure on line 53 in src/Users/UserContract.php

View workflow job for this annotation

GitHub Actions / Psalm (8.2)

MissingReturnType

src/Users/UserContract.php:53:21: MissingReturnType: Method Auth0\Laravel\Users\UserContract::setAttribute does not have a return type (see https://psalm.dev/050)

Check failure on line 53 in src/Users/UserContract.php

View workflow job for this annotation

GitHub Actions / Psalm (8.3)

MissingReturnType

src/Users/UserContract.php:53:21: MissingReturnType: Method Auth0\Laravel\Users\UserContract::setAttribute does not have a return type (see https://psalm.dev/050)
}
Loading