Skip to content

Commit 9bbeddb

Browse files
author
Grinfeld Mikhail
committed
removed last occurrence of deprecated each statement
1 parent f0bcc68 commit 9bbeddb

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

grinfeld_phpjsonable.phar

-7 Bytes
Binary file not shown.

src/utils/strategy/LanguageStrategyFactory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static function getClassStrategy($type = self::LANG_PHP) {
2929
public static function addStrategy($type, LanguageStrategy $obj) {
3030
$newInstances = array();
3131
// copying existed
32-
while (list($key, $val) = each(self::$instances)) {
32+
foreach (self::$instances as $key => $val) {
3333
$newInstances["" . $key] = $val;
3434
}
3535
$newInstances["" . $type] = $obj;

0 commit comments

Comments
 (0)