Skip to content

Commit c7a0948

Browse files
committed
fix fix fix
1 parent d6826a7 commit c7a0948

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

components/lock.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ method can be safely called repeatedly, even if the lock is already acquired.
6363

6464
Unlike other implementations, the Lock Component distinguishes lock
6565
instances even when they are created for the same resource. It means that for
66-
a given scope and resource one lock instance can be acquired multiple times.
66+
a given scope and resource one lock instance can be acquired multiple times.
6767
If a lock has to be used by several services, they should share the same ``Lock``
6868
instance returned by the ``LockFactory::createLock`` method.
6969

@@ -223,7 +223,7 @@ Lock will be released automatically as soon as one process finishes::
223223
sleep(30);
224224
} else {
225225
// Child process
226-
echo 'The lock will be released now.'
226+
echo 'The lock will be released now.';
227227
exit(0);
228228
}
229229
// ...

controller/soap_web_service.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ In this case, the SOAP service will allow the client to call a method called
3939
public function hello($name)
4040
{
4141

42-
$message = new \Swift_Message('Hello Service')
42+
$message = (new \Swift_Message('Hello Service'))
4343
->setTo('[email protected]')
4444
->setBody($name.' says hi!');
4545

service_container.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -870,6 +870,7 @@ This is mostly useful when you want to fetch services lazily::
870870

871871
// ...
872872
}
873+
}
873874

874875
As a best practice, you should only create *private* services. This allows for
875876
safe container optimizations, e.g. removing unused services. You should not use

templating/hinclude.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Use the ``attributes`` option to define the value of hinclude.js options:
9494
9595
{# by default, cross-site requests don't use credentials such as cookies, authorization
9696
headers or TLS client certificates; set this option to 'true' to use them #}
97-
{{ render_hinclude(controller('...'), {attributes: {data-with-credentials: 'true'}}) }}
97+
{{ render_hinclude(controller('...'), {attributes: {'data-with-credentials': 'true'}}) }}
9898
9999
{# by default, the JavaScript code included in the loaded contents is not run;
100100
set this option to 'true' to run that JavaScript code #}

0 commit comments

Comments
 (0)