Completed
Push — ezp-30616 ( 28a622...28ec1d )
by
unknown
55:47 queued 32:46
created
eZ/Publish/Core/Persistence/Legacy/Content/Mapper.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * Creates a Content from the given $struct and $currentVersionNo.
59 59
      *
60 60
      * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct
61
-     * @param mixed $currentVersionNo
61
+     * @param integer $currentVersionNo
62 62
      *
63 63
      * @return \eZ\Publish\SPI\Persistence\Content\ContentInfo
64 64
      */
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      * Creates a new version for the given $struct and $versionNo.
90 90
      *
91 91
      * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct
92
-     * @param mixed $versionNo
92
+     * @param integer $versionNo
93 93
      *
94 94
      * @return \eZ\Publish\SPI\Persistence\Content\VersionInfo
95 95
      */
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      * Creates a new version for the given $content.
124 124
      *
125 125
      * @param \eZ\Publish\SPI\Persistence\Content $content
126
-     * @param mixed $versionNo
126
+     * @param integer $versionNo
127 127
      * @param mixed $userId
128 128
      *
129 129
      * @return \eZ\Publish\SPI\Persistence\Content\VersionInfo
Please login to merge, or discard this patch.
Core/Persistence/Legacy/Content/Section/Gateway/DoctrineDatabase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      * @param string $name
42 42
      * @param string $identifier
43 43
      *
44
-     * @return int The ID of the new section
44
+     * @return string The ID of the new section
45 45
      */
46 46
     public function insertSection($name, $identifier)
