Completed
Push — master ( dc4a22...2425ba )
by Tim
14s
created
src/Observers/UrlRewriteUpdateObserver.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -97,8 +97,8 @@  discard block
 block discarded – undo
97 97
 
98 98
                         // finally log a warning that the old category is not available ony more
99 99
                         $this->getSubject()
100
-                             ->getSystemLogger()
101
-                             ->warning(sprintf('Category with ID %d is not longer available', $metadata[UrlRewriteObserver::CATEGORY_ID]));
100
+                                ->getSystemLogger()
101
+                                ->warning(sprintf('Category with ID %d is not longer available', $metadata[UrlRewriteObserver::CATEGORY_ID]));
102 102
                     }
103 103
                 }
104 104
 
@@ -121,14 +121,14 @@  discard block
 block discarded – undo
121 121
 
122 122
                     // log a message, that old URL rewrites have been cleaned-up
123 123
                     $this->getSubject()
124
-                         ->getSystemLogger()
125
-                         ->notice(
126
-                             sprintf(
127
-                                 'Cleaned-up %d URL rewrite "%s" for product with SKU "%s"',
128
-                                 $existingUrlRewrite[MemberNames::REQUEST_PATH],
129
-                                 $this->getValue(ColumnKeys::SKU)
130
-                             )
131
-                         );
124
+                            ->getSystemLogger()
125
+                            ->notice(
126
+                                sprintf(
127
+                                    'Cleaned-up %d URL rewrite "%s" for product with SKU "%s"',
128
+                                    $existingUrlRewrite[MemberNames::REQUEST_PATH],
129
+                                    $this->getValue(ColumnKeys::SKU)
130
+                                )
131
+                            );
132 132
                 }
133 133
             }
134 134
         }
Please login to merge, or discard this patch.
src/Services/ProductUrlRewriteProcessor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
      * Commits a transaction, returning the database connection to autocommit mode until the next call to
152 152
      * ProductProcessor::beginTransaction() starts a new transaction.
153 153
      *
154
-     * @return boolean Returns TRUE on success or FALSE on failure
154
+     * @return boolean|null Returns TRUE on success or FALSE on failure
155 155
      * @link http://php.net/manual/en/pdo.commit.php
156 156
      */
157 157
     public function commit()
Please login to merge, or discard this patch.