| @@ -99,7 +99,7 @@ | ||
| 99 | 99 | |
| 100 | 100 | // skip update of URL rewrite, if nothing to change | 
| 101 | 101 | if ($targetPath === $existingUrlRewrite[MemberNames::TARGET_PATH] && | 
| 102 | -                    301 === (int)$existingUrlRewrite[MemberNames::REDIRECT_TYPE]) { | |
| 102 | +                    301 === (int) $existingUrlRewrite[MemberNames::REDIRECT_TYPE]) { | |
| 103 | 103 | // stop processing the URL rewrite | 
| 104 | 104 | continue; | 
| 105 | 105 | } | 
| @@ -211,7 +211,7 @@ | ||
| 211 | 211 | * @param integer $entityId The entity ID to load the URL rewrites for | 
| 212 | 212 | * @param integer $storeId The store ID to load the URL rewrites for | 
| 213 | 213 | * | 
| 214 | - * @return array The URL rewrites | |
| 214 | + * @return \Generator The URL rewrites | |
| 215 | 215 | */ | 
| 216 | 216 | protected function loadUrlRewritesByEntityTypeAndEntityIdAndStoreId($entityType, $entityId, $storeId) | 
| 217 | 217 |      { | 
| @@ -231,7 +231,7 @@ | ||
| 231 | 231 | * | 
| 232 | 232 | * @param array $row The URL rewrite to persist | 
| 233 | 233 | * | 
| 234 | - * @return string The ID of the persisted entity | |
| 234 | + * @return integer The ID of the persisted entity | |
| 235 | 235 | */ | 
| 236 | 236 | protected function persistUrlRewrite($row) | 
| 237 | 237 |      { | 
| @@ -860,7 +860,7 @@ | ||
| 860 | 860 | * @param string $entityTypeCode The entity type code to return the raw entity for | 
| 861 | 861 | * @param array $data An array with data that will be used to initialize the raw entity with | 
| 862 | 862 | * | 
| 863 | - * @return array The initialized entity | |
| 863 | + * @return \ArrayAccess The initialized entity | |
| 864 | 864 | */ | 
| 865 | 865 | public function loadRawEntity($entityTypeCode, array $data = array()) | 
| 866 | 866 |      { |