diff options
Diffstat (limited to 'vendor/sabre/event/lib/Loop/functions.php')
-rw-r--r-- | vendor/sabre/event/lib/Loop/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/sabre/event/lib/Loop/functions.php b/vendor/sabre/event/lib/Loop/functions.php index bf4d933f2..9412a77ff 100644 --- a/vendor/sabre/event/lib/Loop/functions.php +++ b/vendor/sabre/event/lib/Loop/functions.php @@ -130,7 +130,7 @@ function stop() /** * Retrieves or sets the global Loop object. */ -function instance(Loop $newLoop = null): Loop +function instance(?Loop $newLoop = null): Loop { static $loop; if ($newLoop) { |