mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-04 22:44:53 +01:00
Use ::class instead of ::className() in tests. (#20612)
This commit is contained in:
@@ -19,7 +19,7 @@ class BaseDataProviderTest extends TestCase
|
||||
{
|
||||
public function testGenerateId(): void
|
||||
{
|
||||
$rc = new ReflectionClass(BaseDataProvider::className());
|
||||
$rc = new ReflectionClass(BaseDataProvider::class);
|
||||
$rp = $rc->getProperty('counter');
|
||||
|
||||
// @link https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_reflectionsetaccessible
|
||||
|
||||
Reference in New Issue
Block a user