@@ -90,6 +90,9 @@ |
||
90 | 90 | ); |
91 | 91 | } |
92 | 92 | |
93 | + /** |
|
94 | + * @param string $fileName |
|
95 | + */ |
|
93 | 96 | protected function getClassNameFromFile($fileName) |
94 | 97 | { |
95 | 98 | $parts = explode('_', pathinfo($fileName, PATHINFO_FILENAME), 2); |
@@ -179,7 +179,7 @@ |
||
179 | 179 | * @throws \InvalidArgumentException When trying to set |
180 | 180 | * |
181 | 181 | * @param \eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType |
182 | - * @return boolean |
|
182 | + * @return false|null |
|
183 | 183 | */ |
184 | 184 | protected function setReferences($contentType) |
185 | 185 | { |
@@ -94,7 +94,6 @@ |
||
94 | 94 | } |
95 | 95 | |
96 | 96 | /** |
97 | - * @param Migration $migration |
|
98 | 97 | */ |
99 | 98 | public function addMigration(MigrationDefinition $migrationDefinition) |
100 | 99 | { |
@@ -98,7 +98,7 @@ |
||
98 | 98 | /** |
99 | 99 | * Creates and stores a new migration (leaving it in TODO status) |
100 | 100 | * @param MigrationDefinition $migrationDefinition |
101 | - * @return mixed |
|
101 | + * @return Migration |
|
102 | 102 | * @throws \Exception If the migration exists already (we rely on the PK for that) |
103 | 103 | */ |
104 | 104 | public function addMigration(MigrationDefinition $migrationDefinition) |