@@ -149,13 +149,13 @@ containing each property name as a string::
149149
150150 $properties = $propertyInfo->getProperties($class);
151151 /*
152- Example Result
153- --------------
154- array(3) {
155- [0] => string(8) "username"
156- [1] => string(8) "password"
157- [2] => string(6) "active"
158- }
152+ Example Result
153+ --------------
154+ array(3) {
155+ [0] => string(8) "username"
156+ [1] => string(8) "password"
157+ [2] => string(6) "active"
158+ }
159159 */
160160
161161.. _property-info-type :
@@ -168,21 +168,20 @@ provide :ref:`extensive data type information <components-property-info-type>`
168168for a property::
169169
170170 $types = $propertyInfo->getTypes($class, $property);
171-
172171 /*
173- Example Result
174- --------------
175- array(1) {
176- [0] =>
177- class Symfony\Component\PropertyInfo\Type (6) {
178- private $builtinType => string(6) "string"
179- private $nullable => bool(false)
180- private $class => NULL
181- private $collection => bool(false)
182- private $collectionKeyType => NULL
183- private $collectionValueType => NULL
172+ Example Result
173+ --------------
174+ array(1) {
175+ [0] =>
176+ class Symfony\Component\PropertyInfo\Type (6) {
177+ private $builtinType => string(6) "string"
178+ private $nullable => bool(false)
179+ private $class => NULL
180+ private $collection => bool(false)
181+ private $collectionKeyType => NULL
182+ private $collectionValueType => NULL
183+ }
184184 }
185- }
186185 */
187186
188187See :ref: `components-property-info-type ` for info about the ``Type `` class.
@@ -198,18 +197,18 @@ strings::
198197
199198 $title = $propertyInfo->getShortDescription($class, $property);
200199 /*
201- Example Result
202- --------------
203- string(41) "This is the first line of the DocComment."
200+ Example Result
201+ --------------
202+ string(41) "This is the first line of the DocComment."
204203 */
205204
206205 $paragraph = $propertyInfo->getLongDescription($class, $property);
207206 /*
208- Example Result
209- --------------
210- string(79):
211- These is the subsequent paragraph in the DocComment.
212- It can span multiple lines.
207+ Example Result
208+ --------------
209+ string(79):
210+ These is the subsequent paragraph in the DocComment.
211+ It can span multiple lines.
213212 */
214213
215214.. _property-info-access :
0 commit comments