Completed
Push — EZP-30461 ( f31212...2bcc5c )
by
unknown
27:37
created
eZ/Publish/Core/Search/Legacy/Tests/Content/AbstractTestCase.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -56,6 +56,7 @@
 block discarded – undo
56 56
 
57 57
     /**
58 58
      * Assert that the elements are.
59
+     * @param \eZ\Publish\API\Repository\Values\Content\Search\SearchResult $searchResult
59 60
      */
60 61
     protected function assertSearchResults($expectedIds, $searchResult)
61 62
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Search/Legacy/Tests/Content/HandlerContentSortTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     /**
94 94
      * Returns a content mapper mock.
95 95
      *
96
-     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Mapper
96
+     * @return \PHPUnit\Framework\MockObject\MockObject
97 97
      */
98 98
     protected function getContentMapperMock()
99 99
     {
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
     /**
150 150
      * Returns a content field handler mock.
151 151
      *
152
-     * @return \eZ\Publish\Core\Persistence\Legacy\Content\FieldHandler
152
+     * @return \PHPUnit\Framework\MockObject\MockObject
153 153
      */
154 154
     protected function getContentFieldHandlerMock()
155 155
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Search/Legacy/Tests/Content/HandlerLocationTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
     /**
167 167
      * Returns a location mapper mock.
168 168
      *
169
-     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Location\Mapper
169
+     * @return \PHPUnit\Framework\MockObject\MockObject
170 170
      */
171 171
     protected function getLocationMapperMock()
172 172
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Search/Legacy/Tests/Content/HandlerContentTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     /**
94 94
      * Returns a content mapper mock.
95 95
      *
96
-     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Mapper
96
+     * @return \PHPUnit\Framework\MockObject\MockObject
97 97
      */
98 98
     protected function getContentMapperMock()
99 99
     {
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
     /**
150 150
      * Returns a content field handler mock.
151 151
      *
152
-     * @return \eZ\Publish\Core\Persistence\Legacy\Content\FieldHandler
152
+     * @return \PHPUnit\Framework\MockObject\MockObject
153 153
      */
154 154
     protected function getContentFieldHandlerMock()
155 155
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Cache/LocationHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -339,9 +339,9 @@
 block discarded – undo
339 339
      * Return relevant content and location tags so cache can be purged reliably.
340 340
      *
341 341
      * @param \eZ\Publish\SPI\Persistence\Content\Location $location
342
-     * @param array $tags Optional, can be used to specify additional tags.
342
+     * @param string[] $tags Optional, can be used to specify additional tags.
343 343
      *
344
-     * @return array
344
+     * @return string[]
345 345
      */
346 346
     private function getCacheTags(Location $location, $tags = [])
347 347
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Cache/UrlAliasHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -383,7 +383,7 @@
 block discarded – undo
383 383
      * @param \eZ\Publish\SPI\Persistence\Content\UrlAlias $urlAlias
384 384
      * @param array $tags Optional, can be used to specify other tags.
385 385
      *
386
-     * @return array
386
+     * @return string[]
387 387
      */
388 388
     private function getCacheTags(UrlAlias $urlAlias, array $tags = [])
389 389
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Features/Context/RestContext.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,9 +83,7 @@  discard block
 block discarded – undo
83 83
     /**
84 84
      * Initialize class.
85 85
      *
86
-     * @param string $url    Base URL for REST calls
87 86
      * @param string $driver REST Driver to be used
88
-     * @param string $json
89 87
      */
90 88
     public function __construct(
91 89
         UserFacade $userFacade,
@@ -101,6 +99,9 @@  discard block
 block discarded – undo
101 99
         $this->setRestDriver($this->driver);
102 100
     }
103 101
 
102
+    /**
103
+     * @param string $url
104
+     */
104 105
     private function setUrl($url)
105 106
     {
106 107
         $this->url = $url;
@@ -177,6 +178,8 @@  discard block
 block discarded – undo
177 178
 
178 179
     /**
179 180
      * @When I send a :type request to :resource (url)
181
+     * @param string $type
182
+     * @param string $resource
180 183
      */
181 184
     public function createAndSendRequest($type, $resource)
182 185
     {
Please login to merge, or discard this patch.
Bundle/EzPublishRestBundle/Features/Context/SubContext/Authentication.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -64,6 +64,7 @@
 block discarded – undo
64 64
 
65 65
     /**
66 66
      * @When I create a (new) session with login :login and password :password
67
+     * @param string $login
67 68
      */
68 69
     public function createSession($login, $password)
69 70
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/SearchEngineIndexingTest.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -814,7 +814,6 @@  discard block
 block discarded – undo
814 814
      *
815 815
      * @param string $text Content Item field value text (to be indexed)
816 816
      * @param string $searchForText text based on which Content Item should be found
817
-     * @param array $ignoreForSetupFactories list of SetupFactories to be ignored
818 817
      * @dataProvider getSpecialFullTextCases
819 818
      */
820 819
     public function testIndexingSpecialFullTextCases($text, $searchForText)
@@ -1184,8 +1183,8 @@  discard block
 block discarded – undo
1184 1183
      * $parentLocationIdList.
1185 1184
      *
1186 1185
      * @param string $contentName
1187
-     * @param $contentDescription
1188
-     * @param array $parentLocationIdList
1186
+     * @param string $contentDescription
1187
+     * @param integer[] $parentLocationIdList
1189 1188
      *
1190 1189
      * @return \eZ\Publish\API\Repository\Values\Content\Content
1191 1190
      */
Please login to merge, or discard this patch.