mirror of
https://github.com/flarum/core.git
synced 2025-07-20 00:01:17 +02:00
Remove unused default constructor
This commit is contained in:
@@ -16,15 +16,6 @@ use RuntimeException;
|
|||||||
|
|
||||||
class Site
|
class Site
|
||||||
{
|
{
|
||||||
public static function fromDefaultBase($basePath)
|
|
||||||
{
|
|
||||||
return static::fromPaths([
|
|
||||||
'base' => $basePath,
|
|
||||||
'public' => "$basePath/public",
|
|
||||||
'storage' => "$basePath/storage",
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param array $paths
|
* @param array $paths
|
||||||
* @return SiteInterface
|
* @return SiteInterface
|
||||||
|
Reference in New Issue
Block a user