File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
namespace JMose \CommandSchedulerBundle \Controller ;
4
4
5
5
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
6
- use Symfony \Component \Translation \Translator ;
6
+ use Symfony \Component \Translation \TranslatorInterface ;
7
7
8
8
/**
9
9
* Class BaseController
@@ -19,7 +19,7 @@ abstract class BaseController extends AbstractController
19
19
private $ managerName ;
20
20
21
21
/**
22
- * @var Translator
22
+ * @var TranslatorInterface
23
23
*/
24
24
protected $ translator ;
25
25
@@ -32,9 +32,9 @@ public function setManagerName($managerName)
32
32
}
33
33
34
34
/**
35
- * @param Translator $translator
35
+ * @param TranslatorInterface $translator
36
36
*/
37
- public function setTranslator (Translator $ translator )
37
+ public function setTranslator (TranslatorInterface $ translator )
38
38
{
39
39
$ this ->translator = $ translator ;
40
40
}
You can’t perform that action at this time.
0 commit comments