Ver Fonte

Merge pull request #8 from blueclock/patch-1

Correction to error message
Abhimanyu Sharma há 9 anos atrás
pai
commit
9458a0c171
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      src/Abhimanyusharma003/Conversion/Conversion.php

+ 2 - 2
src/Abhimanyusharma003/Conversion/Conversion.php

@@ -220,7 +220,7 @@ class Conversion {
         if ( ! isset(static::$conversionChart[strtoupper($unit)]))
         {
             throw new \Exception(sprintf(
-                'No conversation between "%s" and "%s" is defined.',
+                'No conversion between "%s" and "%s" is defined.',
                 static::$native,
                 $unit
             ));
@@ -249,4 +249,4 @@ class Conversion {
     {
         return $this->format();
     }
-}
+}