Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
auth
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christophe Turbout
auth
Commits
82a46f35
You need to sign in or sign up before continuing.
Commit
82a46f35
authored
6 years ago
by
Bertrand Gauthier
Browse files
Options
Downloads
Patches
Plain Diff
Correction du type de UserMapper attendu par UtilisateurController.
parent
f6d8df4d
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/UnicaenAuth/Controller/UtilisateurController.php
+5
-5
5 additions, 5 deletions
src/UnicaenAuth/Controller/UtilisateurController.php
src/UnicaenAuth/Controller/UtilisateurControllerFactory.php
+2
-2
2 additions, 2 deletions
src/UnicaenAuth/Controller/UtilisateurControllerFactory.php
with
7 additions
and
7 deletions
src/UnicaenAuth/Controller/UtilisateurController.php
+
5
−
5
View file @
82a46f35
...
...
@@ -16,7 +16,7 @@ use Zend\Authentication\AuthenticationService;
use
Zend\Http\Request
;
use
Zend\Http\Response
;
use
Zend\Mvc\Controller\AbstractActionController
;
use
ZfcUser\Mapper\User
as
UserMapper
;
use
ZfcUser\Mapper\User
Interface
;
/**
* @author Bertrand GAUTHIER <bertrand.gauthier at unicaen.fr>
...
...
@@ -40,7 +40,7 @@ class UtilisateurController extends AbstractActionController
}
/**
* @var User
Mapper
* @var User
Interface
*/
private
$userMapper
;
...
...
@@ -55,9 +55,9 @@ class UtilisateurController extends AbstractActionController
protected
$options
;
/**
* @param User
Mapper
$userMapper
* @param User
Interface
$userMapper
*/
public
function
setUserMapper
(
User
Mapper
$userMapper
)
public
function
setUserMapper
(
User
Interface
$userMapper
)
{
$this
->
userMapper
=
$userMapper
;
}
...
...
@@ -206,7 +206,7 @@ class UtilisateurController extends AbstractActionController
}
/**
* @return User
Mapper
* @return User
Interface
*/
public
function
getUserMapper
()
{
...
...
This diff is collapsed.
Click to expand it.
src/UnicaenAuth/Controller/UtilisateurControllerFactory.php
+
2
−
2
View file @
82a46f35
...
...
@@ -8,7 +8,7 @@ use UnicaenAuth\Options\ModuleOptions;
use
UnicaenAuth\Service\ShibService
;
use
UnicaenAuth\Service\UserContext
;
use
Zend\Authentication\AuthenticationService
;
use
ZfcUser\Mapper\UserInterface
as
UserMapper
;
use
ZfcUser\Mapper\UserInterface
;
class
UtilisateurControllerFactory
{
...
...
@@ -18,7 +18,7 @@ class UtilisateurControllerFactory
*/
public
function
__invoke
(
ContainerInterface
$container
)
{
/** @var User
Mapper
$mapper */
/** @var User
Interface
$mapper */
$userMapper
=
$container
->
get
(
'zfcuser_user_mapper'
);
/** @var AuthenticationService $authenticationService */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment