summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weimann <mail@michael-weimann.eu>2019-11-12 22:04:39 +0100
committerMichael Weimann <mail@michael-weimann.eu>2019-11-12 22:04:39 +0100
commit17192a2c412a6f5c4d8c10d8d25ef1a680bbce01 (patch)
treed10e901dc6b4d4a566133d78194e31d72a9ec7c5
parent35a7d853ff99667305d72fddb035f05ba53bc495 (diff)
Adapt code style to PSR-12
-rw-r--r--db/migrations/2019_11_12_000000_create_news_comments_table.php1
-rw-r--r--src/Models/News.php1
-rw-r--r--src/Models/NewsComment.php1
-rw-r--r--tests/Unit/Models/NewsCommentsTest.php1
4 files changed, 4 insertions, 0 deletions
diff --git a/db/migrations/2019_11_12_000000_create_news_comments_table.php b/db/migrations/2019_11_12_000000_create_news_comments_table.php
index cb7065b8..00cf99b2 100644
--- a/db/migrations/2019_11_12_000000_create_news_comments_table.php
+++ b/db/migrations/2019_11_12_000000_create_news_comments_table.php
@@ -1,4 +1,5 @@
<?php
+
declare(strict_types=1);
namespace Engelsystem\Migrations;
diff --git a/src/Models/News.php b/src/Models/News.php
index 6f0e96fa..febaae3a 100644
--- a/src/Models/News.php
+++ b/src/Models/News.php
@@ -1,4 +1,5 @@
<?php
+
declare(strict_types=1);
namespace Engelsystem\Models;
diff --git a/src/Models/NewsComment.php b/src/Models/NewsComment.php
index aed1926a..c2697350 100644
--- a/src/Models/NewsComment.php
+++ b/src/Models/NewsComment.php
@@ -1,4 +1,5 @@
<?php
+
declare(strict_types=1);
namespace Engelsystem\Models;
diff --git a/tests/Unit/Models/NewsCommentsTest.php b/tests/Unit/Models/NewsCommentsTest.php
index db00a0ce..dfded712 100644
--- a/tests/Unit/Models/NewsCommentsTest.php
+++ b/tests/Unit/Models/NewsCommentsTest.php
@@ -1,4 +1,5 @@
<?php
+
declare(strict_types=1);
namespace Engelsystem\Test\Unit\Models;