Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit bf49bb8

Browse files
committed
Merge branch 'cs/zendframework/zendframework#7062-remove-unused-variables'
Close zendframework/zendframework#7062
2 parents 91d8861 + 7d962f7 commit bf49bb8

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

src/Decoder.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ protected function _decodeObject()
267267

268268
$tok = $this->_getNextToken();
269269
$members[$key] = $this->_decodeValue();
270-
$tok = $this->token;
271270

272271
if ($tok == self::RBRACE) {
273272
break;

src/Encoder.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,6 @@ private static function _encodeVariables(ReflectionClass $cls)
359359
$properties = $cls->getProperties();
360360
$propValues = get_class_vars($cls->getName());
361361
$result = "variables:{";
362-
$cnt = 0;
363362

364363
$tmpArray = array();
365364
foreach ($properties as $prop) {

0 commit comments

Comments
 (0)