Completed
Push — develop ( ffe009...9d0b73 )
by Mike
09:33
created
unit/phpDocumentor/Descriptor/Builder/Reflector/PropertyAssemblerTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -88,6 +88,7 @@
 block discarded – undo
88 88
 
89 89
     /**
90 90
      * Generates a DocBlock object with applicable defaults for these tests.
91
+     * @param boolean $withTags
91 92
      */
92 93
     protected function givenADocBlockObject($withTags): DocBlock
93 94
     {
Please login to merge, or discard this patch.
unit/phpDocumentor/Descriptor/Builder/Reflector/MethodAssemblerTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -88,6 +88,7 @@
 block discarded – undo
88 88
 
89 89
     /**
90 90
      * Generates a DocBlock object with applicable defaults for these tests.
91
+     * @param boolean $withTags
91 92
      */
92 93
     protected function givenADocBlockObject($withTags): DocBlock
93 94
     {
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Plugin/Core/Transformer/Writer/StatisticsTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -132,6 +132,13 @@
 block discarded – undo
132 132
         return m::mock('phpDocumentor\Descriptor\Validator\Error');
133 133
     }
134 134
 
135
+    /**
136
+     * @param string $date
137
+     * @param integer $numberOfFiles
138
+     * @param integer $numberOfDeprecated
139
+     * @param integer $numberOfErrors
140
+     * @param integer $numberOfMarkers
141
+     */
135 142
     private function thenTheXmlReportShouldContain(
136 143
         $date,
137 144
         $numberOfFiles,
Please login to merge, or discard this patch.
src/phpDocumentor/Plugin/Graphs/Writer/Graph.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
      * @param string $from_name
146 146
      * @param string|ClassDescriptor|InterfaceDescriptor|TraitDescriptor $to
147 147
      *
148
-     * @return Edge|null
148
+     * @return \self|null
149 149
      */
150 150
     protected function createEdge($graph, $from_name, $to)
151 151
     {
@@ -176,6 +176,9 @@  discard block
 block discarded – undo
176 176
         return null;
177 177
     }
178 178
 
179
+    /**
180
+     * @param string $fqcn
181
+     */
179 182
     protected function createNamespaceGraph($fqcn)
180 183
     {
181 184
         $namespaceParts = explode('\\', $fqcn);
@@ -209,7 +212,7 @@  discard block
 block discarded – undo
209 212
      * @param string $name
210 213
      * @param Graph $graph
211 214
      *
212
-     * @return Node
215
+     * @return null|\self
213 216
      */
214 217
     protected function createEmptyNode($name, $graph)
215 218
     {
Please login to merge, or discard this patch.
src/phpDocumentor/Descriptor/DescriptorAbstract.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     /**
116 116
      * Returns the namespace for this element (defaults to global "\")
117 117
      *
118
-     * @return NamespaceDescriptor|string
118
+     * @return string
119 119
      */
120 120
     public function getNamespace()
121 121
     {
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
     /**
223 223
      * Sets the file to which this element is associated.
224 224
      *
225
-     * @return bool
225
+     * @return boolean|null
226 226
      */
227 227
     public function setFile(FileDescriptor $file)
228 228
     {
Please login to merge, or discard this patch.
Plugin/Scrybe/Converter/RestructuredText/Visitors/DiscoverTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@
 block discarded – undo
41 41
         $this->object = new Discover($this->getDocumentMock(), '');
42 42
     }
43 43
 
44
+    /**
45
+     * @return \ezcDocumentRst
46
+     */
44 47
     protected function getDocumentMock()
45 48
     {
46 49
         if (!$this->document) {
Please login to merge, or discard this patch.
src/phpDocumentor/Compiler/Pass/ResolveInlineLinkAndSeeTags.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
      * If a relative QSEN is provided then this method will attempt to resolve it given the current namespace and
172 172
      * namespace aliases.
173 173
      *
174
-     * @param Fqsen|string $link
174
+     * @param string|null $link
175 175
      * @return Fqsen|string
176 176
      */
177 177
     private function resolveQsen($link)
@@ -188,6 +188,7 @@  discard block
 block discarded – undo
188 188
      * be matched.
189 189
      *
190 190
      * @param Fqsen|string $link
191
+     * @param string $description
191 192
      */
192 193
     private function resolveElement(DescriptorAbstract $element, $link, ?string $description = null): string
193 194
     {
@@ -247,7 +248,7 @@  discard block
 block discarded – undo
247 248
     /**
248 249
      * Generates a Markdown-formatted string representing a link with a description.
249 250
      *
250
-     * @param Fqsen|string $link
251
+     * @param string|null $link
251 252
      */
252 253
     private function generateMarkdownLink($link, string $description): string
253 254
     {
Please login to merge, or discard this patch.
src/phpDocumentor/Plugin/Scrybe/Command/Manual/BaseConvertCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@
 block discarded – undo
181 181
      * TODO: implement this
182 182
      *
183 183
      * @param array $sources    List of source paths.
184
-     * @param array $extensions List of extensions to scan for in directories.
184
+     * @param string[] $extensions List of extensions to scan for in directories.
185 185
      *
186 186
      * @return Collection
187 187
      */
Please login to merge, or discard this patch.
src/phpDocumentor/Plugin/Scrybe/Converter/RestructuredText/Document.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -98,6 +98,7 @@
 block discarded – undo
98 98
 
99 99
     /**
100 100
      * Returns the file associated with this document.
101
+     * @return \phpDocumentor\Plugin\Scrybe\Converter\Metadata\TableOfContents\File
101 102
      */
102 103
     public function getFile()
103 104
     {
Please login to merge, or discard this patch.