Skip to content

Commit cd5bd80

Browse files
authored
CS Fix for Merge v19 -> v20
* Fix for #2315 * Fix for #1149
1 parent e9d2d75 commit cd5bd80

File tree

2 files changed

+6
-6
lines changed
  • app/code/core/Mage

2 files changed

+6
-6
lines changed

app/code/core/Mage/Index/Model/Lock.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,14 @@ protected function _setLockFile($lockName, $block = false)
133133
if ($block) {
134134
try {
135135
$result = flock($this->_getLockFile($lockName), LOCK_EX);
136-
} catch(Exception $e) {
136+
} catch (Exception $e) {
137137
Mage::logException($e);
138138
throw $e;
139-
}
139+
}
140140
} else {
141141
try {
142142
$result = flock($this->_getLockFile($lockName), LOCK_EX | LOCK_NB);
143-
} catch(Exception $e) {
143+
} catch (Exception $e) {
144144
Mage::logException($e);
145145
throw $e;
146146
}
@@ -245,7 +245,7 @@ protected function _isLockExistsFile($lockName)
245245
flock($fp, LOCK_UN);
246246
$result = false;
247247
}
248-
} catch(Exception $e) {
248+
} catch (Exception $e) {
249249
Mage::logException($e);
250250
throw $e;
251251
}

app/code/core/Mage/Sales/Model/Api2/Order/Comment/Rest/Admin/V1.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Mage_Sales_Model_Api2_Order_Comment_Rest_Admin_V1 extends Mage_Sales_Model
2929
{
3030
/**
3131
* Add comment to order
32-
*
32+
*
3333
* @param array $data
3434
* @return string
3535
*/
@@ -76,7 +76,7 @@ protected function _create(array $data)
7676

7777
/**
7878
* Retrieve order comment by id
79-
*
79+
*
8080
* @return array
8181
*/
8282
protected function _retrieve()

0 commit comments

Comments
 (0)