Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

QA: Fixing short type names.

  • Loading branch information...
commit b9f08989c73f33f8d5894daf79af34c211202fa9 1 parent af09be8
@davidpersson davidpersson authored nateabele committed
View
6 libraries/lithium/data/entity/Document.php
@@ -476,9 +476,9 @@ public function data($name = null) {
* @param string $field The name of the field to be incrememnted.
* @param string $value The value to increment the field by. Defaults to `1` if this parameter
* is not specified.
- * @return int Returns the current value of `$field`, based on the value retrieved from the data
- * source when the entity was loaded, plus any increments applied. Note that it may not
- * reflect the most current value in the persistent backend data source.
+ * @return integer Returns the current value of `$field`, based on the value retrieved from the
+ * data source when the entity was loaded, plus any increments applied. Note that it
+ * may not reflect the most current value in the persistent backend data source.
* @throws UnexpectedValueException Throws an exception when `$field` is set to a non-numeric
* type.
*/
View
2  libraries/lithium/util/Set.php
@@ -547,7 +547,7 @@ public static function matches($data = array(), $conditions, $i = null, $length
return true;
}
if (is_string($conditions)) {
- return (bool) static::extract($data, $conditions);
+ return (boolean) static::extract($data, $conditions);
}
foreach ($conditions as $condition) {
if ($condition === ':last') {
Please sign in to comment.
Something went wrong with that request. Please try again.