Passed
Push — develop ( f7d7c9...8d836b )
by nguereza
12:43
created
src/Schema/BaseColumn.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@  discard block
 block discarded – undo
50 50
  * @class BaseColumn
51 51
  * @package Platine\Database\Schema
52 52
  */
53
-class BaseColumn
54
-{
53
+class BaseColumn {
55 54
     /**
56 55
      * The column properties
57 56
      * @var array<string, mixed>
@@ -63,8 +62,7 @@  discard block
 block discarded – undo
63 62
      * @param string $name The name of the column
64 63
      * @param string|null $type The type of column
65 64
      */
66
-    public function __construct(protected string $name, protected ?string $type = null)
67
-    {
65
+    public function __construct(protected string $name, protected ?string $type = null) {
68 66
     }
69 67
 
70 68
     /**
Please login to merge, or discard this patch.
src/Schema/CreateTable.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@  discard block
 block discarded – undo
50 50
  * @class CreateTable
51 51
  * @package Platine\Database\Schema
52 52
  */
53
-class CreateTable
54
-{
53
+class CreateTable {
55 54
     /**
56 55
      * The list of CreateColumn
57 56
      * @var array<string, CreateColumn>
@@ -98,8 +97,7 @@  discard block
 block discarded – undo
98 97
      * Class constructor
99 98
      * @param string $table The name of the table
100 99
      */
101
-    public function __construct(protected string $table)
102
-    {
100
+    public function __construct(protected string $table) {
103 101
     }
104 102
 
105 103
     /**
Please login to merge, or discard this patch.
src/Schema/CreateColumn.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@
 block discarded – undo
50 50
  * @class CreateColumn
51 51
  * @package Platine\Database\Schema
52 52
  */
53
-class CreateColumn extends BaseColumn
54
-{
53
+class CreateColumn extends BaseColumn {
55 54
     /**
56 55
      * The associated table instance
57 56
      * @var CreateTable
Please login to merge, or discard this patch.
src/Schema/ForeignKey.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@  discard block
 block discarded – undo
50 50
  * @class ForeignKey
51 51
  * @package Platine\Database\Schema
52 52
  */
53
-class ForeignKey
54
-{
53
+class ForeignKey {
55 54
     /**
56 55
      * The referenced table
57 56
      * @var string
@@ -74,8 +73,7 @@  discard block
 block discarded – undo
74 73
      * Class constructor
75 74
      * @param array<int, string> $columns The base table columns
76 75
      */
77
-    public function __construct(protected array $columns)
78
-    {
76
+    public function __construct(protected array $columns) {
79 77
     }
80 78
 
81 79
     /**
Please login to merge, or discard this patch.