Skip to content

Commit 0fc9385

Browse files
authored
Fix dumper middleware (#57)
1 parent f0b76ca commit 0fc9385

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver].
66

7+
## v5.2.1
8+
9+
### Fixed
10+
11+
- Dumper middleware could not to dump large set of responses (such as `Illuminate\Http\JsonResponse`)
12+
713
## v5.2.0
814

915
### Added

src/Dumper/Middleware.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
namespace Spiral\RoadRunnerLaravel\Dumper;
66

77
use Closure;
8-
use Illuminate\Http\Request;
9-
use Illuminate\Http\Response;
8+
use Symfony\Component\HttpFoundation\Request;
9+
use Symfony\Component\HttpFoundation\Response;
1010
use Symfony\Component\VarDumper\Dumper\HtmlDumper;
1111

1212
class Middleware

tests/Unit/Dumper/MiddlewareTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
namespace Spiral\RoadRunnerLaravel\Tests\Unit\Dumper;
66

77
use Illuminate\Support\Str;
8-
use Illuminate\Http\Response;
98
use Illuminate\Routing\Router;
9+
use Symfony\Component\HttpFoundation\Response;
1010
use Spiral\RoadRunnerLaravel\Dumper\Middleware;
1111

1212
/**

0 commit comments

Comments
 (0)