Skip to content

Continuous support for PHP <7.4 #827

Closed
@yvan-burrie

Description

@yvan-burrie

Bug description

After the update from 3.5.1 to 3.5.2, you have added public static bool $forceRefresh = false; in src/Bootstrappers/QueueTenancyBootstrapper.php. This typed property is only available in PHP 7.4. It is quite a radical change to make on a minor version. Would you be able to fix this for PHP 7.2 (or 7.3) compatibility? Your awesome package works perfectly on Laravel 6 with PHP 7.2. Cheers!

Steps to reproduce

Run composer install on a PHP 7.2 environment using tenancy 3.5.2.

Expected behavior

NA

Laravel version

6.x

stancl/tenancy version

3.5.2

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions