@@ -182,8 +182,7 @@ |
||
| 182 | 182 | ]; |
| 183 | 183 | } |
| 184 | 184 | } |
| 185 | - } |
|
| 186 | - else |
|
| 185 | + } else |
|
| 187 | 186 | { |
| 188 | 187 | $array[] = [ |
| 189 | 188 | 'name' => $name, |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | return new Sami\Sami( |
| 4 | - 'src', [ |
|
| 5 | - 'title' => 'Crowdin API', |
|
| 6 | - 'build_dir' => 'build/api', |
|
| 7 | - 'cache_dir' => 'build/cache', |
|
| 8 | - ] |
|
| 4 | + 'src', [ |
|
| 5 | + 'title' => 'Crowdin API', |
|
| 6 | + 'build_dir' => 'build/api', |
|
| 7 | + 'cache_dir' => 'build/cache', |
|
| 8 | + ] |
|
| 9 | 9 | ); |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | /** |
| 26 | 26 | * Add new file to Crowdin project. |
| 27 | 27 | * |
| 28 | - * @param Languagefile $languagefile The translation file object |
|
| 28 | + * @param \ElKuKu\Crowdin\Languagefile $languagefile The translation file object |
|
| 29 | 29 | * @param string $type The type. |
| 30 | 30 | * @param string $branch The branch. |
| 31 | 31 | * |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | /** |
| 64 | 64 | * Upload latest version of your localization file to Crowdin. |
| 65 | 65 | * |
| 66 | - * @param Languagefile $languagefile The translation file object |
|
| 66 | + * @param \ElKuKu\Crowdin\Languagefile $languagefile The translation file object |
|
| 67 | 67 | * @param string $branch The branch. |
| 68 | 68 | * |
| 69 | 69 | * @see https://crowdin.com/page/api/update-file |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | /** |
| 93 | 93 | * Delete file from Crowdin project. All the translations will be lost without ability to restore them. |
| 94 | 94 | * |
| 95 | - * @param Languagefile $file The file to delete. |
|
| 95 | + * @param \ElKuKu\Crowdin\Languagefile $file The file to delete. |
|
| 96 | 96 | * |
| 97 | 97 | * @see https://crowdin.com/page/api/delete-file |
| 98 | 98 | * @since 1.0 |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | * @param string $file The file name. |
| 113 | 113 | * @param string $language The language tag. |
| 114 | 114 | * @param string $toPath Export to path. |
| 115 | - * @param bool $xcliff Export in xliff ext. |
|
| 115 | + * @param bool $xliff Export in xliff ext. |
|
| 116 | 116 | * |
| 117 | 117 | * @see https://crowdin.com/page/api/export-file |
| 118 | 118 | * @since 1.0 |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | * Process a language file. |
| 140 | 140 | * |
| 141 | 141 | * @param array $data Data array. |
| 142 | - * @param Languagefile $languagefile The language file object. |
|
| 142 | + * @param \ElKuKu\Crowdin\Languagefile $languagefile The language file object. |
|
| 143 | 143 | * |
| 144 | 144 | * @return array |
| 145 | 145 | */ |