1
0
Fork 0
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:
Samuel Štancl 2019-08-13 22:22:49 +02:00
commit 4827a2c96b
3 changed files with 3 additions and 4 deletions

View file

@ -2,8 +2,8 @@
[![Laravel 5.8](https://img.shields.io/badge/laravel-5.8-red.svg)](https://laravel.com)
[![Latest Stable Version](https://poser.pugx.org/stancl/tenancy/version)](https://packagist.org/packages/stancl/tenancy)
[![Travis CI build](https://travis-ci.com/stancl/tenancy.svg?branch=master)](https://travis-ci.com/stancl/tenancy)
[![codecov](https://codecov.io/gh/stancl/tenancy/branch/master/graph/badge.svg)](https://codecov.io/gh/stancl/tenancy)
[![Travis CI build](https://travis-ci.com/stancl/tenancy.svg?branch=1.x)](https://travis-ci.com/stancl/tenancy)
[![codecov](https://codecov.io/gh/stancl/tenancy/branch/1.x/graph/badge.svg)](https://codecov.io/gh/stancl/tenancy)
### *A Laravel multi-database tenancy package that respects your code.*

View file

@ -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",

View file

@ -8,7 +8,7 @@ class InitializeTenancy
{
public function __construct(Closure $onFail = null)
{
$this->onFail = $onFail ?: function ($e) {
$this->onFail = $onFail ?? function ($e) {
throw $e;
};
}