Added Malaysia Localized data and fix Singapore able to generate StreetName from Array #1233
Conversation
'Jalan', 'Lorong', | ||
); | ||
|
||
// http://www.streetdirectory.com/malaysia/kl/asia_travel/street/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content of this site is copyrighted. Please find a datasource compatible with the MIT license.
"{{streetNumber}} {{streetAddress}},\n{{postcode}} {{townName}},\n{{country}}", | ||
); | ||
|
||
protected static $townName = array( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not enough entropy, please find a larger list
protected static $postcode = array('#####'); | ||
|
||
protected static $country = array( | ||
'Malaysia', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, a random country should return any country in the world
'Malaysia', | ||
); | ||
|
||
public function streetPrefix() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be a static function. Same for many other functions in your code.
Closing this PR since it got stale. Please feel free to reopen if needed |
Added Malaysia Localized data