| @@ 68-74 (lines=7) @@ | ||
| 65 | ||
| 66 | //Get number of keys |
|
| 67 | $x = 0; |
|
| 68 | foreach ($this->apiKey as $apiKey) { |
|
| 69 | //Check if api is set |
|
| 70 | if ($apiKey['keyID'] === '' || $apiKey['vCode'] === '' || $apiKey['characterID'] === null) { |
|
| 71 | continue; |
|
| 72 | } |
|
| 73 | $x++; |
|
| 74 | } |
|
| 75 | $this->numberOfKeys = $x; |
|
| 76 | } |
|
| 77 | ||
| @@ 73-79 (lines=7) @@ | ||
| 70 | ||
| 71 | //Get number of keys |
|
| 72 | $x = 0; |
|
| 73 | foreach ($this->apiKey as $apiKey) { |
|
| 74 | //Check if api is set |
|
| 75 | if ($apiKey['keyID'] === '' || $apiKey['vCode'] === '' || $apiKey['characterID'] === null) { |
|
| 76 | continue; |
|
| 77 | } |
|
| 78 | $x++; |
|
| 79 | } |
|
| 80 | $this->numberOfKeys = $x; |
|
| 81 | } |
|
| 82 | ||