diff --git a/Admin/Activate.php b/Admin/Activate.php index 93e00fd..ee88100 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\Comments\Admin; use phpOMS\DataStorage\Database\DatabasePool; diff --git a/Admin/Deactivate.php b/Admin/Deactivate.php index 3b8c323..ae1acd1 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\Comments\Admin; use phpOMS\DataStorage\Database\DatabasePool; diff --git a/Admin/Installer.php b/Admin/Installer.php index f3e386c..c7f31ae 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\Comments\Admin; use phpOMS\DataStorage\Database\DatabaseType; diff --git a/Admin/Uninstall.php b/Admin/Uninstall.php index 597ea20..c5da7d7 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\Comments\Admin; use phpOMS\DataStorage\Database\DatabasePool; diff --git a/Admin/Update.php b/Admin/Update.php index 1b1b3ac..d380094 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\Comments\Admin; use phpOMS\DataStorage\Database\DatabasePool; diff --git a/Controller.php b/Controller.php index d00ddeb..106eef7 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\Comments; use Modules\Navigation\Models\Navigation; diff --git a/Models/Comment.php b/Models/Comment.php index 5876503..69a7d4f 100644 --- a/Models/Comment.php +++ b/Models/Comment.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Comments\Models; /** diff --git a/Models/CommentList.php b/Models/CommentList.php index 56eacf5..485eb9e 100644 --- a/Models/CommentList.php +++ b/Models/CommentList.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Comments\Models; /** diff --git a/Models/CommentListMapper.php b/Models/CommentListMapper.php index 668d720..ecf92a0 100644 --- a/Models/CommentListMapper.php +++ b/Models/CommentListMapper.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Comments\Models; use Modules\Comments\Models\CommentMapper; @@ -88,7 +88,7 @@ class CommentListMapper 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/Models/CommentMapper.php b/Models/CommentMapper.php index 0fe1f59..3422990 100644 --- a/Models/CommentMapper.php +++ b/Models/CommentMapper.php @@ -11,7 +11,7 @@ * @version 1.0.0 * @link http://orange-management.com */ -declare(strict_types=1); +declare(strict_types = 1); namespace Modules\Comments\Models; use phpOMS\DataStorage\Database\DataMapperAbstract; @@ -86,7 +86,7 @@ class CommentMapper 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/comment-list.tpl.php b/Theme/Backend/comment-list.tpl.php index 0c1c2f6..99477f6 100644 --- a/Theme/Backend/comment-list.tpl.php +++ b/Theme/Backend/comment-list.tpl.php @@ -33,9 +33,9 @@ echo $this->getData('nav')->render(); ?> render(); ?> - $value) : $count++; ?> + $value) : $count++; ?> - + getHtml('Empty', 0, 0); ?>