Skip to content

Commit

Permalink
FIX Wrap deprecated config with no replacement (#10704)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Feb 27, 2023
1 parent 6522815 commit 6669d54
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Control/Director.php
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,9 @@ public static function baseFolder()
*/
public static function publicDir()
{
$alternate = self::config()->uninherited('alternate_public_dir');
$alternate = Deprecation::withNoReplacement(function () {
return self::config()->uninherited('alternate_public_dir');
});
if (isset($alternate)) {
return $alternate;
}
Expand Down

0 comments on commit 6669d54

Please sign in to comment.