Skip to content

Commit e96622d

Browse files
committed
Add semicolumns to fix the bug fix with automated PHP downgrades
1 parent 0686750 commit e96622d

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

src/Settings/Blocks/Fields/Checkbox.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class="h-4 w-4 rounded border-gray-300 text-primary focus:ring-primary"
4444
<p class="text-gray-500">
4545
<?php echo esc_html($this->description); ?>
4646
</p>
47-
<?php endif ?>
47+
<?php endif; ?>
4848
</div>
4949
</div>
5050
<?php

src/Settings/Blocks/Fields/Checkboxes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class="font-medium text-gray-900"
7272
<p class="mt-2 text-gray-500">
7373
<?php echo esc_html($this->description); ?>
7474
</p>
75-
<?php endif ?>
75+
<?php endif; ?>
7676
</fieldset>
7777
<?php
7878
}

src/Settings/Blocks/Fields/IpList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function render(): void
5656
class="block w-full rounded-md border-0 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary sm:py-1.5 sm:text-sm sm:leading-6"
5757
<?php if ($this->placeholder): ?>
5858
placeholder="<?php echo esc_attr($this->placeholder); ?>"
59-
<?php endif ?>
59+
<?php endif; ?>
6060
><?php echo esc_textarea($value); ?></textarea>
6161
</div>
6262
<div class="mt-2">

src/Settings/Tab.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,22 +80,22 @@ public function render(): void
8080
<?php if (isset($this->docs)): ?>
8181
<a href="<?php echo esc_url($this->docs); ?>" target="_blank"
8282
class="text-primary">(docs)</a>
83-
<?php endif ?>
83+
<?php endif; ?>
8484
</h1>
85-
<?php endif ?>
85+
<?php endif; ?>
8686
<?php if (isset($this->description)): ?>
8787
<p class="mt-2 text-sm text-gray-500">
8888
<?php echo esc_html($this->description); ?>
8989
</p>
90-
<?php endif ?>
90+
<?php endif; ?>
9191
</div>
92-
<?php endif ?>
92+
<?php endif; ?>
9393

9494
<?php foreach ($this->getBlocks() as $block): ?>
9595
<div class="sm:col-span-4">
9696
<?php $block->render(); ?>
9797
</div>
98-
<?php endforeach ?>
98+
<?php endforeach; ?>
9999
</div>
100100
<?php
101101
}

src/UI/TabListComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class="<?php echo $this->tabClass($tab); ?>"
2626
<?php echo $this->tabIcon($tab); ?>
2727
<?php echo $tab->getName(); ?>
2828
</a>
29-
<?php endforeach ?>
29+
<?php endforeach; ?>
3030
</nav>
3131
<?php
3232
}

0 commit comments

Comments
 (0)