Completed
Push — master ( ffa084...d4d73f )
by Martijn
04:51
created
SwaggerGen/Swagger/Type/ArrayType.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -159,6 +159,9 @@
 block discarded – undo
159 159
 								), parent::toArray()));
160 160
 	}
161 161
 
162
+	/**
163
+	 * @param string|null $items
164
+	 */
162 165
 	private function validateItems($items)
163 166
 	{
164 167
 		if (empty($items)) {
Please login to merge, or discard this patch.
SwaggerGen/Swagger/Type/IntegerType.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -140,6 +140,9 @@
 block discarded – undo
140 140
 		return __CLASS__;
141 141
 	}
142 142
 
143
+	/**
144
+	 * @param string|null $value
145
+	 */
143 146
 	private function validateDefault($value)
144 147
 	{
145 148
 		if (preg_match('~^-?\d+$~', $value) !== 1) {
Please login to merge, or discard this patch.
SwaggerGen/Swagger/Type/NumberType.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -131,6 +131,9 @@
 block discarded – undo
131 131
 		return __CLASS__;
132 132
 	}
133 133
 
134
+	/**
135
+	 * @param string|null $value
136
+	 */
134 137
 	private function validateDefault($value)
135 138
 	{
136 139
 		if (preg_match('~^-?(?:\\d*\\.?\\d+|\\d+\\.\\d*)$~', $value) !== 1) {
Please login to merge, or discard this patch.