Skip to content

Commit 71e70f1

Browse files
committed
Section 10/heredoc, nowdoc: minor fixes
* Fix missing semicolon at end of statement. * Fix minor grammatical error.
1 parent f8ced3a commit 71e70f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1343,14 +1343,14 @@ This
13431343
is
13441344
not
13451345
allowed.
1346-
COUNTEREXAMPLE
1346+
COUNTEREXAMPLE;
13471347
}
13481348
```
13491349

13501350
Instead, the heredoc MUST be indented once past the indentation of the scope
13511351
it's declared in.
13521352

1353-
The following is an example of both a heredoc and a nowdoc declared in a
1353+
The following is an example of both heredocs and nowdocs declared in a
13541354
compliant way:
13551355

13561356
```php

0 commit comments

Comments
 (0)