1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 15:14:04 +00:00

Cast result to int

This commit is contained in:
Samuel Štancl 2020-03-24 19:11:06 +01:00 committed by GitHub
parent e0404622f0
commit 4b63aac42d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ trait TenantAwareCommand
$exitCode = 0; $exitCode = 0;
foreach ($tenants as $tenant) { foreach ($tenants as $tenant) {
$result = $tenant->run(function () { $result = (int) $tenant->run(function () {
return $this->laravel->call([$this, 'handle']); return $this->laravel->call([$this, 'handle']);
}); });