@@ -362,35 +362,35 @@ public function testYield()
362362
363363
364364 /**
365- * Test arrow functions that use nullable namespace types .
365+ * Test arrow functions that use nullable type with unqualified class name .
366366 *
367367 * @covers PHP_CodeSniffer\Tokenizers\PHP::processAdditional
368368 *
369369 * @return void
370370 */
371- public function testNullableNamespace ()
371+ public function testNullableUnqualifiedClassName ()
372372 {
373- $ token = $ this ->getTargetToken ('/* testNullableNamespace */ ' , T_FN );
373+ $ token = $ this ->getTargetToken ('/* testNullableUnqualifiedClassName */ ' , T_FN );
374374 $ this ->backfillHelper ($ token );
375375 $ this ->scopePositionTestHelper ($ token , 15 , 18 );
376376
377- }//end testNullableNamespace ()
377+ }//end testNullableUnqualifiedClassName ()
378378
379379
380380 /**
381- * Test arrow functions that use the namespace operator in the return type.
381+ * Test arrow functions that use namespace relative class name in the return type.
382382 *
383383 * @covers PHP_CodeSniffer\Tokenizers\PHP::processAdditional
384384 *
385385 * @return void
386386 */
387- public function testNamespaceOperatorInTypes ()
387+ public function testNamespaceRelativeClassNameInTypes ()
388388 {
389- $ token = $ this ->getTargetToken ('/* testNamespaceOperatorInTypes */ ' , T_FN );
389+ $ token = $ this ->getTargetToken ('/* testNamespaceRelativeClassNameInTypes */ ' , T_FN );
390390 $ this ->backfillHelper ($ token );
391391 $ this ->scopePositionTestHelper ($ token , 16 , 19 );
392392
393- }//end testNamespaceOperatorInTypes ()
393+ }//end testNamespaceRelativeClassNameInTypes ()
394394
395395
396396 /**
0 commit comments