Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc typo fixes in various files #600

Merged
merged 1 commit into from
Apr 28, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
CHANGES

2014-04-28
- Typo fixes

2014-04-27
- Remove unreachable return statement #598
- Release v1.1.1.1
Expand Down
6 changes: 3 additions & 3 deletions lib/Elastica/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ public function hasReplication()
*/
public function setScript($data)
{
throw new NotImplementedException("setScript() is no longer avaliable as of 0.90.2. See http://elastica.io/migration/0.90.2/upsert.html to migrate");
throw new NotImplementedException("setScript() is no longer available as of 0.90.2. See http://elastica.io/migration/0.90.2/upsert.html to migrate");
}

/**
Expand All @@ -741,7 +741,7 @@ public function setUpsert($data)
*/
public function getScript()
{
throw new NotImplementedException("getScript() is no longer avaliable as of 0.90.2. See http://elastica.io/migration/0.90.2/upsert.html to migrate");
throw new NotImplementedException("getScript() is no longer available as of 0.90.2. See http://elastica.io/migration/0.90.2/upsert.html to migrate");
}

/**
Expand All @@ -758,7 +758,7 @@ public function getUpsert()
*/
public function hasScript()
{
throw new NotImplementedException("hasScript() is no longer avaliable as of 0.90.2. See http://elastica.io/migration/0.90.2/upsert.html to migrate");
throw new NotImplementedException("hasScript() is no longer available as of 0.90.2. See http://elastica.io/migration/0.90.2/upsert.html to migrate");
}

/**
Expand Down
4 changes: 2 additions & 2 deletions lib/Elastica/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static function escapeTerm($term)
$result = str_replace($char, '\\' . $char, $result);
}

// since elastisearch uses lucene 4.0 / needs to be escaped by \\
// since elasticsearch uses lucene 4.0 / needs to be escaped by \\
$result = str_replace('/', '\\\\/', $result);

return $result;
Expand Down Expand Up @@ -122,7 +122,7 @@ public static function convertDate($date)

/**
* Tries to guess the name of the param, based on its class
* Exemple: \Elastica\Filter\HasChildFilter => has_child
* Example: \Elastica\Filter\HasChildFilter => has_child
*
* @param string|object Class or Class name
* @return string parameter name
Expand Down