summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-01-29 16:44:02 +0100
committerAndrey Andreev <narf@devilix.net>2015-01-29 16:44:02 +0100
commit423518089d8e894841da75aadaf8364eb2523600 (patch)
tree39b2c570bba880d356ec8b818648f359cc1f6339
parentb4834cc72cf0c861fa5e67494328bf958c386ecf (diff)
parent5c9d905ad883cd4ab1c47652cd89f0c9b1f9fece (diff)
Merge pull request #3530 from galdiolo/patch-5
[ci skip] Fix comment typos
-rw-r--r--tests/mocks/core/security.php6
-rw-r--r--tests/mocks/libraries/encrypt.php4
-rw-r--r--tests/mocks/libraries/table.php4
3 files changed, 7 insertions, 7 deletions
diff --git a/tests/mocks/core/security.php b/tests/mocks/core/security.php
index e19a8b20b..a21fc5cb3 100644
--- a/tests/mocks/core/security.php
+++ b/tests/mocks/core/security.php
@@ -10,13 +10,13 @@ class Mock_Core_Security extends CI_Security {
return $this;
}
- // Overide inaccesible protected properties
+ // Override inaccessible protected properties
public function __get($property)
{
return isset($this->{'_'.$property}) ? $this->{'_'.$property} : NULL;
}
- // Overide inaccesible protected method
+ // Override inaccessible protected method
public function __call($method, $params)
{
if (is_callable(array($this, '_'.$method)))
@@ -27,4 +27,4 @@ class Mock_Core_Security extends CI_Security {
throw new BadMethodCallException('Method '.$method.' was not found');
}
-} \ No newline at end of file
+}
diff --git a/tests/mocks/libraries/encrypt.php b/tests/mocks/libraries/encrypt.php
index f1859398f..c14d1e02f 100644
--- a/tests/mocks/libraries/encrypt.php
+++ b/tests/mocks/libraries/encrypt.php
@@ -2,7 +2,7 @@
class Mock_Libraries_Encrypt extends CI_Encrypt {
- // Overide inaccesible protected method
+ // Override inaccessible protected method
public function __call($method, $params)
{
if (is_callable(array($this, '_'.$method)))
@@ -13,4 +13,4 @@ class Mock_Libraries_Encrypt extends CI_Encrypt {
throw new BadMethodCallException('Method '.$method.' was not found');
}
-} \ No newline at end of file
+}
diff --git a/tests/mocks/libraries/table.php b/tests/mocks/libraries/table.php
index 87c278bce..08f80072a 100644
--- a/tests/mocks/libraries/table.php
+++ b/tests/mocks/libraries/table.php
@@ -2,7 +2,7 @@
class Mock_Libraries_Table extends CI_Table {
- // Overide inaccesible protected method
+ // Override inaccessible protected method
public function __call($method, $params)
{
if (is_callable(array($this, '_'.$method)))
@@ -13,4 +13,4 @@ class Mock_Libraries_Table extends CI_Table {
throw new BadMethodCallException('Method '.$method.' was not found');
}
-} \ No newline at end of file
+}