@@ -1,7 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Seboettg\CiteProc\Locale; |
| 3 | 3 | use Seboettg\CiteProc\Util\Factory; |
| 4 | -use Seboettg\Collection\ArrayList; |
|
| 5 | 4 | |
| 6 | 5 | /** |
| 7 | 6 | */ |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Seboettg\CiteProc\Styles\AffixesTrait; |
| 6 | 6 | use Seboettg\CiteProc\Styles\DisplayTrait; |
| 7 | 7 | use Seboettg\CiteProc\Styles\FormattingTrait; |
| 8 | -use Seboettg\CiteProc\Styles\QuotesTrait; |
|
| 9 | 8 | use Seboettg\CiteProc\Styles\TextCaseTrait; |
| 10 | 9 | |
| 11 | 10 | |
@@ -29,19 +29,19 @@ |
||
| 29 | 29 | |
| 30 | 30 | if (!function_exists('vendorPath')) { |
| 31 | 31 | |
| 32 | - /** |
|
| 33 | - * @return bool|string returns path of composer vendor folder, and false if folder does not exist |
|
| 34 | - */ |
|
| 35 | - function vendorPath() { |
|
| 32 | + /** |
|
| 33 | + * @return bool|string returns path of composer vendor folder, and false if folder does not exist |
|
| 34 | + */ |
|
| 35 | + function vendorPath() { |
|
| 36 | 36 | |
| 37 | - if (file_exists(__DIR__ . '/vendor/')) { |
|
| 38 | - return __DIR__ . '/vendor'; |
|
| 39 | - } else { |
|
| 40 | - if (!file_exists(__DIR__ . '/../../')) { |
|
| 41 | - return false; |
|
| 42 | - } else { |
|
| 43 | - return __DIR__ . '/../..'; |
|
| 44 | - } |
|
| 45 | - } |
|
| 46 | - } |
|
| 37 | + if (file_exists(__DIR__ . '/vendor/')) { |
|
| 38 | + return __DIR__ . '/vendor'; |
|
| 39 | + } else { |
|
| 40 | + if (!file_exists(__DIR__ . '/../../')) { |
|
| 41 | + return false; |
|
| 42 | + } else { |
|
| 43 | + return __DIR__ . '/../..'; |
|
| 44 | + } |
|
| 45 | + } |
|
| 46 | + } |
|
| 47 | 47 | } |
| 48 | 48 | \ No newline at end of file |