@@ 64-66 (lines=3) @@ | ||
61 | if ($importeds[0][1][0] != '\\' && Str::contains($importeds[0][1], '\\')) { |
|
62 | // for php 8.x |
|
63 | $tmp = explode('\\', $importeds[0][1]); |
|
64 | for ($j = 1; $j < count($tmp); $j++) { |
|
65 | $results[$c]['class'] .= '\\'.$tmp[$j]; |
|
66 | } |
|
67 | } else { |
|
68 | // for php 7.x |
|
69 | for ($j = 1; $j < count($importeds); $j++) { |
|
@@ 69-71 (lines=3) @@ | ||
66 | } |
|
67 | } else { |
|
68 | // for php 7.x |
|
69 | for ($j = 1; $j < count($importeds); $j++) { |
|
70 | $results[$c]['class'] .= $importeds[$j][1]; |
|
71 | } |
|
72 | } |
|
73 | ||
74 | $results[$c]['line'] = $row[2]; |