Skip to content

Commit b0ecd4e

Browse files
committed
Fix PHP 7.1 compatibility
Resolves #19
1 parent 8a6c63f commit b0ecd4e

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

Diff for: CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ See [GitHub releases](https://github.com/mll-lab/laravel-graphiql/releases).
99

1010
## Unreleased
1111

12+
## v2.0.3
13+
14+
### Fixed
15+
16+
- Fix PHP 7.1 compatibility
17+
1218
## v2.0.2
1319

1420
### Fixed

Diff for: src/GraphiQLController.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111

1212
class GraphiQLController
1313
{
14-
protected UrlGenerator $urlGenerator;
14+
/** @var \Illuminate\Contracts\Routing\UrlGenerator */
15+
protected $urlGenerator;
1516

16-
protected ViewFactory $viewFactory;
17+
/** @var \Illuminate\Contracts\View\Factory $ */
18+
protected $viewFactory;
1719

1820
public function __construct(UrlGenerator $urlGenerator, ViewFactory $viewFactory)
1921
{

0 commit comments

Comments
 (0)