@@ -28,7 +28,7 @@ |
||
| 28 | 28 | $areaCode = substr($phoneNumber, 0, 3); |
| 29 | 29 | $nextThree = substr($phoneNumber, 3, 3); |
| 30 | 30 | |
| 31 | - while (($data = fgetcsv($this->fileHandle)) !== FALSE) { |
|
| 31 | + while (($data = fgetcsv($this->fileHandle)) !== false) { |
|
| 32 | 32 | if($areaCode == $data[0] && $nextThree == $data[1]){ |
| 33 | 33 | return new LookupResponse($data[2], $data[3]); |
| 34 | 34 | } |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | /** |
| 16 | 16 | * @param array $keys |
| 17 | 17 | */ |
| 18 | - public function __construct(Array $keys){ |
|
| 18 | + public function __construct(array $keys){ |
|
| 19 | 19 | $this->keys = $keys; |
| 20 | 20 | } |
| 21 | 21 | |