浏览代码

Fix typos in doc blocks.

mark_story 10 年之前
父节点
当前提交
838c5fd086

+ 2 - 2
src/Database/Expression/Comparison.php

@@ -54,7 +54,7 @@ class Comparison implements ExpressionInterface, FieldInterface
     protected $_operator;
 
     /**
-     * Whether or not the value in this expressions is a traversable
+     * Whether or not the value in this expression is a traversable
      *
      * @var bool
      */
@@ -281,7 +281,7 @@ class Comparison implements ExpressionInterface, FieldInterface
     }
 
     /**
-     * Returns an array with the original $values in the first poisition
+     * Returns an array with the original $values in the first position
      * and all ExpressionInterface objects that could be found in the second
      * position.
      *

+ 1 - 1
src/Database/Type/ExpressionTypeCasterTrait.php

@@ -27,7 +27,7 @@ trait ExpressionTypeCasterTrait
 
     /**
      * Conditionally converts the passed value to an ExpressionInterface object
-     * if the type class implementes the ExpressionTypeInterface. Otherwise,
+     * if the type class implements the ExpressionTypeInterface. Otherwise,
      * returns the value unmodified.
      *
      * @param mixed $value The value to converto to ExpressionInterface

+ 3 - 3
src/Database/ValueBinder.php

@@ -75,11 +75,11 @@ class ValueBinder
 
     /**
      * Creates unique named placeholders for each of the passed values
-     * and binds them with the specifed type.
+     * and binds them with the specified type.
      *
      * @param array|Traversable $values The list of values to be bound
-     * @param string $type The type with wich all values will be bound
-     * @return array with the placeholders to put in the query
+     * @param string $type The type with which all values will be bound
+     * @return array with the placeholders to insert in the query
      */
     public function generateManyNamed($values, $type = 'string')
     {