mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-06 05:57:26 +02:00
Example code consistency
Added surrounding <li> tags just to be consistent with code examples at line 16 and 37
This commit is contained in:
@@ -86,7 +86,7 @@ class FooModel
|
|||||||
|
|
||||||
{% highlight php %}
|
{% highlight php %}
|
||||||
<?php foreach ($fooList as $row): ?>
|
<?php foreach ($fooList as $row): ?>
|
||||||
<?= $row['field1'] ?> - <?= $row['field1'] ?>
|
<li><?= $row['field1'] ?> - <?= $row['field1'] ?></li>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user