From 5b1ab5d5b0668a48a561026b6f57a66be3d78efa Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 27 Oct 2017 17:56:33 +0200 Subject: [PATCH] Fix if for foreach while spacing --- Admin/Activate.php | 2 +- Admin/Deactivate.php | 2 +- Admin/Install/Navigation.php | 2 +- Admin/Installer.php | 2 +- Admin/Uninstall.php | 2 +- Admin/Update.php | 2 +- Controller.php | 2 +- Models/Audit.php | 2 +- Models/AuditMapper.php | 4 ++-- Theme/Backend/account-list.tpl.php | 4 ++-- Theme/Backend/audit-list.tpl.php | 4 ++-- Theme/Backend/module-list.tpl.php | 4 ++-- 12 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Admin/Activate.php b/Admin/Activate.php index e5bf0ac..b21e09f 100644 --- a/Admin/Activate.php +++ b/Admin/Activate.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Auditor\Admin; use phpOMS\DataStorage\Database\DatabasePool; diff --git a/Admin/Deactivate.php b/Admin/Deactivate.php index fc1597c..6c2a95a 100644 --- a/Admin/Deactivate.php +++ b/Admin/Deactivate.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Auditor\Admin; use phpOMS\DataStorage\Database\DatabasePool; diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index 91f4e49..6b04d53 100644 --- a/Admin/Install/Navigation.php +++ b/Admin/Install/Navigation.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Auditor\Admin\Install; use phpOMS\DataStorage\Database\DatabasePool; diff --git a/Admin/Installer.php b/Admin/Installer.php index 2121a48..658b78f 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Auditor\Admin; use phpOMS\DataStorage\Database\DatabaseType; diff --git a/Admin/Uninstall.php b/Admin/Uninstall.php index e9eb1bb..00e604f 100644 --- a/Admin/Uninstall.php +++ b/Admin/Uninstall.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Auditor\Admin; use phpOMS\DataStorage\Database\DatabasePool; diff --git a/Admin/Update.php b/Admin/Update.php index 12c8d53..5743634 100644 --- a/Admin/Update.php +++ b/Admin/Update.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Auditor\Admin; use phpOMS\DataStorage\Database\DatabasePool; diff --git a/Controller.php b/Controller.php index ac82e22..d89e9e5 100644 --- a/Controller.php +++ b/Controller.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Auditor; use phpOMS\Asset\AssetType; diff --git a/Models/Audit.php b/Models/Audit.php index d84ab63..822acbe 100644 --- a/Models/Audit.php +++ b/Models/Audit.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Auditor\Models; class Audit diff --git a/Models/AuditMapper.php b/Models/AuditMapper.php index ef3fbe5..6c71e53 100644 --- a/Models/AuditMapper.php +++ b/Models/AuditMapper.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Auditor\Models; use Modules\Admin\Models\AccountMapper; @@ -89,7 +89,7 @@ class AuditMapper extends DataMapperAbstract try { $objId = parent::create($obj, $relations); - if($objId === null || !is_scalar($objId)) { + if ($objId === null || !is_scalar($objId)) { return $objId; } } catch (\Exception $e) { diff --git a/Theme/Backend/account-list.tpl.php b/Theme/Backend/account-list.tpl.php index 4e92f79..bcc0e7f 100644 --- a/Theme/Backend/account-list.tpl.php +++ b/Theme/Backend/account-list.tpl.php @@ -31,12 +31,12 @@ echo $this->getData('nav')->render(); ?> - $audit) : $count++; + $audit) : $count++; $url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/admin/audit/single?{?}&id=' . $audit->getId()); ?> - + getHtml('Empty', 0, 0); ?> diff --git a/Theme/Backend/audit-list.tpl.php b/Theme/Backend/audit-list.tpl.php index d5ae73b..caa9979 100644 --- a/Theme/Backend/audit-list.tpl.php +++ b/Theme/Backend/audit-list.tpl.php @@ -37,12 +37,12 @@ echo $this->getData('nav')->render(); ?> - $audit) : $count++; + $audit) : $count++; $url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/admin/audit/single?{?}&id=' . $audit->getId()); ?> - + getHtml('Empty', 0, 0); ?> diff --git a/Theme/Backend/module-list.tpl.php b/Theme/Backend/module-list.tpl.php index 4e92f79..bcc0e7f 100644 --- a/Theme/Backend/module-list.tpl.php +++ b/Theme/Backend/module-list.tpl.php @@ -31,12 +31,12 @@ echo $this->getData('nav')->render(); ?> - $audit) : $count++; + $audit) : $count++; $url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/admin/audit/single?{?}&id=' . $audit->getId()); ?> - + getHtml('Empty', 0, 0); ?>