Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Aug 11, 2023
1 parent 47a0298 commit fe68e67
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions framework/core/src/Foundation/Concerns/InteractsWithLaravel.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/*
* This file is part of Flarum.
*
* For detailed copyright and license information, please view the
* LICENSE file that was distributed with this source code.
*/

namespace Flarum\Foundation\Concerns;

use Flarum\Locale\LocaleManager;
Expand Down Expand Up @@ -59,7 +66,8 @@ public function storagePath($path = ''): string
public function bootstrapPath($path = ''): string
{
return $this->joinPaths(
$this->joinPaths($this->paths->base, 'bootstrap'), $path
$this->joinPaths($this->paths->base, 'bootstrap'),
$path
);
}

Expand All @@ -69,7 +77,8 @@ public function bootstrapPath($path = ''): string
public function configPath($path = ''): string
{
return $this->joinPaths(
$this->joinPaths($this->paths->storage, 'config'), $path
$this->joinPaths($this->paths->storage, 'config'),
$path
);
}

Expand All @@ -79,7 +88,8 @@ public function configPath($path = ''): string
public function databasePath($path = ''): string
{
return $this->joinPaths(
$this->joinPaths($this->paths->base, 'database'), $path
$this->joinPaths($this->paths->base, 'database'),
$path
);
}

Expand All @@ -89,7 +99,8 @@ public function databasePath($path = ''): string
public function langPath($path = ''): string
{
return $this->joinPaths(
$this->joinPaths($this->paths->base, 'lang'), $path
$this->joinPaths($this->paths->base, 'lang'),
$path
);
}

Expand All @@ -99,7 +110,8 @@ public function langPath($path = ''): string
public function resourcePath($path = ''): string
{
return $this->joinPaths(
$this->joinPaths($this->paths->base, 'resources'), $path
$this->joinPaths($this->paths->base, 'resources'),
$path
);
}

Expand Down

0 comments on commit fe68e67

Please sign in to comment.