From 71e70f1e88b6b16364f307bbb0a7072f5d537801 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sat, 19 Oct 2024 00:13:30 +0200 Subject: [PATCH] Section 10/heredoc, nowdoc: minor fixes * Fix missing semicolon at end of statement. * Fix minor grammatical error. --- spec.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec.md b/spec.md index e2604b9..3d568e0 100644 --- a/spec.md +++ b/spec.md @@ -1343,14 +1343,14 @@ This is not allowed. -COUNTEREXAMPLE +COUNTEREXAMPLE; } ``` Instead, the heredoc MUST be indented once past the indentation of the scope it's declared in. -The following is an example of both a heredoc and a nowdoc declared in a +The following is an example of both heredocs and nowdocs declared in a compliant way: ```php