Completed
Push — index-time-boost ( 41c76a )
by Petar
18:23
created
eZ/Bundle/EzPublishRestBundle/Tests/EventListener/EventListenerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,6 +61,7 @@  discard block
 block discarded – undo
61 61
     }
62 62
 
63 63
     /**
64
+     * @param string $class
64 65
      * @return PHPUnit_Framework_MockObject_MockObject|$class
65 66
      */
66 67
     protected function getEventMock($class)
@@ -134,7 +135,6 @@  discard block
 block discarded – undo
134 135
     }
135 136
 
136 137
     /**
137
-     * @param bool $csrfEnabled
138 138
      *
139 139
      * @return CsrfListener
140 140
      */
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
@@ -69,6 +69,9 @@  discard block
 block discarded – undo
69 69
         );
70 70
     }
71 71
 
72
+    /**
73
+     * @param string $method
74
+     */
72 75
     protected function onKernelViewIsNotRestRequest($method, GetResponseEvent $event)
73 76
     {
74 77
         $this->getVisitorDispatcherMock()
@@ -88,6 +91,9 @@  discard block
 block discarded – undo
88 91
         $this->onKernelView('onKernelResultView', $this->getControllerResultEventMock());
89 92
     }
90 93
 
94
+    /**
95
+     * @param string $method
96
+     */
91 97
     protected function onKernelView($method, $event)
92 98
     {
93 99
         $this->getVisitorDispatcherMock()
@@ -110,7 +116,7 @@  discard block
 block discarded – undo
110 116
     }
111 117
 
112 118
     /**
113
-     * @return AcceptHeaderVisitorDispatcher|PHPUnit_Framework_MockObject_MockObject
119
+     * @return AcceptHeaderVisitorDispatcher
114 120
      */
115 121
     public function getVisitorDispatcherMock()
116 122
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/RequestParser/RouterTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
     }
150 150
 
151 151
     /**
152
-     * @return \Symfony\Cmf\Component\Routing\ChainRouter|\PHPUnit_Framework_MockObject_MockObject
152
+     * @return \Symfony\Component\Routing\RouterInterface
153 153
      */
154 154
     private function getRouterMock()
155 155
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/ContentTypeService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      * @throws \eZ\Publish\API\Repository\Exceptions\UnauthorizedException if the user is not allowed to delete a content type group
88 88
      * @throws \eZ\Publish\API\Repository\Exceptions\InvalidArgumentException If  a to be deleted content type has instances
89 89
      *
90
-     * @param \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup $ContentTypeGroup
90
+     * @param \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup $contentTypeGroup
91 91
      */
92 92
     public function deleteContentTypeGroup(ContentTypeGroup $contentTypeGroup);
93 93
 
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/BaseNonRedundantFieldSetTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -183,6 +183,9 @@
 block discarded – undo
183 183
         return $this->createTestContent('eng-US', $fieldValues);
184 184
     }
185 185
 
186
+    /**
187
+     * @param string $initialLanguageCode
188
+     */
186 189
     protected function updateTestContent($initialLanguageCode, array $fieldValues)
187 190
     {
188 191
         $repository = $this->getRepository();
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/BaseTest.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,6 @@
 block discarded – undo
215 215
      *
216 216
      * @param \eZ\Publish\API\Repository\Values\ValueObject $expectedValues
217 217
      * @param \eZ\Publish\API\Repository\Values\ValueObject $actualObject
218
-     * @param array $propertyNames
219 218
      */
220 219
     protected function assertStructPropertiesCorrect(ValueObject $expectedValues, ValueObject $actualObject, array $additionalProperties = array())
221 220
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/FieldType/AuthorIntegrationTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     /**
101 101
      * Get initial field data for valid object creation.
102 102
      *
103
-     * @return mixed
103
+     * @return AuthorValue
104 104
      */
105 105
     public function getValidCreationFieldData()
106 106
     {
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
     /**
185 185
      * Get update field externals data.
186 186
      *
187
-     * @return array
187
+     * @return AuthorValue
188 188
      */
189 189
     public function getValidUpdateFieldData()
190 190
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/FieldType/BaseIntegrationTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -482,6 +482,7 @@
 block discarded – undo
482 482
      * Creates content with $fieldData.
483 483
      *
484 484
      * @param mixed $fieldData
485
+     * @param Repository\Values\ContentType\ContentType $contentType
485 486
      *
486 487
      * @return \eZ\Publish\API\Repository\Values\Content\Content
487 488
      */
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/FieldType/BinaryFileIntegrationTest.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
     /**
157 157
      * Get initial field data for valid object creation.
158 158
      *
159
-     * @return mixed
159
+     * @return BinaryFileValue
160 160
      */
161 161
     public function getValidCreationFieldData()
162 162
     {
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
     /**
246 246
      * Get update field externals data.
247 247
      *
248
-     * @return array
248
+     * @return BinaryFileValue
249 249
      */
250 250
     public function getValidUpdateFieldData()
251 251
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 
13 13
 use eZ\Publish\Core\FieldType\BinaryFile\Value as BinaryFileValue;
14 14
 use eZ\Publish\API\Repository\Values\Content\Field;
15
-use eZ\Publish\API\Repository\Values\Content\Query\Criterion;
16 15
 
17 16
 /**
18 17
  * Integration test for use field type.
Please login to merge, or discard this patch.