11<?php
22namespace gossi \codegen \config ;
33
4- use Symfony \Component \OptionsResolver \OptionsResolver ;
54use Symfony \Component \OptionsResolver \Options ;
5+ use Symfony \Component \OptionsResolver \OptionsResolver ;
66
77/**
88 * Configuration for code generator
@@ -61,7 +61,7 @@ protected function getAllowedOptionTypes() {
6161 /**
6262 * Returns whether docblocks should be generated
6363 *
64- * @return boolean `true` if they will be generated and `false` if not
64+ * @return bool `true` if they will be generated and `false` if not
6565 */
6666 public function getGenerateDocblock () {
6767 return $ this ->options ['generateDocblock ' ];
@@ -70,7 +70,7 @@ public function getGenerateDocblock() {
7070 /**
7171 * Sets whether docblocks should be generated
7272 *
73- * @param boolean $generate `true` if they will be generated and `false` if not
73+ * @param bool $generate `true` if they will be generated and `false` if not
7474 * @return $this
7575 */
7676 public function setGenerateDocblock ($ generate ) {
@@ -84,7 +84,7 @@ public function setGenerateDocblock($generate) {
8484 /**
8585 * Returns whether empty docblocks are generated
8686 *
87- * @return boolean `true` if they will be generated and `false` if not
87+ * @return bool `true` if they will be generated and `false` if not
8888 */
8989 public function getGenerateEmptyDocblock () {
9090 return $ this ->options ['generateEmptyDocblock ' ];
@@ -93,7 +93,7 @@ public function getGenerateEmptyDocblock() {
9393 /**
9494 * Sets whether empty docblocks are generated
9595 *
96- * @param boolean $generate `true` if they will be generated and `false` if not
96+ * @param bool $generate `true` if they will be generated and `false` if not
9797 * @return $this
9898 */
9999 public function setGenerateEmptyDocblock ($ generate ) {
@@ -107,7 +107,7 @@ public function setGenerateEmptyDocblock($generate) {
107107 /**
108108 * Returns whether scalar type hints will be generated for method parameters (PHP 7)
109109 *
110- * @return boolean `true` if they will be generated and `false` if not
110+ * @return bool `true` if they will be generated and `false` if not
111111 */
112112 public function getGenerateScalarTypeHints () {
113113 return $ this ->options ['generateScalarTypeHints ' ];
@@ -116,7 +116,7 @@ public function getGenerateScalarTypeHints() {
116116 /**
117117 * Sets whether scalar type hints will be generated for method parameters (PHP 7)
118118 *
119- * @param boolean $generate `true` if they will be generated and `false` if not
119+ * @param bool $generate `true` if they will be generated and `false` if not
120120 * @return $this
121121 */
122122 public function setGenerateScalarTypeHints ($ generate ) {
@@ -127,7 +127,7 @@ public function setGenerateScalarTypeHints($generate) {
127127 /**
128128 * Returns whether return type hints will be generated for method parameters (PHP 7)
129129 *
130- * @return boolean `true` if they will be generated and `false` if not
130+ * @return bool `true` if they will be generated and `false` if not
131131 */
132132 public function getGenerateReturnTypeHints () {
133133 return $ this ->options ['generateReturnTypeHints ' ];
@@ -136,11 +136,11 @@ public function getGenerateReturnTypeHints() {
136136 /**
137137 * Sets whether return type hints will be generated for method parameters (PHP 7)
138138 *
139- * @param boolean $generate `true` if they will be generated and `false` if not
139+ * @param bool $generate `true` if they will be generated and `false` if not
140140 * @return $this
141141 */
142142 public function setGenerateReturnTypeHints ($ generate ) {
143143 $ this ->options ['generateReturnTypeHints ' ] = $ generate ;
144144 return $ this ;
145145 }
146- }
146+ }
0 commit comments