Skip to content

Commit

Permalink
Merge pull request #654 from tighten/jbk/revert-typed-properties
Browse files Browse the repository at this point in the history
Fix backwards compatibility break with PHP 7.3
  • Loading branch information
bakerkretzmar authored Sep 4, 2022
2 parents 71a1dcd + 815960e commit cfca7e5
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/Events/EventBus.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace TightenCo\Jigsaw\Events;

use Illuminate\Support\Arr;
use Illuminate\Support\Collection;
use TightenCo\Jigsaw\Jigsaw;

/**
Expand All @@ -13,9 +12,14 @@
*/
class EventBus
{
public Collection $beforeBuild;
public Collection $afterCollections;
public Collection $afterBuild;
/** @var \Illuminate\Support\Collection $beforeBuild */
public $beforeBuild;

/** @var \Illuminate\Support\Collection $afterCollections */
public $afterCollections;

/** @var \Illuminate\Support\Collection $afterBuild */
public $afterBuild;

public function __construct()
{
Expand Down

0 comments on commit cfca7e5

Please sign in to comment.