Skip to content

Commit

Permalink
Fix "Typed property Axn\LaravelGlide\GlideServer::$server must not be…
Browse files Browse the repository at this point in the history
… accessed before initialization"
  • Loading branch information
forxer committed Apr 17, 2024
1 parent b27f7be commit b79c984
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

2.2.1 (2024-04-17)
------------------

- Fix "Typed property Axn\LaravelGlide\GlideServer::$server must not be accessed before initialization"

2.2.0 (2024-04-16)
------------------

Expand Down
2 changes: 1 addition & 1 deletion src/GlideServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class GlideServer
/**
* The league glide server instance.
*/
protected ?Server $server;
protected ?Server $server = null;

/**
* Create a new GlideServer instance.
Expand Down

0 comments on commit b79c984

Please sign in to comment.