| @@ 72-74 (lines=3) @@ | ||
| 69 | if ($importeds[0][1][0] != '\\' && Str::contains($importeds[0][1], '\\')) { |
|
| 70 | // for php 8.x |
|
| 71 | $tmp = explode('\\', $importeds[0][1]); |
|
| 72 | for ($j = 1; $j < count($tmp); $j++) { |
|
| 73 | $results[$c]['class'] .= '\\'.$tmp[$j]; |
|
| 74 | } |
|
| 75 | } else { |
|
| 76 | // for php 7.x |
|
| 77 | for ($j = 1; $j < count($importeds); $j++) { |
|
| @@ 77-79 (lines=3) @@ | ||
| 74 | } |
|
| 75 | } else { |
|
| 76 | // for php 7.x |
|
| 77 | for ($j = 1; $j < count($importeds); $j++) { |
|
| 78 | $results[$c]['class'] .= $importeds[$j][1]; |
|
| 79 | } |
|
| 80 | } |
|
| 81 | ||
| 82 | $results[$c]['line'] = $row[2]; |
|