Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik committed Jan 21, 2025
1 parent 9ccf813 commit c5294fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Collector/Stream/FilesystemStreamProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace Yiisoft\Yii\Debug\Collector\Stream;

use Yiisoft\Strings\CombinedRegexp;
use Yiisoft\Strings\StringHelper;
use Yiisoft\Yii\Debug\Helper\BacktraceMatcher;
use Yiisoft\Yii\Debug\Helper\StreamWrapper\StreamWrapper;
use Yiisoft\Yii\Debug\Helper\StreamWrapper\StreamWrapperInterface;
Expand Down Expand Up @@ -88,6 +89,7 @@ public static function register(): void
class_exists(BacktraceMatcher::class);
class_exists(StreamWrapper::class);
class_exists(CombinedRegexp::class);
class_exists(StringHelper::class);
stream_wrapper_unregister('file');
stream_wrapper_register('file', self::class, STREAM_IS_URL);
self::$registered = true;
Expand Down
1 change: 1 addition & 0 deletions src/Collector/Stream/HttpStreamProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public static function register(): void
class_exists(BacktraceMatcher::class);
class_exists(StreamWrapper::class);
class_exists(CombinedRegexp::class);
class_exists(StringHelper::class);
stream_wrapper_unregister('http');
stream_wrapper_register('http', self::class, STREAM_IS_URL);

Expand Down

0 comments on commit c5294fe

Please sign in to comment.