Fixed typos
This commit is contained in:
parent
58bf830020
commit
f5802c2251
@ -160,7 +160,7 @@ class DbalSessionHandler implements \SessionHandlerInterface
|
|||||||
$mergeStmt->bindParam(':data', $encoded, \PDO::PARAM_STR);
|
$mergeStmt->bindParam(':data', $encoded, \PDO::PARAM_STR);
|
||||||
$mergeStmt->bindValue(':time', time(), \PDO::PARAM_INT);
|
$mergeStmt->bindValue(':time', time(), \PDO::PARAM_INT);
|
||||||
|
|
||||||
//Oracle has a bug that will intermitently happen if you
|
// Oracle has a bug that will intermittently happen if you
|
||||||
// have only 1 bind on a CLOB field for 2 different statements
|
// have only 1 bind on a CLOB field for 2 different statements
|
||||||
// (INSERT and UPDATE in this case)
|
// (INSERT and UPDATE in this case)
|
||||||
if ('oracle' == $this->con->getDatabasePlatform()->getName()) {
|
if ('oracle' == $this->con->getDatabasePlatform()->getName()) {
|
||||||
|
@ -91,7 +91,7 @@ class PhpExtractor implements ExtractorInterface
|
|||||||
/**
|
/**
|
||||||
* Seeks to a non-whitespace token.
|
* Seeks to a non-whitespace token.
|
||||||
*/
|
*/
|
||||||
private function seekToNextReleventToken(\Iterator $tokenIterator)
|
private function seekToNextRelevantToken(\Iterator $tokenIterator)
|
||||||
{
|
{
|
||||||
for (; $tokenIterator->valid(); $tokenIterator->next()) {
|
for (; $tokenIterator->valid(); $tokenIterator->next()) {
|
||||||
$t = $tokenIterator->current();
|
$t = $tokenIterator->current();
|
||||||
@ -154,7 +154,7 @@ class PhpExtractor implements ExtractorInterface
|
|||||||
$tokenIterator->seek($key);
|
$tokenIterator->seek($key);
|
||||||
|
|
||||||
foreach ($sequence as $item) {
|
foreach ($sequence as $item) {
|
||||||
$this->seekToNextReleventToken($tokenIterator);
|
$this->seekToNextRelevantToken($tokenIterator);
|
||||||
|
|
||||||
if ($this->normalizeToken($tokenIterator->current()) == $item) {
|
if ($this->normalizeToken($tokenIterator->current()) == $item) {
|
||||||
$tokenIterator->next();
|
$tokenIterator->next();
|
||||||
|
Reference in New Issue
Block a user