@@ -100,6 +100,7 @@ |
||
100 | 100 | |
101 | 101 | /** |
102 | 102 | * Applies dependencies of complex $parameter in $scope. |
103 | + * @param string $parameter |
|
103 | 104 | */ |
104 | 105 | private function addComplexParametersDependencies($parameter, $scope, ContainerBuilder $container) |
105 | 106 | { |
@@ -77,6 +77,7 @@ |
||
77 | 77 | * Tests if $uri is an IO file uri root. |
78 | 78 | * |
79 | 79 | * @param string $uri |
80 | + * @param string $urlPrefix |
|
80 | 81 | * |
81 | 82 | * @return bool |
82 | 83 | */ |
@@ -1052,7 +1052,7 @@ |
||
1052 | 1052 | * |
1053 | 1053 | * @param \eZ\Publish\API\Repository\Values\User\RoleCreateStruct $roleCreateStruct |
1054 | 1054 | * |
1055 | - * @return \eZ\Publish\Core\FieldType\ValidationError[][][] |
|
1055 | + * @return \eZ\Publish\Core\FieldType\ValidationError[] |
|
1056 | 1056 | * |
1057 | 1057 | * @throws \eZ\Publish\API\Repository\Exceptions\InvalidArgumentException |
1058 | 1058 | */ |
@@ -127,18 +127,18 @@ |
||
127 | 127 | * Link word with specific content object (legacy db table: ezsearch_object_word_link). |
128 | 128 | * |
129 | 129 | * @param $wordId |
130 | - * @param $contentId |
|
131 | - * @param $frequency |
|
132 | - * @param $placement |
|
130 | + * @param integer $contentId |
|
131 | + * @param integer $frequency |
|
132 | + * @param integer $placement |
|
133 | 133 | * @param $nextWordId |
134 | 134 | * @param $prevWordId |
135 | - * @param $contentTypeId |
|
135 | + * @param integer $contentTypeId |
|
136 | 136 | * @param $fieldTypeId |
137 | - * @param $published |
|
138 | - * @param $sectionId |
|
137 | + * @param integer $published |
|
138 | + * @param integer $sectionId |
|
139 | 139 | * @param $identifier |
140 | 140 | * @param $integerValue |
141 | - * @param $languageMask |
|
141 | + * @param integer $languageMask |
|
142 | 142 | */ |
143 | 143 | public function addObjectWordLink($wordId, |
144 | 144 | $contentId, |
@@ -332,7 +332,7 @@ |
||
332 | 332 | } |
333 | 333 | |
334 | 334 | /** |
335 | - * @param mixed $locationId |
|
335 | + * @param integer $locationId |
|
336 | 336 | * @param bool $count |
337 | 337 | * |
338 | 338 | * @return \Doctrine\DBAL\Driver\Statement |
@@ -23,7 +23,7 @@ |
||
23 | 23 | final class ContentViewTwigVariablesSubscriberTest extends TestCase |
24 | 24 | { |
25 | 25 | /** |
26 | - * @return \eZ\Publish\Core\MVC\Symfony\View\ContentView|\PHPUnit\Framework\MockObject\MockObject |
|
26 | + * @return View |
|
27 | 27 | */ |
28 | 28 | private function getContentViewMock(): ContentView |
29 | 29 | { |
@@ -18,7 +18,6 @@ |
||
18 | 18 | use eZ\Publish\Core\Repository\Mapper\ContentDomainMapper; |
19 | 19 | use eZ\Publish\Core\Repository\Values\Content\Content; |
20 | 20 | use eZ\Publish\Core\Repository\Values\Content\VersionInfo; |
21 | -use eZ\Publish\SPI\Persistence\Content\ContentInfo; |
|
22 | 21 | use eZ\Publish\SPI\Persistence\Content\ContentInfo as SPIContentInfo; |
23 | 22 | use eZ\Publish\SPI\Persistence\Content\Location; |
24 | 23 | use eZ\Publish\API\Repository\Values\Content\Location as APILocation; |
@@ -118,7 +118,7 @@ |
||
118 | 118 | * Removes the old file referenced by $fieldId in $versionNo, if not |
119 | 119 | * referenced else where. |
120 | 120 | * |
121 | - * @param mixed $fieldId |
|
121 | + * @param integer $fieldId |
|
122 | 122 | * @param string $versionNo |
123 | 123 | * @param array $context |
124 | 124 | */ |
@@ -27,16 +27,19 @@ discard block |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * Begin a transaction. |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function beginTransaction(); |
32 | 33 | |
33 | 34 | /** |
34 | 35 | * Commit a transaction. |
36 | + * @return void |
|
35 | 37 | */ |
36 | 38 | public function commit(); |
37 | 39 | |
38 | 40 | /** |
39 | 41 | * Rollback a transaction. |
42 | + * @return void |
|
40 | 43 | */ |
41 | 44 | public function rollBack(); |
42 | 45 | |
@@ -60,6 +63,7 @@ discard block |
||
60 | 63 | * Execute a query against the database. |
61 | 64 | * |
62 | 65 | * @param string $query |
66 | + * @return void |
|
63 | 67 | */ |
64 | 68 | public function exec($query); |
65 | 69 | |
@@ -68,7 +72,8 @@ discard block |
||
68 | 72 | * |
69 | 73 | * Statements are ducktyped, but need to work like PDOStatement. |
70 | 74 | * |
71 | - * @return object |
|
75 | + * @param string $query |
|
76 | + * @return \Doctrine\DBAL\Driver\Statement |
|
72 | 77 | */ |
73 | 78 | public function prepare($query); |
74 | 79 | |
@@ -138,8 +143,9 @@ discard block |
||
138 | 143 | * |
139 | 144 | * This is an optimization and works around the ezcDB implementation. |
140 | 145 | * |
141 | - * @param string $identifier |
|
142 | 146 | * |
147 | + * @param string $name |
|
148 | + * @param string $alias |
|
143 | 149 | * @return string |
144 | 150 | */ |
145 | 151 | public function alias($name, $alias); |
@@ -168,7 +174,7 @@ discard block |
||
168 | 174 | * @param string $table |
169 | 175 | * @param string $column |
170 | 176 | * |
171 | - * @return mixed |
|
177 | + * @return string |
|
172 | 178 | */ |
173 | 179 | public function getAutoIncrementValue($table, $column); |
174 | 180 | |
@@ -185,7 +191,7 @@ discard block |
||
185 | 191 | /** |
186 | 192 | * Returns underlying connection (e.g. Doctrine connection object). |
187 | 193 | * |
188 | - * @return mixed |
|
194 | + * @return \Doctrine\DBAL\Connection |
|
189 | 195 | */ |
190 | 196 | public function getConnection(); |
191 | 197 | } |