mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2025-02-16 20:01:46 +01:00
Minor - code householding
- Update inaccurate javadoc - Remove unnecessary require call in PHP integration sample
This commit is contained in:
parent
f014485789
commit
9a72fe53b0
@ -25,7 +25,6 @@ $pass = get_from_post_or_empty('password');
|
|||||||
|
|
||||||
$was_successful = false;
|
$was_successful = false;
|
||||||
if ($action && $user && $pass) {
|
if ($action && $user && $pass) {
|
||||||
require_once('Bcrypt.php');
|
|
||||||
if ($action === 'Log in') {
|
if ($action === 'Log in') {
|
||||||
$was_successful = process_login($user, $pass, $authme_controller);
|
$was_successful = process_login($user, $pass, $authme_controller);
|
||||||
} else if ($action === 'Register') {
|
} else if ($action === 'Register') {
|
||||||
|
@ -204,10 +204,11 @@ public abstract class AbstractResourceClosingTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return a list with some test elements that correspond to the given list type's generic type.
|
* Return a collection of the required type with some test elements that correspond to the
|
||||||
|
* collection's generic type.
|
||||||
*
|
*
|
||||||
* @param type The list type to process and build a test list for
|
* @param type The collection type to process and build a test collection for
|
||||||
* @return Test list with sample elements of the correct type
|
* @return Test collection with sample elements of the correct type
|
||||||
*/
|
*/
|
||||||
private static Collection<?> getTypedCollection(Type type) {
|
private static Collection<?> getTypedCollection(Type type) {
|
||||||
if (type instanceof ParameterizedType) {
|
if (type instanceof ParameterizedType) {
|
||||||
|
Loading…
Reference in New Issue
Block a user