@@ -375,7 +375,7 @@ discard block |
||
| 375 | 375 | * @param mixed|null $default The default value, that has to be returned, if the row's value is empty |
| 376 | 376 | * @param callable|null $callback The callback that has to be invoked on the value, e. g. to format it |
| 377 | 377 | * |
| 378 | - * @return mixed|null The, almost formatted, value |
|
| 378 | + * @return string The, almost formatted, value |
|
| 379 | 379 | */ |
| 380 | 380 | public function getValue($name, $default = null, callable $callback = null) |
| 381 | 381 | { |
@@ -1194,7 +1194,7 @@ discard block |
||
| 1194 | 1194 | /** |
| 1195 | 1195 | * Return's the original data if available, or an empty array. |
| 1196 | 1196 | * |
| 1197 | - * @return array The original data |
|
| 1197 | + * @return string The original data |
|
| 1198 | 1198 | */ |
| 1199 | 1199 | public function getOriginalData() |
| 1200 | 1200 | { |
@@ -1285,7 +1285,7 @@ discard block |
||
| 1285 | 1285 | * |
| 1286 | 1286 | * @param string $message The message to strip the exception suffix from |
| 1287 | 1287 | * |
| 1288 | - * @return mixed The message without the exception suffix |
|
| 1288 | + * @return string The message without the exception suffix |
|
| 1289 | 1289 | */ |
| 1290 | 1290 | public function stripExceptionSuffix($message) |
| 1291 | 1291 | { |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | * |
| 43 | 43 | * @param \TechDivision\Import\Observers\ObserverInterface $observer The observer |
| 44 | 44 | * |
| 45 | - * @return mixed The modified value |
|
| 45 | + * @return null|string The modified value |
|
| 46 | 46 | */ |
| 47 | 47 | public function handle(AttributeCodeAndValueAwareObserverInterface $observer) |
| 48 | 48 | { |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | /** |
| 55 | 55 | * Set's the obeserver's subject instance to initialize the observer with. |
| 56 | 56 | * |
| 57 | - * @param object $subject The observer's subject |
|
| 57 | + * @param SubjectInterface $subject The observer's subject |
|
| 58 | 58 | * |
| 59 | 59 | * @return void |
| 60 | 60 | */ |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | /** |
| 67 | 67 | * Return's the observer's subject instance. |
| 68 | 68 | * |
| 69 | - * @return object The observer's subject instance |
|
| 69 | + * @return SubjectInterface The observer's subject instance |
|
| 70 | 70 | */ |
| 71 | 71 | public function getSubject() |
| 72 | 72 | { |
@@ -273,7 +273,7 @@ |
||
| 273 | 273 | * |
| 274 | 274 | * @param \TechDivision\Import\Configuration\SubjectConfigurationInterface $subjectConfiguration The subject configuration |
| 275 | 275 | * |
| 276 | - * @return \ TechDivision\Import\Subjects\SubjectInterface The subject instance |
|
| 276 | + * @return SubjectInterface TechDivision\Import\Subjects\SubjectInterface The subject instance |
|
| 277 | 277 | */ |
| 278 | 278 | protected function subjectFactory(SubjectConfigurationInterface $subjectConfiguration) |
| 279 | 279 | { |
@@ -237,7 +237,7 @@ discard block |
||
| 237 | 237 | * Commits a transaction, returning the database connection to autocommit mode until the next call to |
| 238 | 238 | * ProductProcessor::beginTransaction() starts a new transaction. |
| 239 | 239 | * |
| 240 | - * @return boolean Returns TRUE on success or FALSE on failure |
|
| 240 | + * @return boolean|null Returns TRUE on success or FALSE on failure |
|
| 241 | 241 | * @link http://php.net/manual/en/pdo.commit.php |
| 242 | 242 | */ |
| 243 | 243 | public function commit() |
@@ -520,7 +520,7 @@ discard block |
||
| 520 | 520 | /** |
| 521 | 521 | * Return's the repository to access link attributes. |
| 522 | 522 | * |
| 523 | - * @return \TechDivision\Import\Repositories\LinkTypeRepository The repository instance |
|
| 523 | + * @return LinkAttributeRepository The repository instance |
|
| 524 | 524 | */ |
| 525 | 525 | public function getLinkAttributeRepository() |
| 526 | 526 | { |