Open jonquintero opened 4 years ago
This error is because in this file vendor\hyn\multi-tenant\src\Database\Connection.php in this method
public function configuration(string $connection = null): array
{
$connection = $connection ?? $this->tenantName();
return $this->config->get(
sprintf('database.connections.%s', $connection),
[]
);
}
Is declared a return type declaration : array, removing the type of declaration it's work
public function configuration(string $connection = null)
{
$connection = $connection ?? $this->tenantName();
return $this->config->get(
sprintf('database.connections.%s', $connection),
[]
);
}
please fix it
This is a symptom of your configuration being incorrect, not an issue with the package itself. If this is still a problem for you, please provide the information requested in the issue template
When I try to create a new tenant appears this error