@@ -348,15 +348,15 @@ |
||
348 | 348 | protected function addProperties($properties) |
349 | 349 | { |
350 | 350 | //Choose display properties |
351 | - $displayProperties = []; |
|
352 | - foreach ($properties as $property) { |
|
353 | - if ($this->shouldRenderElement($property)) { |
|
354 | - $displayProperties[] = $property; |
|
355 | - } |
|
356 | - } |
|
357 | - |
|
358 | - //Render |
|
359 | - if (count($displayProperties) > 0) { |
|
351 | + $displayProperties = []; |
|
352 | + foreach ($properties as $property) { |
|
353 | + if ($this->shouldRenderElement($property)) { |
|
354 | + $displayProperties[] = $property; |
|
355 | + } |
|
356 | + } |
|
357 | + |
|
358 | + //Render |
|
359 | + if (count($displayProperties) > 0) { |
|
360 | 360 | $this->addH2('Properties'); |
361 | 361 | foreach ($displayProperties as $property) { |
362 | 362 | $this->addProperty($property); |
@@ -50,10 +50,10 @@ |
||
50 | 50 | if (count($interface->getMethods()) > 0) { |
51 | 51 | $builder->addH3('Methods'); |
52 | 52 | foreach ($interface->getMethods() as $method) { |
53 | - //We don't want add an no displayed method to Summary |
|
54 | - if (!$builder->shouldRenderElement($method)) { |
|
55 | - continue; |
|
56 | - } |
|
53 | + //We don't want add an no displayed method to Summary |
|
54 | + if (!$builder->shouldRenderElement($method)) { |
|
55 | + continue; |
|
56 | + } |
|
57 | 57 | |
58 | 58 | |
59 | 59 | $args = ''; |