Skip to content

Commit

Permalink
Fix PHP 7.1 compatibility
Browse files Browse the repository at this point in the history
Resolves #19
  • Loading branch information
spawnia committed May 17, 2023
1 parent 8a6c63f commit b0ecd4e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ See [GitHub releases](https://github.com/mll-lab/laravel-graphiql/releases).

## Unreleased

## v2.0.3

### Fixed

- Fix PHP 7.1 compatibility

## v2.0.2

### Fixed
Expand Down
6 changes: 4 additions & 2 deletions src/GraphiQLController.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@

class GraphiQLController
{
protected UrlGenerator $urlGenerator;
/** @var \Illuminate\Contracts\Routing\UrlGenerator */
protected $urlGenerator;

protected ViewFactory $viewFactory;
/** @var \Illuminate\Contracts\View\Factory $ */
protected $viewFactory;

public function __construct(UrlGenerator $urlGenerator, ViewFactory $viewFactory)
{
Expand Down

0 comments on commit b0ecd4e

Please sign in to comment.