Completed
Push — master ( abfbf3...3d2f3e )
by T
05:45
created
src/PHPSemVerCheckerGit/Console/Command/SuggestCommand.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -155,11 +155,17 @@  discard block
 block discarded – undo
155 155
 		$output->writeln('Time: ' . round($duration, 3) . ' seconds, Memory: ' . round(memory_get_peak_usage() / 1024 / 1024, 3) . ' MB');
156 156
 	}
157 157
 
158
+	/**
159
+	 * @return string
160
+	 */
158 161
 	protected function findLatestTag(Repository $repository)
159 162
 	{
160 163
 		return $this->findTag($repository, '*');
161 164
 	}
162 165
 
166
+	/**
167
+	 * @return string
168
+	 */
163 169
 	protected function findTag(Repository $repository, $tag)
164 170
 	{
165 171
 		$tags = (array)$repository->getTags();
@@ -169,6 +175,9 @@  discard block
 block discarded – undo
169 175
 		return $this->getMappedVersionTag($tags, $tagExpression->maxSatisfying($tags));
170 176
 	}
171 177
 
178
+	/**
179
+	 * @param SemanticVersion|null $versionTag
180
+	 */
172 181
 	private function getMappedVersionTag(array $tags, $versionTag)
173 182
 	{
174 183
 		foreach ($tags as $tag) {
Please login to merge, or discard this patch.