mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-13 13:18:30 +00:00
Reformat various code.
This commit is contained in:
16
app/User.php
16
app/User.php
@@ -200,7 +200,7 @@ class User extends Authenticatable
|
||||
public static function routeBinder(string $value): User
|
||||
{
|
||||
if (auth()->check()) {
|
||||
$userId = (int)$value;
|
||||
$userId = (int) $value;
|
||||
$user = self::find($userId);
|
||||
if (null !== $user) {
|
||||
return $user;
|
||||
@@ -302,9 +302,9 @@ class User extends Authenticatable
|
||||
|
||||
/**
|
||||
* Get the models LDAP domain.
|
||||
* @return string
|
||||
* @deprecated
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getLdapDomain()
|
||||
{
|
||||
@@ -313,9 +313,9 @@ class User extends Authenticatable
|
||||
|
||||
/**
|
||||
* Get the database column name of the domain.
|
||||
* @return string
|
||||
* @deprecated
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getLdapDomainColumn()
|
||||
{
|
||||
@@ -324,9 +324,9 @@ class User extends Authenticatable
|
||||
|
||||
/**
|
||||
* Get the models LDAP GUID.
|
||||
* @return string
|
||||
* @deprecated
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getLdapGuid()
|
||||
{
|
||||
@@ -335,9 +335,9 @@ class User extends Authenticatable
|
||||
|
||||
/**
|
||||
* Get the models LDAP GUID database column name.
|
||||
* @return string
|
||||
* @deprecated
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getLdapGuidColumn()
|
||||
{
|
||||
@@ -456,11 +456,11 @@ class User extends Authenticatable
|
||||
|
||||
/**
|
||||
* Set the models LDAP domain.
|
||||
* @deprecated
|
||||
*
|
||||
* @param string $domain
|
||||
*
|
||||
* @return void
|
||||
* @deprecated
|
||||
*
|
||||
*/
|
||||
public function setLdapDomain($domain)
|
||||
{
|
||||
@@ -469,10 +469,10 @@ class User extends Authenticatable
|
||||
|
||||
/**
|
||||
* Set the models LDAP GUID.
|
||||
* @deprecated
|
||||
* @param string $guid
|
||||
*
|
||||
* @return void
|
||||
* @deprecated
|
||||
*/
|
||||
public function setLdapGuid($guid)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user