@@ -17,7 +17,7 @@ class MinMaxHelper
1717 * @param TypeDoc $doc
1818 * @param Constraint $constraint
1919 */
20- public function append (TypeDoc $ doc , Constraint $ constraint )
20+ public function append (TypeDoc $ doc , Constraint $ constraint ) : void
2121 {
2222 if ($ doc instanceof StringDoc) {
2323 $ this ->appendStringDoc ($ doc , $ constraint );
@@ -32,7 +32,7 @@ public function append(TypeDoc $doc, Constraint $constraint)
3232 * @param StringDoc $doc
3333 * @param Constraint $constraint
3434 */
35- private function appendStringDoc (StringDoc $ doc , Constraint $ constraint )
35+ private function appendStringDoc (StringDoc $ doc , Constraint $ constraint ) : void
3636 {
3737 if ($ constraint instanceof Assert \Length) {
3838 if (null !== $ constraint ->min ) {
@@ -54,7 +54,7 @@ private function appendStringDoc(StringDoc $doc, Constraint $constraint)
5454 * @param NumberDoc $doc
5555 * @param Constraint $constraint
5656 */
57- private function appendNumberDoc (NumberDoc $ doc , Constraint $ constraint )
57+ private function appendNumberDoc (NumberDoc $ doc , Constraint $ constraint ) : void
5858 {
5959 $ this ->appendNumberMinMax ($ doc , $ constraint );
6060
@@ -69,7 +69,7 @@ private function appendNumberDoc(NumberDoc $doc, Constraint $constraint)
6969 * @param CollectionDoc $doc
7070 * @param Constraint $constraint
7171 */
72- private function appendCollectionDoc (CollectionDoc $ doc , Constraint $ constraint )
72+ private function appendCollectionDoc (CollectionDoc $ doc , Constraint $ constraint ) : void
7373 {
7474 if ($ constraint instanceof Assert \Choice) {
7575 if (null !== $ constraint ->min ) {
@@ -112,7 +112,7 @@ private function appendCollectionDoc(CollectionDoc $doc, Constraint $constraint)
112112 * @param NumberDoc $doc
113113 * @param Constraint $constraint
114114 */
115- private function appendNumberMinMax (NumberDoc $ doc , Constraint $ constraint )
115+ private function appendNumberMinMax (NumberDoc $ doc , Constraint $ constraint ) : void
116116 {
117117 if ($ constraint instanceof Assert \Range) {
118118 if (null !== $ constraint ->min ) {
0 commit comments