Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
import
Commits
d2efbf09
Commit
d2efbf09
authored
Sep 26, 2019
by
Laurent Lécluse
Browse files
Nettoyage de code mal placé, car lié à OSE
parent
b1ba2140
Pipeline
#5345
failed with stage
in 9 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/UnicaenImport/Form/Factory/SourceFormFactory.php
View file @
d2efbf09
...
...
@@ -12,7 +12,7 @@ use UnicaenImport\Form\SourceForm;
*/
class
SourceFormFactory
{
public
function
__invoke
(
ContainerInterface
$container
)
public
function
__invoke
(
ContainerInterface
$container
,
$requestedName
,
$options
=
null
)
{
return
new
SourceForm
;
}
...
...
src/UnicaenImport/Form/Factory/TableFormFactory.php
View file @
d2efbf09
...
...
@@ -12,7 +12,7 @@ use UnicaenImport\Form\TableForm;
*/
class
TableFormFactory
{
public
function
__invoke
(
ContainerInterface
$container
)
public
function
__invoke
(
ContainerInterface
$container
,
$requestedName
,
$options
=
null
)
{
return
new
TableForm
();
}
...
...
src/UnicaenImport/Form/Traits/SourceFormAwareTrait.php
View file @
d2efbf09
...
...
@@ -23,7 +23,7 @@ trait SourceFormAwareTrait
*
* @return self
*/
public
function
setFormSource
(
SourceForm
$formSource
)
public
function
setFormSource
(
SourceForm
$formSource
)
{
$this
->
formSource
=
$formSource
;
...
...
@@ -38,12 +38,8 @@ trait SourceFormAwareTrait
* @return SourceForm
* @throws RuntimeException
*/
public
function
getFormSource
()
:
SourceForm
public
function
getFormSource
():
SourceForm
{
if
(
$this
->
formSource
){
return
$this
->
formSource
;
}
else
{
return
\
Application
::
$container
->
get
(
'FormElementManager'
)
->
get
(
SourceForm
::
class
);
}
return
$this
->
formSource
;
}
}
\ No newline at end of file
src/UnicaenImport/Form/Traits/TableFormAwareTrait.php
View file @
d2efbf09
...
...
@@ -23,7 +23,7 @@ trait TableFormAwareTrait
*
* @return self
*/
public
function
setFormTable
(
TableForm
$formTable
)
public
function
setFormTable
(
TableForm
$formTable
)
{
$this
->
formTable
=
$formTable
;
...
...
@@ -38,12 +38,8 @@ trait TableFormAwareTrait
* @return TableForm
* @throws RuntimeException
*/
public
function
getFormTable
()
:
TableForm
public
function
getFormTable
():
TableForm
{
if
(
$this
->
formTable
){
return
$this
->
formTable
;
}
else
{
return
\
Application
::
$container
->
get
(
'FormElementManager'
)
->
get
(
TableForm
::
class
);
}
return
$this
->
formTable
;
}
}
\ No newline at end of file
src/UnicaenImport/Processus/Factory/ImportProcessusFactory.php
View file @
d2efbf09
...
...
@@ -6,7 +6,7 @@ use UnicaenImport\Processus\ImportProcessus;
use
UnicaenImport\Service\DifferentielService
;
use
UnicaenImport\Service\QueryGeneratorService
;
use
UnicaenImport\Service\TableService
;
use
Zend\ServiceManager\ServiceLocatorInterface
as
ContainerInterface
;
use
Interop\Container\
ContainerInterface
;
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment