瀏覽代碼

Merge pull request #8 from blueclock/patch-1

Correction to error message
Abhimanyu Sharma 9 年之前
父節點
當前提交
9458a0c171
共有 1 個文件被更改,包括 2 次插入2 次删除
  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();
     }
-}
+}