@@ -380,33 +380,33 @@ public static function dataInvalidClassFormat()
380380
381381
382382 /**
383- * Test invalid class names with the private flag set.
383+ * Test invalid class names with the public flag set.
384384 *
385- * Note that the private flag is ignored if the class format
385+ * Note that the public flag is ignored if the class format
386386 * flag is set, so these names are all invalid.
387387 *
388388 * @param string $name The tested name.
389389 * @param bool $public Value of the $public flag.
390390 *
391- * @dataProvider dataInvalidClassFormatPrivate
391+ * @dataProvider dataInvalidClassFormatWithPublicFlag
392392 *
393393 * @return void
394394 */
395- public function testInvalidClassFormatPrivate ($ name , $ public )
395+ public function testInvalidClassFormatWithPublicFlag ($ name , $ public )
396396 {
397397 $ this ->assertFalse (Common::isCamelCaps ($ name , true , $ public ));
398398
399- }//end testInvalidClassFormatPrivate ()
399+ }//end testInvalidClassFormatWithPublicFlag ()
400400
401401
402402 /**
403403 * Data provider.
404404 *
405- * @see testInvalidClassFormatPrivate ()
405+ * @see testInvalidClassFormatWithPublicFlag ()
406406 *
407407 * @return array<string, array<string, string|bool>>
408408 */
409- public static function dataInvalidClassFormatPrivate ()
409+ public static function dataInvalidClassFormatWithPublicFlag ()
410410 {
411411 return [
412412 'PascalCase string with initial underscore (public) ' => [
@@ -427,7 +427,7 @@ public static function dataInvalidClassFormatPrivate()
427427 ],
428428 ];
429429
430- }//end dataInvalidClassFormatPrivate ()
430+ }//end dataInvalidClassFormatWithPublicFlag ()
431431
432432
433433 /**
0 commit comments