Completed
Branch master (e13577)
by Harry
05:53
created
src/Response/ErrorCode.php 1 patch
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -892,8 +892,7 @@  discard block
 block discarded – undo
892 892
     public static function getName($errorCode)
893 893
     {
894 894
         return array_key_exists($errorCode, static::$errors) ?
895
-            static::$errors[$errorCode][0] :
896
-            null;
895
+            static::$errors[$errorCode][0] : null;
897 896
     }
898 897
 
899 898
     /**
@@ -904,7 +903,6 @@  discard block
 block discarded – undo
904 903
     public static function getDescription($errorCode)
905 904
     {
906 905
         return array_key_exists($errorCode, static::$errors) ?
907
-            static::$errors[$errorCode][1] :
908
-            null;
906
+            static::$errors[$errorCode][1] : null;
909 907
     }
910 908
 }
Please login to merge, or discard this patch.