mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-28 07:40:03 +02:00
Add missing punctuation
This commit is contained in:
@@ -362,7 +362,7 @@ return ($a == 5) ? 'yay' : 'nope'; // this example will return 'yay'
|
||||
{% endhighlight %}
|
||||
|
||||
It should be noted that you do not need to use a ternary operator for returning a boolean value. An example of this
|
||||
would be.
|
||||
would be:
|
||||
|
||||
{% highlight php %}
|
||||
<?php
|
||||
|
Reference in New Issue
Block a user