Skip to content

Commit 2539507

Browse files
minor symfony#53215 [VarExporter] Nitpicking in README.md (alexandre-daubois)
This PR was merged into the 6.3 branch. Discussion ---------- [VarExporter] Nitpicking in README.md | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT A couple of things I spotted while reading the file. Commits ------- 9d7e23a [VarExporter] Nitpicking in README.md
2 parents f6ec599 + 9d7e23a commit 2539507

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Symfony/Component/VarExporter/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ of objects:
77
- `VarExporter::export()` allows exporting any serializable PHP data structure to
88
plain PHP code. While doing so, it preserves all the semantics associated with
99
the serialization mechanism of PHP (`__wakeup`, `__sleep`, `Serializable`,
10-
`__serialize`, `__unserialize`.)
10+
`__serialize`, `__unserialize`);
1111
- `Instantiator::instantiate()` creates an object and sets its properties without
12-
calling its constructor nor any other methods.
13-
- `Hydrator::hydrate()` can set the properties of an existing object.
12+
calling its constructor nor any other methods;
13+
- `Hydrator::hydrate()` can set the properties of an existing object;
1414
- `Lazy*Trait` can make a class behave as a lazy-loading ghost or virtual proxy.
1515

1616
VarExporter::export()
@@ -26,7 +26,7 @@ Unlike `var_export()`, this works on any serializable PHP value.
2626
It also provides a few improvements over `var_export()`/`serialize()`:
2727

2828
* the output is PSR-2 compatible;
29-
* the output can be re-indented without messing up with `\r` or `\n` in the data
29+
* the output can be re-indented without messing up with `\r` or `\n` in the data;
3030
* missing classes throw a `ClassNotFoundException` instead of being unserialized
3131
to `PHP_Incomplete_Class` objects;
3232
* references involving `SplObjectStorage`, `ArrayObject` or `ArrayIterator`
@@ -61,7 +61,7 @@ Hydrator::hydrate($object, [], [
6161
------------
6262

6363
The component provides two lazy-loading patterns: ghost objects and virtual
64-
proxies (see https://martinfowler.com/eaaCatalog/lazyLoad.html for reference.)
64+
proxies (see https://martinfowler.com/eaaCatalog/lazyLoad.html for reference).
6565

6666
Ghost objects work only with concrete and non-internal classes. In the generic
6767
case, they are not compatible with using factories in their initializer.

0 commit comments

Comments
 (0)