@@ -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 | { |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | /** |
| 68 | 68 | * Return's the observer's subject instance. |
| 69 | 69 | * |
| 70 | - * @return object The observer's subject instance |
|
| 70 | + * @return SubjectInterface The observer's subject instance |
|
| 71 | 71 | */ |
| 72 | 72 | public function getSubject() |
| 73 | 73 | { |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | * |
| 83 | 83 | * @param string $filename Path to the file |
| 84 | 84 | * |
| 85 | - * @return TRUE if the filename exists and is a directory, else FALSE |
|
| 85 | + * @return boolean if the filename exists and is a directory, else FALSE |
|
| 86 | 86 | */ |
| 87 | 87 | public function isDir($filename) |
| 88 | 88 | { |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | * @param string $filename The name of the file to write the data to |
| 121 | 121 | * @param string $data The data to write to the file |
| 122 | 122 | * |
| 123 | - * @return number The number of bytes written to the file |
|
| 123 | + * @return boolean The number of bytes written to the file |
|
| 124 | 124 | */ |
| 125 | 125 | public function write($filename, $data) |
| 126 | 126 | { |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | * |
| 65 | 65 | * @param string $filename Path to the file |
| 66 | 66 | * |
| 67 | - * @return TRUE if the filename exists and is a directory, else FALSE |
|
| 67 | + * @return boolean if the filename exists and is a directory, else FALSE |
|
| 68 | 68 | * @link http://php.net/is_dir |
| 69 | 69 | */ |
| 70 | 70 | public function isDir($filename) |
@@ -827,7 +827,7 @@ discard block |
||
| 827 | 827 | /** |
| 828 | 828 | * Return's the default store view code. |
| 829 | 829 | * |
| 830 | - * @return array The default store view code |
|
| 830 | + * @return string|null The default store view code |
|
| 831 | 831 | */ |
| 832 | 832 | public function getDefaultStoreViewCode() |
| 833 | 833 | { |
@@ -1079,7 +1079,7 @@ discard block |
||
| 1079 | 1079 | /** |
| 1080 | 1080 | * Return's the original data if available, or an empty array. |
| 1081 | 1081 | * |
| 1082 | - * @return array The original data |
|
| 1082 | + * @return string The original data |
|
| 1083 | 1083 | */ |
| 1084 | 1084 | public function getOriginalData() |
| 1085 | 1085 | { |
@@ -1170,7 +1170,7 @@ discard block |
||
| 1170 | 1170 | * |
| 1171 | 1171 | * @param string $message The message to strip the exception suffix from |
| 1172 | 1172 | * |
| 1173 | - * @return mixed The message without the exception suffix |
|
| 1173 | + * @return string The message without the exception suffix |
|
| 1174 | 1174 | */ |
| 1175 | 1175 | public function stripExceptionSuffix($message) |
| 1176 | 1176 | { |
@@ -270,7 +270,7 @@ discard block |
||
| 270 | 270 | * Commits a transaction, returning the database connection to autocommit mode until the next call to |
| 271 | 271 | * ProductProcessor::beginTransaction() starts a new transaction. |
| 272 | 272 | * |
| 273 | - * @return boolean Returns TRUE on success or FALSE on failure |
|
| 273 | + * @return boolean|null Returns TRUE on success or FALSE on failure |
|
| 274 | 274 | * @link http://php.net/manual/en/pdo.commit.php |
| 275 | 275 | */ |
| 276 | 276 | public function commit() |
@@ -553,7 +553,7 @@ discard block |
||
| 553 | 553 | /** |
| 554 | 554 | * Return's the repository to access link attributes. |
| 555 | 555 | * |
| 556 | - * @return \TechDivision\Import\Repositories\LinkTypeRepository The repository instance |
|
| 556 | + * @return LinkAttributeRepository The repository instance |
|
| 557 | 557 | */ |
| 558 | 558 | public function getLinkAttributeRepository() |
| 559 | 559 | { |
@@ -868,7 +868,7 @@ discard block |
||
| 868 | 868 | * |
| 869 | 869 | * @param array $store The store to persist |
| 870 | 870 | * |
| 871 | - * @return void |
|
| 871 | + * @return string |
|
| 872 | 872 | */ |
| 873 | 873 | public function persistStore(array $store) |
| 874 | 874 | { |
@@ -880,7 +880,7 @@ discard block |
||
| 880 | 880 | * |
| 881 | 881 | * @param array $storeGroup The store group to persist |
| 882 | 882 | * |
| 883 | - * @return void |
|
| 883 | + * @return string |
|
| 884 | 884 | */ |
| 885 | 885 | public function persistStoreGroup(array $storeGroup) |
| 886 | 886 | { |
@@ -892,7 +892,7 @@ discard block |
||
| 892 | 892 | * |
| 893 | 893 | * @param array $storeWebsite The store website to persist |
| 894 | 894 | * |
| 895 | - * @return void |
|
| 895 | + * @return string |
|
| 896 | 896 | */ |
| 897 | 897 | public function persistStoreWebsite(array $storeWebsite) |
| 898 | 898 | { |
@@ -106,7 +106,7 @@ |
||
| 106 | 106 | * @param mixed|null $default The default value, that has to be returned, if the row's value is empty |
| 107 | 107 | * @param callable|null $callback The callback that has to be invoked on the value, e. g. to format it |
| 108 | 108 | * |
| 109 | - * @return mixed|null The, almost formatted, value |
|
| 109 | + * @return string The, almost formatted, value |
|
| 110 | 110 | */ |
| 111 | 111 | public function getValue($name, $default = null, callable $callback = null) |
| 112 | 112 | { |
@@ -204,7 +204,7 @@ |
||
| 204 | 204 | * |
| 205 | 205 | * @param string $filename The name of the file to be deleted |
| 206 | 206 | * |
| 207 | - * @return boolean TRUE on success, else FALSE |
|
| 207 | + * @return boolean|null TRUE on success, else FALSE |
|
| 208 | 208 | */ |
| 209 | 209 | public function deleteFile($filename) |
| 210 | 210 | { |