Parcourir la source

Merge pull request #8 from blueclock/patch-1

Correction to error message
Abhimanyu Sharma il y a 9 ans
Parent
commit
9458a0c171
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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();
     }
-}
+}