Completed
Push — master ( 477d2b...3ad691 )
by Tim
02:42 queued 01:09
created
src/Observers/UrlRewriteUpdateObserver.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
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
                 }
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Observers/UrlRewriteObserver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -231,7 +231,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Services/CategoryBunchProcessor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -860,7 +860,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.