Skip to content

Commit e025cf1

Browse files
minor #27363 [DI] remove dead code (nicolas-grekas)
This PR was merged into the 3.4 branch. Discussion ---------- [DI] remove dead code | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- 1314a952cd [DI] remove dead code
2 parents 8a4672a + 7a7861b commit e025cf1

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

LazyProxy/ProxyHelper.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,4 @@ public static function getTypeHint(\ReflectionFunctionAbstract $r, \ReflectionPa
6262
return $prefix.$parent->name;
6363
}
6464
}
65-
66-
private static function export($value)
67-
{
68-
if (!is_array($value)) {
69-
return var_export($value, true);
70-
}
71-
$code = array();
72-
foreach ($value as $k => $v) {
73-
$code[] = sprintf('%s => %s', var_export($k, true), self::export($v));
74-
}
75-
76-
return sprintf('array(%s)', implode(', ', $code));
77-
}
7865
}

0 commit comments

Comments
 (0)