Browse Source

Fixed typos

Jose Lorenzo Rodriguez 11 years ago
parent
commit
646fe4ec4b
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/ORM/Query.php
  2. 1 1
      tests/TestCase/ORM/QueryTest.php

+ 2 - 2
src/ORM/Query.php

@@ -746,11 +746,11 @@ class Query extends DatabaseQuery implements JsonSerializable {
 	}
 
 /**
- * Exceutes the query and converts the result set into JSON.
+ * Executes the query and converts the result set into JSON.
  *
  * Part of JsonSerializable interface.
  *
- * @return \Cake\ORM\ResultSet the data to convert to json
+ * @return \Cake\ORM\ResultSet the data to convert to JSON
  */
 	public function jsonSerialize() {
 		return $this->all();

+ 1 - 1
tests/TestCase/ORM/QueryTest.php

@@ -1975,7 +1975,7 @@ class QueryTest extends TestCase {
 	}
 
 /**
- * Tests that queries can be serialized to json to get the results
+ * Tests that queries can be serialized to JSON to get the results
  *
  * @return void
  */