Fixed typos

This commit is contained in:
Pascal Borreli 2015-10-05 10:27:23 +01:00
parent 58bf830020
commit f5802c2251
2 changed files with 5 additions and 5 deletions

View File

@ -160,9 +160,9 @@ class DbalSessionHandler implements \SessionHandlerInterface
$mergeStmt->bindParam(':data', $encoded, \PDO::PARAM_STR);
$mergeStmt->bindValue(':time', time(), \PDO::PARAM_INT);
//Oracle has a bug that will intermitently happen if you
//have only 1 bind on a CLOB field for 2 different statements
//(INSERT and UPDATE in this case)
// Oracle has a bug that will intermittently happen if you
// have only 1 bind on a CLOB field for 2 different statements
// (INSERT and UPDATE in this case)
if ('oracle' == $this->con->getDatabasePlatform()->getName()) {
$mergeStmt->bindParam(':data2', $encoded, \PDO::PARAM_STR);
}

View File

@ -91,7 +91,7 @@ class PhpExtractor implements ExtractorInterface
/**
* Seeks to a non-whitespace token.
*/
private function seekToNextReleventToken(\Iterator $tokenIterator)
private function seekToNextRelevantToken(\Iterator $tokenIterator)
{
for (; $tokenIterator->valid(); $tokenIterator->next()) {
$t = $tokenIterator->current();
@ -154,7 +154,7 @@ class PhpExtractor implements ExtractorInterface
$tokenIterator->seek($key);
foreach ($sequence as $item) {
$this->seekToNextReleventToken($tokenIterator);
$this->seekToNextRelevantToken($tokenIterator);
if ($this->normalizeToken($tokenIterator->current()) == $item) {
$tokenIterator->next();