@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | */ |
36 | 36 | public static function loadStyleSheet(string $styleName): string |
37 | 37 | { |
38 | - $stylesPath = self::vendorPath() . "/citation-style-language/styles"; |
|
38 | + $stylesPath = self::vendorPath()."/citation-style-language/styles"; |
|
39 | 39 | return self::readFileContentsOrThrowException("$stylesPath/$styleName.csl"); |
40 | 40 | } |
41 | 41 | |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | */ |
82 | 82 | public static function loadLocalesMetadata() |
83 | 83 | { |
84 | - $localesMetadataPath = self::vendorPath() . "/citation-style-language/locales/locales.json"; |
|
84 | + $localesMetadataPath = self::vendorPath()."/citation-style-language/locales/locales.json"; |
|
85 | 85 | return json_decode(self::readFileContentsOrThrowException($localesMetadataPath)); |
86 | 86 | } |
87 | 87 | |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | */ |
92 | 92 | private static function vendorPath() |
93 | 93 | { |
94 | - include_once realpath(__DIR__ . '/../') . '/vendorPath.php'; |
|
94 | + include_once realpath(__DIR__.'/../').'/vendorPath.php'; |
|
95 | 95 | if (!($vendorPath = vendorPath())) { |
96 | 96 | throw new CiteProcException('vendor path not found. Use composer to initialize your project'); |
97 | 97 | } |