@@ -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 | { |
@@ -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 | { |
@@ -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 | { |
@@ -281,7 +281,7 @@ |
||
281 | 281 | * Commits a transaction, returning the database connection to autocommit mode until the next call to |
282 | 282 | * ProductProcessor::beginTransaction() starts a new transaction. |
283 | 283 | * |
284 | - * @return boolean Returns TRUE on success or FALSE on failure |
|
284 | + * @return boolean|null Returns TRUE on success or FALSE on failure |
|
285 | 285 | * @link http://php.net/manual/en/pdo.commit.php |
286 | 286 | */ |
287 | 287 | public function commit() |
@@ -74,7 +74,7 @@ |
||
74 | 74 | /** |
75 | 75 | * The factory method that creates a new emitter instance. |
76 | 76 | * |
77 | - * @return void |
|
77 | + * @return EmitterInterface |
|
78 | 78 | */ |
79 | 79 | public function createEmitter() |
80 | 80 | { |
@@ -18,10 +18,6 @@ |
||
18 | 18 | * @link http://www.techdivision.com |
19 | 19 | */ |
20 | 20 | |
21 | -use Lurker\Event\FilesystemEvent; |
|
22 | - |
|
23 | -use Symfony\Component\Finder\Finder; |
|
24 | - |
|
25 | 21 | /** |
26 | 22 | * Defines the available build tasks. |
27 | 23 | * |
@@ -42,7 +42,7 @@ |
||
42 | 42 | * |
43 | 43 | * @param \TechDivision\Import\Observers\AttributeCodeAndValueAwareObserverInterface|null $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 = null) |
48 | 48 | { |
@@ -160,7 +160,7 @@ |
||
160 | 160 | * @param integer $entityTypeId The entity type ID of the attribute option values to return |
161 | 161 | * @param integer $storeId The store ID of the attribute option values to return |
162 | 162 | * |
163 | - * @return array The EAV attribute option values |
|
163 | + * @return \Generator The EAV attribute option values |
|
164 | 164 | */ |
165 | 165 | public function findAllByEntityTypeIdAndStoreId($entityTypeId, $storeId) |
166 | 166 | { |