You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -2305,20 +2331,17 @@ public function provideRealWorldExampleData(): \Iterator
2305
2331
* such as {taxonomy_term_data}.
2306
2332
*/";
2307
2333
yield [
2308
-
'OK with two param and paragraph description',
2334
+
'OK FieldItemInterface::schema',
2309
2335
$sample,
2310
2336
newPhpDocNode([
2311
-
newPhpDocTextNode('Returns the schema for the field.
2312
-
This method is static because the field schema information is needed on
2337
+
newPhpDocTextNode('Returns the schema for the field.'),
2338
+
newPhpDocTextNode(''),
2339
+
newPhpDocTextNode('This method is static because the field schema information is needed on
2313
2340
creation of the field. FieldItemInterface objects instantiated at that
2314
-
time are not reliable as field settings might be missing.
2315
-
Computed fields having no schema should return an empty array.'),
2316
-
// @todo the commented out items should be correct.
2317
-
//new PhpDocTextNode('Returns the schema for the field.'),
2341
+
time are not reliable as field settings might be missing.'),
2342
+
newPhpDocTextNode(''),
2343
+
newPhpDocTextNode('Computed fields having no schema should return an empty array.'),
2318
2344
newPhpDocTextNode(''),
2319
-
//new PhpDocTextNode('This method is static because the field schema information is needed on creation of the field. FieldItemInterface objects instantiated at that time are not reliable as field settings might be missing.'),
2320
-
//new PhpDocTextNode(''),
2321
-
//new PhpDocTextNode('Computed fields having no schema should return an empty array.'),
2322
2345
newPhpDocTagNode(
2323
2346
'@param',
2324
2347
newParamTagValueNode(
@@ -2362,6 +2385,59 @@ public function provideRealWorldExampleData(): \Iterator
2362
2385
such as {taxonomy_term_data}.'),
2363
2386
]),
2364
2387
];
2388
+
2389
+
$sample = '/**
2390
+
* Parses a chunked request and return relevant information.
2391
+
*
2392
+
* This function must return an array containing the following
2393
+
* keys and their corresponding values:
2394
+
* - last: Wheter this is the last chunk of the uploaded file
2395
+
* - uuid: A unique id which distinguishes two uploaded files
2396
+
* This uuid must stay the same among the task of
2397
+
* uploading a chunked file.
2398
+
* - index: A numerical representation of the currently uploaded
2399
+
* chunk. Must be higher that in the previous request.
0 commit comments