Skip to content

Commit

Permalink
Fix PHP 8.3 deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
marcovtwout committed Jun 4, 2024
1 parent 1b2560c commit 1762e60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/base/CApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,8 @@ public function getLocaleDataPath()
*/
public function setLocaleDataPath($value)
{
$property=new ReflectionProperty($this->localeClass,'dataPath');
$property->setValue($value);
$class=new ReflectionClass($this->localeClass);
$class->setStaticPropertyValue('dataPath',$value);
}

/**
Expand Down

2 comments on commit 1762e60

@RuslanKasymov
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When will this fix be released?

@marcovtwout
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably within a month.

Please sign in to comment.