Completed
Pull Request — master (#31)
by
unknown
03:18 queued 01:02
created
SwaggerGen/Swagger/Type/ObjectType.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -57,6 +57,10 @@  discard block
 block discarded – undo
57 57
 		$this->parseRange($definition, $match);
58 58
 	}
59 59
 
60
+	/**
61
+	 * @param string $definition
62
+	 * @param string[] $match
63
+	 */
60 64
 	private function parseFormat($definition, $match)
61 65
 	{
62 66
 		if (strtolower($match[1]) !== 'object') {
@@ -76,6 +80,10 @@  discard block
 block discarded – undo
76 80
 		$this->additionalProperties = $type;
77 81
 	}
78 82
 
83
+	/**
84
+	 * @param string $definition
85
+	 * @param string[] $match
86
+	 */
79 87
 	private function parseProperties($definition, $match)
80 88
 	{
81 89
 		if (empty($match[2])) {
@@ -105,6 +113,10 @@  discard block
 block discarded – undo
105 113
 
106 114
 	}
107 115
 
116
+	/**
117
+	 * @param string $definition
118
+	 * @param string[] $match
119
+	 */
108 120
 	private function parseRange($definition, $match)
109 121
 	{
110 122
 		if (!empty($match[3])) {
@@ -125,6 +137,9 @@  discard block
 block discarded – undo
125 137
 		}
126 138
 	}
127 139
 
140
+	/**
141
+	 * @param string|false $discriminator
142
+	 */
128 143
 	private function setDiscriminator($discriminator)
129 144
 	{
130 145
 		if (!empty($this->discriminator)) {
Please login to merge, or discard this patch.
SwaggerGen/Swagger/Schema.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@
 block discarded – undo
34 34
 	 */
35 35
 	private $type;
36 36
 
37
+	/**
38
+	 * @param string $description
39
+	 */
37 40
 	public function __construct(AbstractObject $parent, $definition = 'object', $description = null)
38 41
 	{
39 42
 		parent::__construct($parent);
Please login to merge, or discard this patch.
SwaggerGen/Swagger/Type/AllOfType.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@
 block discarded – undo
30 30
 		}
31 31
 	}
32 32
 
33
+	/**
34
+	 * @param string $command
35
+	 */
33 36
 	public function handleCommand($command, $data = null)
34 37
 	{
35 38
 		switch ($command) {
Please login to merge, or discard this patch.