47 47
     {
Please login to merge, or discard this patch.
Core/Persistence/Legacy/Content/UrlWildcard/Gateway/DoctrineDatabase.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      *
48 48
      * @param \eZ\Publish\SPI\Persistence\Content\UrlWildcard $urlWildcard
49 49
      *
50
-     * @return mixed
50
+     * @return string
51 51
      */
52 52
     public function insertUrlWildcard(UrlWildcard $urlWildcard)
53 53
     {
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     /**
92 92
      * Deletes the UrlWildcard with given $id.
93 93
      *
94
-     * @param mixed $id
94
+     * @param integer $id
95 95
      */
96 96
     public function deleteUrlWildcard($id)
97 97
     {
@@ -138,8 +138,8 @@  discard block
 block discarded – undo
138 138
     /**
139 139
      * Loads an array with data about UrlWildcards (paged).
140 140
      *
141
-     * @param mixed $offset
142
-     * @param mixed $limit
141
+     * @param integer $offset
142
+     * @param integer $limit
143 143
      *
144 144
      * @return array
145 145
      */
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Exception/TypeGroupNotFound.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
      * Creates a new exception for $typeId in $status;.
22 22
      *
23 23
      * @param mixed $typeGroupId
24
-     * @param mixed $status
25 24
      */
26 25
     public function __construct($typeGroupId)
27 26
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Tests/Content/LanguageAwareTestCase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     /**
36 36
      * Returns a language handler mock.
37 37
      *
38
-     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Language\Handler
38
+     * @return \eZ\Publish\SPI\Persistence\Content\Language\Handler
39 39
      */
40 40
     protected function getLanguageHandler()
41 41
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Content/Section/Handler.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     /**
61 61
      * Update name and identifier of a section.
62 62
      *
63
-     * @param mixed $id
63
+     * @param integer $id
64 64
      * @param string $name
65 65
      * @param string $identifier
66 66
      *
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     /**
82 82
      * Get section data.
83 83
      *
84
-     * @param mixed $id
84
+     * @param integer $id
85 85
      *
86 86
      * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If section is not found
87 87
      *
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
      * content objects. Make sure that no content objects are associated with
173 173
      * the section any more *before* calling this method.
174 174
      *
175
-     * @param mixed $id
175
+     * @param integer $id
176 176
      */
177 177
     public function delete($id)
178 178
     {
@@ -189,8 +189,8 @@  discard block
 block discarded – undo
189 189
     /**
190 190
      * Assigns section to single content object.
191 191
      *
192
-     * @param mixed $sectionId
193
-     * @param mixed $contentId
192
+     * @param integer $sectionId
193
+     * @param integer $contentId
194 194
      */
195 195
     public function assign($sectionId, $contentId)
196 196
     {
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
     /**
213 213
      * Number of role policies using a Section in limitations.
214 214
      *
215
-     * @param mixed $sectionId
215
+     * @param integer $sectionId
216 216
      *
217 217
      * @return int
218 218
      */
Please login to merge, or discard this patch.
Core/FieldType/Tests/RichText/Normalizer/DocumentTypeDefinitionTest.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -213,6 +213,11 @@
 block discarded – undo
213 213
         $this->assertFalse($normalizer->accept($input));
214 214
     }
215 215
 
216
+    /**
217
+     * @param string $documentElement
218
+     * @param string $namespace
219
+     * @param string $dtdPath
220
+     */
216 221
     protected function getNormalizer($documentElement, $namespace, $dtdPath)
217 222
     {
218 223
         return new DocumentTypeDefinition($documentElement, $namespace, $dtdPath);
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/LocationServiceTest.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -762,7 +762,7 @@  discard block
 block discarded – undo
762 762
     /**
763 763
      * Test for the loadLocationChildren() method.
764 764
      *
765
-     * @return \eZ\Publish\API\Repository\Values\Content\Location[]
765
+     * @return LocationList
766 766
      *
767 767
      * @see \eZ\Publish\API\Repository\LocationService::loadLocationChildren($location, $offset)
768 768
      * @depends eZ\Publish\API\Repository\Tests\LocationServiceTest::testLoadLocationChildren
@@ -826,7 +826,7 @@  discard block
 block discarded – undo
826 826
     /**
827 827
      * Test for the loadLocationChildren() method.
828 828
      *
829
-     * @return \eZ\Publish\API\Repository\Values\Content\Location[]
829
+     * @return LocationList
830 830
      *
831 831
      * @see \eZ\Publish\API\Repository\LocationService::loadLocationChildren($location, $offset, $limit)
832 832
      * @depends eZ\Publish\API\Repository\Tests\LocationServiceTest::testLoadLocationChildren
@@ -855,7 +855,7 @@  discard block
 block discarded – undo
855 855
     /**
856 856
      * Test for the loadLocationChildren() method.
857 857
      *
858
-     * @param \eZ\Publish\API\Repository\Values\Content\Location[] $locations
858
+     * @param LocationList $locations
859 859
      *
860 860
      * @see \eZ\Publish\API\Repository\LocationService::loadLocationChildren($location, $offset, $limit)
861 861
      * @depends eZ\Publish\API\Repository\Tests\LocationServiceTest::testLoadLocationChildrenWithOffsetAndLimit
@@ -2127,7 +2127,7 @@  discard block
 block discarded – undo
2127 2127
      * Assert generated aliases to expected alias return.
2128 2128
      *
2129 2129
      * @param \eZ\Publish\API\Repository\URLAliasService $urlAliasService
2130
-     * @param array $expectedAliases
2130
+     * @param string[] $expectedAliases
2131 2131
      */
2132 2132
     protected function assertGeneratedAliases($urlAliasService, array $expectedAliases)
2133 2133
     {
@@ -2139,7 +2139,7 @@  discard block
 block discarded – undo
2139 2139
 
2140 2140
     /**
2141 2141
      * @param \eZ\Publish\API\Repository\URLAliasService $urlAliasService
2142
-     * @param array $expectedSubItemAliases
2142
+     * @param string[] $expectedSubItemAliases
2143 2143
      */
2144 2144
     private function assertAliasesBeforeCopy($urlAliasService, array $expectedSubItemAliases)
2145 2145
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishCoreBundle/Features/Context/BasicContentContext.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      *
114 114
      * @param string $path The content path
115 115
      * @param array $fields
116
-     * @param mixed $contentType The content type identifier
116
+     * @param string $contentType The content type identifier
117 117
      *
118 118
      * @return mixed location id of the created content
119 119
      */
@@ -147,6 +147,7 @@  discard block
 block discarded – undo
147 147
 
148 148
     /**
149 149
      * Maps the path of the content to it's name for later use.
150
+     * @param string $path
150 151
      */
151 152
     private function mapContentPath($path)
152 153
     {
Please login to merge, or discard this patch.