Completed
Pull Request — master (#2)
by Denis
03:04
created
src/Languageproject.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -182,8 +182,7 @@
 block discarded – undo
182 182
 						];
183 183
 					}
184 184
 				}
185
-			}
186
-			else
185
+			} else
187 186
 			{
188 187
 				$array[] = [
189 188
 					'name'     => $name,
Please login to merge, or discard this patch.
sami.config.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
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
 );
Please login to merge, or discard this patch.
src/Package/File.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 	 */
Please login to merge, or discard this patch.