Skip to content

Commit 1ab55f3

Browse files
committed
minor symfony#11553 fixed indention (OskarStark)
This PR was merged into the 3.4 branch. Discussion ---------- fixed indention <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- fd839b9 fixed indention
2 parents 9ae78a6 + fd839b9 commit 1ab55f3

File tree

1 file changed

+27
-28
lines changed

1 file changed

+27
-28
lines changed

components/property_info.rst

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,13 @@ containing each property name as a string::
144144

145145
$properties = $propertyInfo->getProperties($class);
146146
/*
147-
Example Result
148-
--------------
149-
array(3) {
150-
[0] => string(8) "username"
151-
[1] => string(8) "password"
152-
[2] => string(6) "active"
153-
}
147+
Example Result
148+
--------------
149+
array(3) {
150+
[0] => string(8) "username"
151+
[1] => string(8) "password"
152+
[2] => string(6) "active"
153+
}
154154
*/
155155

156156
.. _property-info-type:
@@ -163,21 +163,20 @@ provide :ref:`extensive data type information <components-property-info-type>`
163163
for a property::
164164

165165
$types = $propertyInfo->getTypes($class, $property);
166-
167166
/*
168-
Example Result
169-
--------------
170-
array(1) {
171-
[0] =>
172-
class Symfony\Component\PropertyInfo\Type (6) {
173-
private $builtinType => string(6) "string"
174-
private $nullable => bool(false)
175-
private $class => NULL
176-
private $collection => bool(false)
177-
private $collectionKeyType => NULL
178-
private $collectionValueType => NULL
167+
Example Result
168+
--------------
169+
array(1) {
170+
[0] =>
171+
class Symfony\Component\PropertyInfo\Type (6) {
172+
private $builtinType => string(6) "string"
173+
private $nullable => bool(false)
174+
private $class => NULL
175+
private $collection => bool(false)
176+
private $collectionKeyType => NULL
177+
private $collectionValueType => NULL
178+
}
179179
}
180-
}
181180
*/
182181

183182
See :ref:`components-property-info-type` for info about the ``Type`` class.
@@ -193,18 +192,18 @@ strings::
193192

194193
$title = $propertyInfo->getShortDescription($class, $property);
195194
/*
196-
Example Result
197-
--------------
198-
string(41) "This is the first line of the DocComment."
195+
Example Result
196+
--------------
197+
string(41) "This is the first line of the DocComment."
199198
*/
200199

201200
$paragraph = $propertyInfo->getLongDescription($class, $property);
202201
/*
203-
Example Result
204-
--------------
205-
string(79):
206-
These is the subsequent paragraph in the DocComment.
207-
It can span multiple lines.
202+
Example Result
203+
--------------
204+
string(79):
205+
These is the subsequent paragraph in the DocComment.
206+
It can span multiple lines.
208207
*/
209208

210209
.. _property-info-access:

0 commit comments

Comments
 (0)