Skip to content

Commit

Permalink
Fixed a few typos and removed one newline at end of file
Browse files Browse the repository at this point in the history
  • Loading branch information
Housni authored and housni committed Feb 9, 2013
1 parent 4067b92 commit 394ee4a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions extensions/adapter/test/fixtures/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ protected function _init() {
/**
* Instantiate a fixture
*
* @param array $name The fixture name to instanciate
* @param array $name The fixture name to instantiate
* @return boolean Returns `true` on success
*/
protected function _instantiate($name) {
Expand All @@ -90,7 +90,7 @@ protected function _instantiate($name) {
* Getting a fixture.
*
* @param mixed $name The fixture name to get.
* @return mixed Returns a fixture object or `null` if doesn't exists.
* @return mixed Returns a fixture object or `null` if doesn't exist.
*/
public function get($name) {
if (isset($this->_loaded[$name]) || $this->_instantiate($name)) {
Expand Down
8 changes: 4 additions & 4 deletions test/Fixture.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class Fixture extends \lithium\data\Schema {
protected $_fields = array();

/**
* Alteres dields definition
* Altered fields definition
*
* @var array
*/
Expand Down Expand Up @@ -235,7 +235,7 @@ public function _create($drop = true, $save = true) {
/**
* Drop table for this fixture.
*
* @param boolean $soft If `true` and there's not existing schema, no drop query is generated.
* @param boolean $soft If `true` and there's no existing schema, no drop query is generated.
* @return boolean True on success, false on failure
*/
public function drop($soft = true) {
Expand All @@ -254,7 +254,7 @@ public function drop($soft = true) {
}

/**
* Populate a custom records in the database.
* Populate custom records in the database.
*
* @param array $record The data of the record
* @param boolean $alter If true, the `$record` will be altered according the alter rules.
Expand All @@ -280,7 +280,7 @@ public function populate(array $record = array(), $alter = true) {
/**
* Truncates the current fixture.
*
* @param boolean $soft If `true` and there's not existing schema, no truncate is generated.
* @param boolean $soft If `true` and there's no existing schema, no truncate is generated.
* @return boolean
*/
public function truncate($soft = true) {
Expand Down
4 changes: 2 additions & 2 deletions test/Fixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
class Fixtures extends \lithium\core\Adaptable {

/**
* Stores configurations arrays for session adapters, keyed by configuration name.
* Stores configuration arrays for session adapters, keyed by configuration name.
*
* @var array
*/
Expand Down Expand Up @@ -47,4 +47,4 @@ public static function __callStatic($method, $params) {
}
}

?>
?>

0 comments on commit 394ee4a

Please sign in to comment.