mirror of
https://github.com/flarum/framework.git
synced 2024-12-04 00:03:37 +08:00
Remove unused default constructor
This commit is contained in:
parent
91e8d6820a
commit
f346a51748
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user