Completed
Push — master ( 816af4...431127 )
by Martijn
21s
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.
tests/output/docblock comment in method/source.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 	* @rest\path Int id The ID of the User
22 22
 	* @rest\response 200 User
23 23
 		 */
24
-		$app->get('/v1/users/{id:[0-9]+}', function ($request, $response, $args) {
24
+		$app->get('/v1/users/{id:[0-9]+}', function($request, $response, $args) {
25 25
 			// ...
26 26
 		});
27 27
 	}
Please login to merge, or discard this patch.