Passed
Push — bug/414-up-button-leaves-readp... ( 6403e7...449eb2 )
by Michael
06:08
created
www/src/AdminBundle/Controller/TextnodeController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
             $obj->access = $textnode->getAccess() ? 'ja' : 'nein';
86 86
             $obj->licensee = $licenseeIndex[$textnode->getLicenseeId()];
87 87
             $obj->importfile = $importfileIndex[$textnode->getImportfileId()] ?? 'unbekannt';
88
-            $obj->beginning = substr(htmlentities(strip_tags($textnode->getText())), 0, 200).'...';
88
+            $obj->beginning = substr(htmlentities(strip_tags($textnode->getText())), 0, 200) . '...';
89 89
             $obj->financenode = $textnode->isFinanceNode() ? 'ja' : 'nein';
90 90
             $obj->arbitraryId = $textnode->getArbitraryId();
91 91
             $obj->twineId = $textnode->getTwineId();
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
                 $arbitraryId = $hitch->getTargetTextnode()->getArbitraryId();
118 118
             }
119 119
 
120
-            $string .= $counter.') '.$hitch->getDescription().' ['.$arbitraryId.']'."\n";
120
+            $string .= $counter . ') ' . $hitch->getDescription() . ' [' . $arbitraryId . ']' . "\n";
121 121
         }
122 122
 
123 123
         return $string;
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     {
147 147
         $string = '';
148 148
         foreach ($metadata as $key => $value) {
149
-            $string .= $key.': '.$value."\n";
149
+            $string .= $key . ': ' . $value . "\n";
150 150
         }
151 151
 
152 152
         return $string;
Please login to merge, or discard this patch.