mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-13 17:23:58 +02:00
Merge pull request #742 from marijaninjo/patch-1
Consistent code examples
This commit is contained in:
@@ -87,7 +87,7 @@ class FooModel
|
||||
|
||||
{% highlight php %}
|
||||
<?php foreach ($fooList as $row): ?>
|
||||
<?= $row['field1'] ?> - <?= $row['field1'] ?>
|
||||
<li><?= $row['field1'] ?> - <?= $row['field1'] ?></li>
|
||||
<?php endforeach ?>
|
||||
{% endhighlight %}
|
||||
|
||||
|
Reference in New Issue
Block a user