8000 minor #16119 Fixed typos (pborreli) · symfony/symfony@0c5f017 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0c5f017

Browse files
committed
minor #16119 Fixed typos (pborreli)
This PR was merged into the 2.3 branch. Discussion ---------- Fixed typos Following #16098 | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | N/A Commits ------- f5802c2 Fixed typos
2 parents 1c4ea85 + f5802c2 commit 0c5f017

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Symfony/Bridge/Doctrine/HttpFoundation/DbalSessionHandler.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ public function write($sessionId, $data)
160160
$mergeStmt->bindParam(':data', $encoded, \PDO::PARAM_STR);
161161
$mergeStmt->bindValue(':time', time(), \PDO::PARAM_INT);
162162

163-
//Oracle has a bug that will intermitently happen if you
164-
//have only 1 bind on a CLOB field for 2 different statements
165-
//(INSERT and UPDATE in this case)
163+
// Oracle has a bug that will intermittently happen if you
164+
// have only 1 bind on a CLOB field for 2 different statements
165+
// (INSERT and UPDATE in this case)
166166
if ('oracle' == $this->con->getDatabasePlatform()->getName()) {
167167
$mergeStmt->bindParam(':data2', $encoded, \PDO::PARAM_STR);
168168
}

src/Symfony/Bundle/FrameworkBundle/Translation/PhpExtractor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ protected function normalizeToken($token)
9191
/**
9292
* Seeks to a non-whitespace token.
9393
*/
94-
private function seekToNextReleventToken(\Iterator $tokenIterator)
94+
private function seekToNextRelevantToken(\Iterator $tokenIterator)
9595
{
9696
for (; $tokenIterator->valid(); $tokenIterator->next()) {
9797
$t = $tokenIterator->current();
@@ -154,7 +154,7 @@ protected function parseTokens($tokens, MessageCatalogue $catalog)
154154
$tokenIterator->seek($key);
155155

156156
foreach ($sequence as $item) {
157-
$this->seekToNextReleventToken($tokenIterator);
157+
$this->seekToNextRelevantToken($tokenIterator);
158158

159159
if ($this->normalizeToken($tokenIterator->current()) == $item) {
160160
$tokenIterator->next();

0 commit comments

Comments
 (0)
0