File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 55use In2code \Powermail \Domain \Model \Mail ;
66use In2code \Powermail \Exception \ClassDoesNotExistException ;
77use In2code \Powermail \Exception \InterfaceNotImplementedException ;
8- use In2code \Powermail \Utility \ObjectUtility ;
98use In2code \Powermail \Utility \StringUtility ;
9+ use TYPO3 \CMS \Core \Utility \GeneralUtility ;
1010use TYPO3 \CMS \Extbase \Object \Exception ;
1111use TYPO3 \CMS \Frontend \ContentObject \ContentObjectRenderer ;
1212
1515 */
1616class FinisherRunner
1717{
18-
1918 /**
2019 * @var string
2120 */
22- protected $ interface = ' In2code\Powermail\Finisher\ FinisherInterface' ;
21+ protected $ interface = FinisherInterface::class ;
2322
2423 /**
2524 * Call finisher classes after submit
@@ -32,7 +31,6 @@ class FinisherRunner
3231 * @return void
3332 * @throws ClassDoesNotExistException
3433 * @throws InterfaceNotImplementedException
35- * @throws Exception
3634 */
3735 public function callFinishers (
3836 Mail $ mail ,
@@ -58,7 +56,7 @@ public function callFinishers(
5856 }
5957
6058 /** @var AbstractFinisher $finisher */
61- $ finisher = ObjectUtility:: getObjectManager ()-> get (
59+ $ finisher = GeneralUtility:: makeInstance (
6260 $ class ,
6361 $ mail ,
6462 $ finisherSettings ['config ' ],
You can’t perform that action at this time.
0 commit comments