Fix #7 Change visibility of $words
The PHPDoc block of `$words` say that the visibility / access of `$words` is private but its `public` in php code. https://github.com/joshtronic/php-loremipsum/blob/master/src/LoremIpsum.php#L37-L40
This commit is contained in:
parent
f0ec43a045
commit
007b7a211e
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class LoremIpsum
|
|||
* @access private
|
||||
* @var array
|
||||
*/
|
||||
public $words = array(
|
||||
private $words = array(
|
||||
// Lorem ipsum...
|
||||
'lorem', 'ipsum', 'dolor', 'sit', 'amet', 'consectetur', 'adipiscing', 'elit',
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue