@@ -80,7 +80,7 @@ |
||
80 | 80 | } |
81 | 81 | |
82 | 82 | /** |
83 | - * @return string[] |
|
83 | + * @return integer[] |
|
84 | 84 | */ |
85 | 85 | public function listExecutors() |
86 | 86 | { |
@@ -77,7 +77,7 @@ |
||
77 | 77 | /** |
78 | 78 | * Sets references to certain language attributes. |
79 | 79 | * |
80 | - * @param \eZ\Publish\API\Repository\Values\Content\Language|LanguageCollection $language |
|
80 | + * @param \eZ\Publish\API\Repository\Values\Content\Language $language |
|
81 | 81 | * @throws \InvalidArgumentException When trying to set a reference to an unsupported attribute |
82 | 82 | * @return boolean |
83 | 83 | */ |
@@ -648,7 +648,7 @@ |
||
648 | 648 | * @param string $contentTypeIdentifier |
649 | 649 | * @param array $context |
650 | 650 | * @throws \InvalidArgumentException |
651 | - * @return mixed |
|
651 | + * @return \Kaliop\eZMigrationBundle\API\Value\MigrationStep |
|
652 | 652 | */ |
653 | 653 | protected function getFieldValue($value, FieldDefinition $fieldDefinition, $contentTypeIdentifier, array $context = array()) |
654 | 654 | { |
@@ -244,7 +244,7 @@ |
||
244 | 244 | * The Location Manager currently supports setting references to location id. |
245 | 245 | * |
246 | 246 | * @throws \InvalidArgumentException When trying to set a reference to an unsupported attribute. |
247 | - * @param \eZ\Publish\API\Repository\Values\Content\Location|LocationCollection $location |
|
247 | + * @param LocationCollection|null $location |
|
248 | 248 | * @return boolean |
249 | 249 | */ |
250 | 250 | protected function setReferences($location, $step) |
@@ -112,7 +112,7 @@ |
||
112 | 112 | |
113 | 113 | /** |
114 | 114 | * @todo cache this for faster access |
115 | - * @return array |
|
115 | + * @return integer[] |
|
116 | 116 | */ |
117 | 117 | protected function getGeneratingExecutors() |
118 | 118 | { |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | /** |
51 | 51 | * @param array $dsl |
52 | 52 | * @param array $context |
53 | - * @return true |
|
53 | + * @return boolean |
|
54 | 54 | * @throws \Exception |
55 | 55 | */ |
56 | 56 | protected function cancel($dsl, $context) |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | /** |
71 | 71 | * @param array $dsl |
72 | 72 | * @param array $context |
73 | - * @return true |
|
73 | + * @return boolean |
|
74 | 74 | * @throws \Exception |
75 | 75 | */ |
76 | 76 | protected function suspend($dsl, $context) |
@@ -48,7 +48,7 @@ |
||
48 | 48 | /** |
49 | 49 | * @param array $dsl |
50 | 50 | * @param array $context |
51 | - * @return true |
|
51 | + * @return boolean |
|
52 | 52 | * @throws \Exception |
53 | 53 | */ |
54 | 54 | protected function send($dsl, $context) |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | /** |
97 | 97 | * @param array $dsl |
98 | 98 | * @param array $context |
99 | - * @return true |
|
99 | + * @return boolean |
|
100 | 100 | * @throws \Exception |
101 | 101 | */ |
102 | 102 | protected function copy($dsl, $context) |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | /** |
129 | 129 | * @param array $dsl |
130 | 130 | * @param array $context |
131 | - * @return true |
|
131 | + * @return boolean |
|
132 | 132 | * @throws \Exception |
133 | 133 | */ |
134 | 134 | protected function move($dsl, $context) |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | /** |
161 | 161 | * @param array $dsl |
162 | 162 | * @param array $context |
163 | - * @return true |
|
163 | + * @return boolean |
|
164 | 164 | * @throws \Exception |
165 | 165 | */ |
166 | 166 | protected function delete($dsl, $context) |
@@ -236,6 +236,7 @@ discard block |
||
236 | 236 | * Replaces any references inside a string |
237 | 237 | * |
238 | 238 | * @param string |
239 | + * @param string $text |
|
239 | 240 | * @return string |
240 | 241 | */ |
241 | 242 | protected function resolveReferencesInText($text) |
@@ -447,6 +447,9 @@ |
||
447 | 447 | ); |
448 | 448 | } |
449 | 449 | |
450 | + /** |
|
451 | + * @param APIMigration $migration |
|
452 | + */ |
|
450 | 453 | protected function getEntityName($migration) |
451 | 454 | { |
452 | 455 | return end(explode('\\', get_class($migration))); |