Skip to content

Commit 99d225b

Browse files
committed
minor #4943 Fixes for 2.3 branch (ifdattic)
This PR was merged into the 2.3 branch. Discussion ---------- Fixes for 2.3 branch | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3 | Fixed tickets | Commits ------- e2769ba Update sessions.rst 4476646 Fix code example to be more readable cd1dfa4 Fix typo: These => This
2 parents 137ba72 + e2769ba commit 99d225b

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

components/http_foundation/introduction.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ code, and an array of HTTP headers::
297297
array('content-type' => 'text/html')
298298
);
299299

300-
These information can also be manipulated after the Response object creation::
300+
This information can also be manipulated after the Response object creation::
301301

302302
$response->setContent('Hello World');
303303

components/http_foundation/sessions.rst

+7-3
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,12 @@ data is an array, for example a set of tokens. In this case, managing the array
190190
becomes a burden because you have to retrieve the array then process it and
191191
store it again::
192192

193-
$tokens = array('tokens' => array('a' => 'a6c1e0b6',
194-
'b' => 'f4a7b1f3'));
193+
$tokens = array(
194+
'tokens' => array(
195+
'a' => 'a6c1e0b6',
196+
'b' => 'f4a7b1f3',
197+
),
198+
);
195199

196200
So any processing of this might quickly get ugly, even simply adding a token to
197201
the array::
@@ -201,7 +205,7 @@ the array::
201205
$session->set('tokens', $tokens);
202206

203207
With structured namespacing, the key can be translated to the array
204-
structure like this using a namespace character (defaults to `/`)::
208+
structure like this using a namespace character (defaults to ``/``)::
205209

206210
$session->set('tokens/c', $value);
207211

0 commit comments

Comments
 (0)