more checkstyle fixes

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-12-24 12:02:26 +01:00
parent c3d44b4558
commit 585d42f1b8
25 changed files with 263 additions and 261 deletions

View File

@@ -175,7 +175,7 @@ abstract class BulkAction
*
* @return array
*/
protected function _parseImportFile($separator = ";")
protected function parseImportFile($separator = ";")
{
if (empty($this->impFile)) {
throw new \Exception("No file was given for import");
@@ -223,7 +223,7 @@ abstract class BulkAction
*/
protected function preImport()
{
$this->_readCustomerData();
$this->readCustomerData();
if ($this->custId <= 0) {
throw new \Exception("Invalid customer selected");
@@ -239,7 +239,7 @@ abstract class BulkAction
*
* @return bool
*/
protected function _readCustomerData()
protected function readCustomerData()
{
$cust_stmt = \Froxlor\Database\Database::prepare("SELECT * FROM `" . TABLE_PANEL_CUSTOMERS . "` WHERE `customerid` = :cid");
$this->custData = \Froxlor\Database\Database::pexecute_first($cust_stmt, array(