@@ -112,15 +112,17 @@ |
||
| 112 | 112 | { |
| 113 | 113 | $i++; |
| 114 | 114 | |
| 115 | - if($i >= 25) |
|
| 116 | - break; |
|
| 115 | + if($i >= 25) { |
|
| 116 | + break; |
|
| 117 | + } |
|
| 117 | 118 | |
| 118 | 119 | $status = $this->Request($link)->getStatusCode(); |
| 119 | 120 | |
| 120 | - if(substr($status,0,1) > 3 && $status != 999) |
|
| 121 | - $scan['errors']["HTTP {$status}"][] = $link; |
|
| 122 | - else |
|
| 123 | - $scan['passed']["HTTP {$status}"][] = $link; |
|
| 121 | + if(substr($status,0,1) > 3 && $status != 999) { |
|
| 122 | + $scan['errors']["HTTP {$status}"][] = $link; |
|
| 123 | + } else { |
|
| 124 | + $scan['passed']["HTTP {$status}"][] = $link; |
|
| 125 | + } |
|
| 124 | 126 | } |
| 125 | 127 | return $this->Output([ |
| 126 | 128 | 'links' => $links, |