Fixed typos
This commit is contained in:
parent
58bf830020
commit
f5802c2251
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
Reference in New Issue