Skip to content

Commit 5e43717

Browse files
committed
fixing typos on the book
1 parent 4b1ea02 commit 5e43717

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

book/getting_started.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The shortest self-contained example should output a line with 'value':
4949
$repository = $factory->getRepository($parameters);
5050
5151
// create the credentials object to authenticate with the repository
52-
$credentials = new \PHPCR\SimpleCredentials('admin','admin');
52+
$credentials = new \PHPCR\SimpleCredentials('admin', 'admin');
5353
5454
// login to the repository and retrieve the session
5555
$session = $repository->login($credentials, 'default');
@@ -77,7 +77,7 @@ Get some data into the repository
7777
---------------------------------
7878

7979
We will discuss the import feature in more detail later, but to have some
80-
data, we just import something here. Create an XML file called `test.xml``:
80+
data now for the example, we just import something here. Create an XML file called `test.xml``:
8181

8282
.. code-block:: xml
8383

book/import_export.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ an SQL table into a ``csv`` file. You can restore the data from both, but the SQ
1515
dump knows every detail about your field types and so on while the CSV just
1616
knows the data.
1717

18-
When exporting, you explictly call a method corresponding to the desired
18+
When exporting, you explicitly call a method corresponding to the desired
1919
format:
2020

2121
.. code-block:: php

book/reading_data_and_traversal.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Reading properties
4343
fpassthru($stream);
4444
fclose($stream);
4545
46-
// the above in short if you just want to dump a file that is in a binary propery:
46+
// the above in short if you just want to dump a file that is in a binary property:
4747
// fpassthru($node->getPropertyValue('binary-prop'));
4848
4949
Note: the backend stores the property types. When getting property values, they are returned

book/transactions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Transactions
33

44
The PHPCR API in itself uses some sort of 'transaction' model by only
55
persisting changes on session save. If you need transactions over more than one
6-
save operation or including workspace operations that are dispatched immediatly,
6+
save operation or including workspace operations that are dispatched immediately,
77
you can use transactions.
88

99
Note that Jackalope does not support the full transactions:

0 commit comments

Comments
 (0)