This repository was archived by the owner on Jan 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 134
This repository was archived by the owner on Jan 31, 2020. It is now read-only.
Method visibility bug #236
Copy link
Copy link
Closed
Labels
Description
getLength() and setLength() visibility shold be public ?
zend-validator/src/StringLength.php
Lines 182 to 202 in 87e743d
| /** | |
| * Returns the length option | |
| * | |
| * @return int | |
| */ | |
| private function getLength() | |
| { | |
| return $this->options['length']; | |
| } | |
| /** | |
| * Sets the length option | |
| * | |
| * @param int $length | |
| * @return StringLength Provides a fluent interface | |
| */ | |
| private function setLength($length) | |
| { | |
| $this->options['length'] = (int) $length; | |
| return $this; | |
| } |