Passed
Pull Request — master (#108)
by Ralf
02:36
created
Classes/ViewHelpers/Link/PreviewViewHelper.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -20,8 +20,7 @@  discard block
 block discarded – undo
20 20
 use TYPO3\CMS\Fluid\ViewHelpers\Be\AbstractBackendViewHelper;
21 21
 use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
22 22
 
23
-class PreviewViewHelper extends AbstractBackendViewHelper
24
-{
23
+class PreviewViewHelper extends AbstractBackendViewHelper {
25 24
 
26 25
     /**
27 26
      * @var \TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface
@@ -66,8 +65,7 @@  discard block
 block discarded – undo
66 65
      * @param  string $class
67 66
      * @return string html output
68 67
      */
69
-    protected function getViewIcon(array $row, $pageUid, $apiPid, $insideText, $class)
70
-    {
68
+    protected function getViewIcon(array $row, $pageUid, $apiPid, $insideText, $class) {
71 69
 
72 70
         $previewMets = BackendUtility::getViewDomain($pageUid)
73 71
             . '/index.php?id=' . $apiPid
@@ -97,8 +95,7 @@  discard block
 block discarded – undo
97 95
      * @param  string $class
98 96
      * @return string the rendered record list
99 97
      */
100
-    public function render(array $arguments, $pageUid, $apiPid, $class)
101
-    {
98
+    public function render(array $arguments, $pageUid, $apiPid, $class) {
102 99
 
103 100
         if ($arguments['document']) {
104 101
 
Please login to merge, or discard this patch.