Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects

Draft: Improve coding standards

15 files
+ 85
80
Compare changes
  • Side-by-side
  • Inline

Files

+ 6
5
@@ -17,15 +17,14 @@ final class CasUser implements Authenticatable
{
/**
* The user storage.
*
* @var array<mixed>
* @var array
*/
private array $storage;
/**
* CasUser constructor.
*
* @param array<mixed> $data
* @param array $data
*/
public function __construct(array $data)
{
@@ -34,6 +33,8 @@ final class CasUser implements Authenticatable
/**
* Get the column name for the "remember me" token.
*
* @return string
*/
public function __toString(): string
{
@@ -96,7 +97,7 @@ final class CasUser implements Authenticatable
/**
* Get the token value for the "remember me" session.
*/
public function getRememberToken(): string
public function getRememberToken(): ?string
{
return null;
}
@@ -124,7 +125,7 @@ final class CasUser implements Authenticatable
/**
* Get the storage.
*
* @return array<mixed>
* @return array
*/
private function getStorage(): array
{
Loading