1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-09 10:22:51 +03:00

Tweaked custom command registration, Added StyleCI fixes

Old command registration method was interfering with default commands,
causing only a limited subset of commands to show overall.
This change follows the method the frameworks uses when loading in from a
directory to prevent issues with run/load order.
This commit is contained in:
Dan Brown
2021-11-22 22:22:31 +00:00
parent c6e196989e
commit 1bf59f434b
5 changed files with 16 additions and 10 deletions

View File

@@ -64,7 +64,7 @@ class ExternalBaseUserProvider implements UserProvider
* Update the "remember me" token for the given user in storage.
*
* @param Authenticatable $user
* @param string $token
* @param string $token
*
* @return void
*/
@@ -94,7 +94,7 @@ class ExternalBaseUserProvider implements UserProvider
* Validate a user against the given credentials.
*
* @param Authenticatable $user
* @param array $credentials
* @param array $credentials
*
* @return bool
*/