Completed
Pull Request — master (#7)
by
unknown
42:23
created
src/Definitions/Currency.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
      *
225 225
      * @var string
226 226
      */
227
-    public const TRY = 'TRY';
227
+    public const try = 'TRY';
228 228
     
229 229
     /**
230 230
      * Dolar
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
             self::SEK,
277 277
             self::CHF,
278 278
             self::THB,
279
-            self::TRY,
279
+            self::try,
280 280
             self::USD,
281 281
             self::GBP,
282 282
         ];
Please login to merge, or discard this patch.
src/Exceptions/AbstractException.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,9 +54,9 @@
 block discarded – undo
54 54
         if ($message === null) {
55 55
             $message = Response::$statusCodesErrors[$statusCode] ?? 'Operace neproběhla v pořádku.';
56 56
         }
57
-		if (isset($response[0]) === true && \is_array($response[0]) === true && \count($response[0]) > 0) {
58
-			$message .= "\n" . 'Please check keys: "' . implode('", "', array_keys($response[0])) . '".';
59
-		}
57
+        if (isset($response[0]) === true && \is_array($response[0]) === true && \count($response[0]) > 0) {
58
+            $message .= "\n" . 'Please check keys: "' . implode('", "', array_keys($response[0])) . '".';
59
+        }
60 60
 
61 61
         // construct exception
62 62
         parent::__construct($message, $statusCode, $previous);
Please login to merge, or discard this patch.