Completed
Push — 7.4 ( 49d4f5...00d753 )
by
unknown
46:53 queued 20:03
created
eZ/Publish/API/Repository/Tests/FieldType/TimeIntegrationTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
     /**
110 110
      * Get initial field data for valid object creation.
111 111
      *
112
-     * @return mixed
112
+     * @return TimeValue
113 113
      */
114 114
     public function getValidCreationFieldData()
115 115
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/BaseURLServiceTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@  discard block
 block discarded – undo
15 15
  */
16 16
 abstract class BaseURLServiceTest extends BaseTest
17 17
 {
18
+    /**
19
+     * @param integer $exectedTotalCount
20
+     */
18 21
     protected function doTestFindUrls(URLQuery $query, array $expectedUrls, $exectedTotalCount = null, $ignoreOrder = true)
19 22
     {
20 23
         $repository = $this->getRepository();
@@ -32,6 +35,9 @@  discard block
 block discarded – undo
32 35
         $this->assertSearchResultItems($searchResult, $expectedUrls, $ignoreOrder);
33 36
     }
34 37
 
38
+    /**
39
+     * @param boolean $ignoreOrder
40
+     */
35 41
     protected function assertSearchResultItems(SearchResult $searchResult, array $expectedUrls, $ignoreOrder)
36 42
     {
37 43
         $this->assertCount(count($expectedUrls), $searchResult->items);
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/BaseTest.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -212,7 +212,6 @@  discard block
 block discarded – undo
212 212
      *
213 213
      * @param \eZ\Publish\API\Repository\Values\ValueObject $expectedValues
214 214
      * @param \eZ\Publish\API\Repository\Values\ValueObject $actualObject
215
-     * @param array $propertyNames
216 215
      */
217 216
     protected function assertStructPropertiesCorrect(ValueObject $expectedValues, ValueObject $actualObject, array $additionalProperties = array())
218 217
     {
@@ -474,7 +473,7 @@  discard block
 block discarded – undo
474 473
     /**
475 474
      * Create role of a given name with the given policies described by an array.
476 475
      *
477
-     * @param $roleName
476
+     * @param string $roleName
478 477
      * @param array $policiesData [['module' => 'content', 'function' => 'read', 'limitations' => []]
479 478
      *
480 479
      * @return \eZ\Publish\API\Repository\Values\User\Role
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/EventListener/EventListenerTest.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,6 @@
 block discarded – undo
132 132
     }
133 133
 
134 134
     /**
135
-     * @param bool $csrfEnabled
136 135
      *
137 136
      * @return CsrfListener
138 137
      */
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishCoreBundle/EventListener/ConfigScopeListener.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     /**
67 67
      * Sets the complete list of view providers.
68 68
      *
69
-     * @param array $viewProviders
69
+     * @param \PHPUnit\Framework\MockObject\MockObject $viewProviders
70 70
      */
71 71
     public function setViewProviders(array $viewProviders)
72 72
     {
Please login to merge, or discard this patch.
Tests/EventListener/BackgroundIndexingTerminateListenerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
     /**
87 87
      * @dataProvider indexingProvider
88 88
      *
89
-     * @param array|null $value
89
+     * @param array|null $values
90 90
      * @param \Psr\Log\LoggerInterface|\PHPUnit\Framework\MockObject\MockObject|null $logger
91 91
      */
92 92
     public function testIndexing(array $values = null, $logger = null)
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/CorsOptions/RestProviderTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
     }
112 112
 
113 113
     /**
114
-     * @return MockObject|RequestMatcherInterface
114
+     * @return RequestMatcherInterface
115 115
      */
116 116
     protected function getRequestMatcherMock()
117 117
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/EventListener/CsrfListenerTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     }
169 169
 
170 170
     /**
171
-     * @return CsrfProviderInterface|MockObject
171
+     * @return null|CsrfTokenManagerInterface
172 172
      */
173 173
     protected function getCsrfProviderMock()
174 174
     {
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
     }
192 192
 
193 193
     /**
194
-     * @return MockObject|GetResponseEvent
194
+     * @return null|EventDispatcherInterface
195 195
      */
196 196
     protected function getEventMock($class = null)
197 197
     {
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
     }
294 294
 
295 295
     /**
296
-     * @return MockObject|EventDispatcherInterface
296
+     * @return EventDispatcherInterface
297 297
      */
298 298
     protected function getEventDispatcherMock()
299 299
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/EventListener/ResponseListenerTest.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,6 +67,9 @@  discard block
 block discarded – undo
67 67
         );
68 68
     }
69 69
 
70
+    /**
71
+     * @param string $method
72
+     */
70 73
     protected function onKernelViewIsNotRestRequest($method, GetResponseEvent $event)
71 74
     {
72 75
         $this->getVisitorDispatcherMock()
@@ -86,6 +89,9 @@  discard block
 block discarded – undo
86 89
         $this->onKernelView('onKernelResultView', $this->getControllerResultEventMock());
87 90
     }
88 91
 
92
+    /**
93
+     * @param string $method
94
+     */
89 95
     protected function onKernelView($method, $event)
90 96
     {
91 97
         $this->getVisitorDispatcherMock()
@@ -108,7 +114,7 @@  discard block
 block discarded – undo
108 114
     }
109 115
 
110 116
     /**
111
-     * @return AcceptHeaderVisitorDispatcher|MockObject
117
+     * @return AcceptHeaderVisitorDispatcher
112 118
      */
113 119
     public function getVisitorDispatcherMock()
114 120
     {
Please login to merge, or discard this patch.