Skip to content

Commit

Permalink
Fixed CS
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Jan 5, 2019
1 parent df5e509 commit 80a2bf0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function getConfigTreeBuilder()
$treeBuilder = new TreeBuilder('core23_lastfm');

// Keep compatibility with symfony/config < 4.2
if (!\method_exists($treeBuilder, 'getRootNode')) {
if (!method_exists($treeBuilder, 'getRootNode')) {
$rootNode = $treeBuilder->root('core23_lastfm');
} else {
$rootNode = $treeBuilder->getRootNode();
Expand Down
4 changes: 2 additions & 2 deletions src/Event/AuthFailedEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ final class AuthFailedEvent extends Event
private $response;

/**
* @return null|Response
* @return Response|null
*/
public function getResponse(): ?Response
{
return $this->response;
}

/**
* @param null|Response $response
* @param Response|null $response
*/
public function setResponse(?Response $response): void
{
Expand Down
4 changes: 2 additions & 2 deletions src/Event/AuthSuccessEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ public function getSession(): SessionInterface
}

/**
* @return null|Response
* @return Response|null
*/
public function getResponse(): ?Response
{
return $this->response;
}

/**
* @param null|Response $response
* @param Response|null $response
*/
public function setResponse(?Response $response): void
{
Expand Down
2 changes: 1 addition & 1 deletion src/Session/SessionManagerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function isAuthenticated(): bool;
/**
* Get the session username.
*
* @return null|string
* @return string|null
*/
public function getUsername(): ?string;

Expand Down

0 comments on commit 80a2bf0

Please sign in to comment.