Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Jul 13, 2023
1 parent 5906d23 commit 08c3a1c
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 14 deletions.
3 changes: 0 additions & 3 deletions src/Authen.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ class Authen

/**
* Get identifier name.
*
* @return string
*/
public static function getIdentifierName(): string
{
Expand All @@ -26,7 +24,6 @@ public static function getIdentifierName(): string
/**
* Set identifier name.
*
* @param string $identifier
*
* @throws \InvalidArgumentException
*/
Expand Down
2 changes: 0 additions & 2 deletions src/AuthenUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ trait AuthenUser
/**
* Find by identifiers scope.
*
* @param \Illuminate\Database\Eloquent\Builder $query
* @param string|int $username
* @return \Illuminate\Database\Eloquent\Builder
*/
public function scopeFindByIdentifiers(Builder $query, $username): Builder
{
Expand Down
3 changes: 0 additions & 3 deletions src/AuthenUserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ class AuthenUserProvider extends EloquentUserProvider
* Retrieve a user by the given credentials.
*
* @param array<string,string> $credentials
* @return \Illuminate\Contracts\Auth\Authenticatable|null
*/
public function retrieveByCredentials(array $credentials): ?UserContract
{
Expand Down Expand Up @@ -45,9 +44,7 @@ public function retrieveByCredentials(array $credentials): ?UserContract
/**
* Validate a user against the given credentials.
*
* @param \Illuminate\Contracts\Auth\Authenticatable $user
* @param array<string,string> $credentials
* @return bool
*/
public function validateCredentials(UserContract $user, array $credentials): bool
{
Expand Down
2 changes: 0 additions & 2 deletions src/BootAuthenProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ trait BootAuthenProvider
{
/**
* Register authen user provider.
*
* @return void
*/
protected function bootAuthenProvider(): void
{
Expand Down
2 changes: 0 additions & 2 deletions tests/Factories/UserFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ class UserFactory extends \Orchestra\Testbench\Factories\UserFactory

/**
* Define the model's default state.
*
* @return array
*/
public function definition(): array
{
Expand Down
2 changes: 0 additions & 2 deletions tests/Fixtures/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ class User extends Eloquent

/**
* Get the name of the unique identifier for the user.
*
* @return array
*/
public function getAuthIdentifiersName(): array
{
Expand Down

0 comments on commit 08c3a1c

Please sign in to comment.