Passed
Push — master ( 343f45...a59262 )
by Lluís
05:18 queued 11s
created
templates/default/properties.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 <?php
3 3
 $parsedown = new \Parsedown();
4 4
 foreach ($properties as $property) {
5
-    $summary = ($property->getDocBlock() !== null && $property->getDocBlock()->getSummary() !== '') ?$property->getDocBlock()->getSummary() . '<br>' : '';
5
+    $summary = ($property->getDocBlock() !== null && $property->getDocBlock()->getSummary() !== '') ? $property->getDocBlock()->getSummary() . '<br>' : '';
6 6
     $description = ($property->getDocBlock() !== null && $property->getDocBlock()->getDescription() !== '') ? $parsedown->text($property->getDocBlock()->getDescription()) : '';
7 7
     $type = ($property->getDocBlock() !== null && $property->getDocBlock()->hasTag('var')) ? explode(' ', $property->getDocBlock()->getTagsByName('var')[0]->render(), 2)[1] : '';
8 8
     $separator = $type !== '' ? ': ' : '';
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
     <h3>
11 11
         <a name="property:<?php echo $property->getName() ?>">$<?php echo $property->getName() ?> (<?php echo $property->getVisibility() ?>)</a>
12 12
     </h3>
13
-    <pre>$<?php echo $property->getName() . $separator .  $type ?></pre>
13
+    <pre>$<?php echo $property->getName() . $separator . $type ?></pre>
14 14
     <i><?php echo $summary ?></i>
15 15
     <?php echo $description . ($type !== '' ? ('<h4>Type</h4>' . $type) : '');
16 16
 }
17 17
\ No newline at end of file
Please login to merge, or discard this patch.