Reformat various code.

This commit is contained in:
James Cole
2022-03-29 15:01:12 +02:00
parent d04efb8325
commit 452b6d0e1b
19 changed files with 95 additions and 94 deletions

View File

@@ -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)
{