mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 17:04:03 +00:00
Merge branch '1.x' into db-storage-driver
This commit is contained in:
commit
4827a2c96b
3 changed files with 3 additions and 4 deletions
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
[](https://laravel.com)
|
||||
[](https://packagist.org/packages/stancl/tenancy)
|
||||
[](https://travis-ci.com/stancl/tenancy)
|
||||
[](https://codecov.io/gh/stancl/tenancy)
|
||||
[](https://travis-ci.com/stancl/tenancy)
|
||||
[](https://codecov.io/gh/stancl/tenancy)
|
||||
|
||||
### *A Laravel multi-database tenancy package that respects your code.*
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
},
|
||||
"require-dev": {
|
||||
"vlucas/phpdotenv": "^3.3",
|
||||
"psy/psysh": "@stable",
|
||||
"laravel/framework": "5.8.*",
|
||||
"orchestra/testbench": "~3.8",
|
||||
"league/flysystem-aws-s3-v3": "~1.0",
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ class InitializeTenancy
|
|||
{
|
||||
public function __construct(Closure $onFail = null)
|
||||
{
|
||||
$this->onFail = $onFail ?: function ($e) {
|
||||
$this->onFail = $onFail ?? function ($e) {
|
||||
throw $e;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue