@@ -34,24 +34,24 @@ class LengthException extends \LengthException implements Exception
3434
3535 /**
3636 *
37- * @var mixed The unsuppported value .
37+ * @var mixed The problematic length .
3838 */
39- private $ _length = null ;
39+ private $ _length ;
4040
4141 /**
4242 * Creates a new LengthException.
4343 *
44- * @param string $message The Exception message to throw.
45- * @param int $code The Exception code.
46- * @param Exception $previous The previous exception used for the exception
44+ * @param string $message The Exception message to throw.
45+ * @param int $code The Exception code.
46+ * @param \ Exception $previous The previous exception used for the exception
4747 * chaining.
48- * @param number $value The length.
48+ * @param number $length The length.
4949 */
5050 public function __construct ($ message , $ code = 0 , $ previous = null ,
51- $ value = null
51+ $ length = null
5252 ) {
5353 parent ::__construct ($ message , $ code , $ previous );
54- $ this ->_length = $ value ;
54+ $ this ->_length = $ length ;
5555 }
5656
5757 /**
@@ -74,7 +74,7 @@ public function getLength()
7474 */
7575 public function __toString ()
7676 {
77- return parent ::__toString () . "\n Value : {$ this ->_length }" ;
77+ return parent ::__toString () . "\n Length : {$ this ->_length }" ;
7878 }
7979
8080 // @codeCoverageIgnoreEnd
0 commit comments