Passed
Push — develop ( f74c38...680baf )
by nguereza
02:16
created
src/Translator/GettextTranslator.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -122,16 +122,16 @@  discard block
 block discarded – undo
122 122
     }
123 123
 
124 124
     /**
125
-    * {@inhereitdoc}
126
-    */
125
+     * {@inhereitdoc}
126
+     */
127 127
     public function __toString(): string
128 128
     {
129 129
         return $this->getLocale();
130 130
     }
131 131
 
132 132
     /**
133
-    * {@inhereitdoc}
134
-    */
133
+     * {@inhereitdoc}
134
+     */
135 135
     public function getEncoding(): string
136 136
     {
137 137
         return $this->encoding;
@@ -178,8 +178,8 @@  discard block
 block discarded – undo
178 178
     }
179 179
 
180 180
     /**
181
-    * {@inhereitdoc}
182
-    */
181
+     * {@inhereitdoc}
182
+     */
183 183
     public function tr(string $message, $args = []): string
184 184
     {
185 185
         $translation = gettext($message);
Please login to merge, or discard this patch.
src/Lang.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -212,8 +212,8 @@  discard block
 block discarded – undo
212 212
      */
213 213
     public function tr(string $message, $args = []): string
214 214
     {
215
-		if (!empty($args) && !is_array($args)) {
216
-           $args = array_slice(func_get_args(), 1);
215
+        if (!empty($args) && !is_array($args)) {
216
+            $args = array_slice(func_get_args(), 1);
217 217
         }
218 218
 			
219 219
         return $this->translator->tr($message, $args);
@@ -234,8 +234,8 @@  discard block
 block discarded – undo
234 234
         int $count,
235 235
         $args = []
236 236
     ): string {
237
-		if (!empty($args) && !is_array($args)) {
238
-           $args = array_slice(func_get_args(), 1);
237
+        if (!empty($args) && !is_array($args)) {
238
+            $args = array_slice(func_get_args(), 1);
239 239
         }
240 240
 		
241 241
         return $this->translator->trp(
Please login to merge, or discard this patch.