Skip to content

Commit 129388a

Browse files
committed
Fix method visibility
1 parent 15b1097 commit 129388a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/UserVerification.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,18 @@ public function isVerified($user)
9898
return $user->verified == true;
9999
}
100100

101+
/**
102+
* Get user object.
103+
*
104+
* @param string $token
105+
* @param string $table
106+
* @return stdClass
107+
*/
108+
public function getUser($token, $table)
109+
{
110+
return $this->getUserByEmail($this->getEmail($token), $table);
111+
}
112+
101113
/**
102114
* Update and save the user as verified.
103115
*
@@ -232,18 +244,6 @@ protected function hasColumn(AuthenticatableContract $user, $column)
232244
return $this->schema->hasColumn($user->getTable(), $column);
233245
}
234246

235-
/**
236-
* Get user object.
237-
*
238-
* @param string $token
239-
* @param string $table
240-
* @return stdClass
241-
*/
242-
protected function getUser($token, $table)
243-
{
244-
return $this->getUserByEmail($this->getEmail($token), $table);
245-
}
246-
247247
/**
248248
* Fetch the user by email.
249249
*

0 commit comments

Comments
 (0)