Skip to content

Commit b0be4be

Browse files
kiatngsreichel
andauthored
Update app/code/core/Mage/Api2/Exception.php
Co-authored-by: Sven Reichel <[email protected]>
1 parent ebd923f commit b0be4be

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

app/code/core/Mage/Api2/Exception.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,9 @@ public function __construct($message, $code, $shouldLog = true)
3939

4040
/**
4141
* Check if exception should be logged
42-
*
43-
* @return bool
4442
*/
45-
public function shouldLog()
43+
public function shouldLog(): bool
4644
{
47-
return $this->_shouldLog;
45+
return $this->shouldLog;
4846
}
4947
}

0 commit comments

Comments
 (0)