Skip to content

Commit

Permalink
Fix code block - allow null in return type
Browse files Browse the repository at this point in the history
  • Loading branch information
bocharsky-bw committed Jun 18, 2019
1 parent d1f15eb commit 7313e5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sfcasts/ep1-basics/property-filter.md
Expand Up @@ -34,7 +34,7 @@ below called `public function getShortDescription()`. This will return a nullab
string, in case description isn't set yet. Let's immediately add this to a
group - `cheese_listing:read` so that it shows up in the API.

[[[ code('5bacd98cdf') ]]]
[[[ code('aa0f8ed1b0') ]]]

Inside, if the `description` is already less than 40 characters, just return it.
Otherwise, return a `substr` of the description - get the first 40 characters, then
Expand Down

0 comments on commit 7313e5e

Please sign in to comment.