@@ -97,8 +97,8 @@ discard block |
||
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 |
||
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 | } |
@@ -151,7 +151,7 @@ |
||
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() |