Skip to content
This repository was archived by the owner on Feb 21, 2019. It is now read-only.

Commit 01a288c

Browse files
committed
typos
1 parent 4ad60a3 commit 01a288c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Reflection/AnnotationsParser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,14 +275,14 @@ private static function parseComment($comment)
275275
public static function parsePhp($code)
276276
{
277277
if (Strings::match($code, '#//nette'.'loader=(\S*)#')) {
278-
return; // TODO: allways ignore?
278+
return;
279279
}
280280

281281
$tokens = @token_get_all($code);
282282
$namespace = $class = $classLevel = $level = $docComment = NULL;
283283
$res = $uses = array();
284284

285-
while (list($key, $token) = each($tokens)) {
285+
while (list(, $token) = each($tokens)) {
286286
switch (is_array($token) ? $token[0] : $token) {
287287
case T_DOC_COMMENT:
288288
$docComment = $token[1];

0 commit comments

Comments
 (0)