Completed
Pull Request — master (#2293)
by
unknown
07:16
created
tests/unit/phpDocumentor/Descriptor/ProjectDescriptorBuilderTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
      * When a FileReflector (or mock thereof) is passed to the 'get' method this mock will return an
91 91
      * empty instance of the FileDescriptor class.
92 92
      *
93
-     * @return m\MockInterface|AssemblerFactory
93
+     * @return m\LegacyMockInterface
94 94
      */
95 95
     protected function createAssemblerFactoryMock()
96 96
     {
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
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     /**
114 114
      * Returns the namespace for this element (defaults to global "\")
115 115
      *
116
-     * @return NamespaceDescriptor|string
116
+     * @return string
117 117
      */
118 118
     public function getNamespace()
119 119
     {
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
     }
379 379
 
380 380
     /**
381
-     * @return DescriptorAbstract|string|Fqsen|null
381
+     * @return DescriptorAbstract|null
382 382
      */
383 383
     public function getInheritedElement()
384 384
     {
Please login to merge, or discard this patch.
src/phpDocumentor/Descriptor/InterfaceDescriptor.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -140,6 +140,7 @@
 block discarded – undo
140 140
 
141 141
     /**
142 142
      * @inheritDoc
143
+     * @param string $package
143 144
      */
144 145
     public function setPackage($package) : void
145 146
     {
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Compiler/Pass/ResolveInlineLinkAndSeeTagsTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     /**
144 144
      * Returns a mocked Project Descriptor.
145 145
      *
146
-     * @param Collection|MockInterface $descriptors
146
+     * @param m\LegacyMockInterface $descriptors
147 147
      */
148 148
     private function givenAProjectDescriptorWithChildDescriptors($descriptors) : MockInterface
149 149
     {
@@ -173,9 +173,9 @@  discard block
 block discarded – undo
173 173
     /**
174 174
      * Returns a collection with descriptor. This collection will be scanned to see if a link can be made to a file.
175 175
      *
176
-     * @param DescriptorAbstract|MockInterface $descriptor
176
+     * @param FileDescriptor $descriptor
177 177
      *
178
-     * @return Collection|MockInterface
178
+     * @return m\LegacyMockInterface
179 179
      */
180 180
     private function givenACollection($descriptor)
181 181
     {
Please login to merge, or discard this patch.
unit/phpDocumentor/Descriptor/Builder/Reflector/FunctionAssemblerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
     /**
103 103
      * Creates a sample function reflector for the tests with the given data.
104 104
      *
105
-     * @param DocBlock|m\MockInterface $docBlockMock
105
+     * @param DocBlock $docBlockMock
106 106
      */
107 107
     protected function givenAFunctionReflector(
108 108
         string $namespace,
Please login to merge, or discard this patch.
unit/phpDocumentor/Descriptor/Builder/Reflector/PropertyAssemblerTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -72,6 +72,7 @@
 block discarded – undo
72 72
 
73 73
     /**
74 74
      * Creates a sample property reflector for the tests with the given data.
75
+     * @param DocBlock $docBlockMock
75 76
      */
76 77
     private function givenAPropertyReflector(
77 78
         string $namespace,
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Descriptor/MethodDescriptorTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -385,7 +385,7 @@
 block discarded – undo
385 385
     /**
386 386
      * Sets up mocks as such that the fixture has a parent class, with a file.
387 387
      *
388
-     * @return m\MockInterface|FileDescriptor
388
+     * @return m\LegacyMockInterface
389 389
      */
390 390
     private function whenFixtureIsRelatedToAClassWithFile()
391 391
     {
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Faker/Provider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     }
52 52
 
53 53
     /**
54
-     * @return m\LegacyMockInterface|m\MockInterface|FlySystemFactory
54
+     * @return FlySystemFactory
55 55
      */
56 56
     public function flySystemFactory()
57 57
     {
Please login to merge, or discard this patch.
unit/phpDocumentor/Descriptor/Builder/Reflector/ClassAssemblerTest.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -100,6 +100,8 @@
 block discarded – undo
100 100
 
101 101
     /**
102 102
      * Create a ClassReflector mock
103
+     * @param Fqsen $classFqsen
104
+     * @param Fqsen $parent
103 105
      */
104 106
     protected function getClassReflectorDescriptor(?Fqsen $classFqsen = null, ?Fqsen $parent = null) : Class_
105 107
     {
Please login to merge, or discard this patch.