Skip to content

Commit a021f76

Browse files
matthiasnobackweaverryan
authored andcommitted
Changed casing, order of comment
1 parent 43fc4e1 commit a021f76

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/config/caching.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ be regenerated.
2727
2828
$cachePath = __DIR__.'/cache/appUserMatcher.php';
2929
30+
// the second argument indicates whether or not we are in debug mode
3031
$userMatcherCache = new ConfigCache($cachePath, true);
31-
// the second constructor argument indicates whether or not we are in debug mode
3232
3333
if (!$userMatcherCache->isFresh()) {
3434
// fill this with an array of 'users.yml' file paths
@@ -41,7 +41,7 @@ be regenerated.
4141
$resources[] = new FileResource($yamlUserFile);
4242
}
4343
44-
// The code for the UserMatcher is generated elsewhere
44+
// the code for the UserMatcher is generated elsewhere
4545
$code = ...;
4646
4747
$userMatcherCache->write($code, $resources);

components/config/definition.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ has a certain value:
171171
``isRequired()``
172172
Must be defined (but may be empty)
173173
``cannotBeEmpty()``
174-
may not contain an empty value
174+
May not contain an empty value
175175
``default*()``
176176
(``Null``, ``True``, ``False``), shortcut for ``defaultValue()``
177177
``treat*Like()``

0 commit comments

Comments
 (0)