Completed
Push — master ( 5e35a6...6fb5fb )
by David
12s
created
src/FluidSchema.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      * @param Schema $schema
27 27
      * @param null|NamingStrategyInterface $namingStrategy
28 28
      */
29
-    public function __construct(Schema $schema, ?NamingStrategyInterface $namingStrategy = null)
29
+    public function __construct(Schema $schema, ? NamingStrategyInterface $namingStrategy = null)
30 30
     {
31 31
         $this->schema = $schema;
32 32
         $this->namingStrategy = $namingStrategy ?: new DefaultNamingStrategy();
Please login to merge, or discard this patch.
src/FluidTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         return $this;
59 59
     }
60 60
 
61
-    public function primaryKey(array $columnNames, ?string $indexName = null): FluidTable
61
+    public function primaryKey(array $columnNames, ? string $indexName = null) : FluidTable
62 62
     {
63 63
         $newIndexName = $indexName ?: false;
64 64
 
Please login to merge, or discard this patch.
src/FluidColumnOptions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
         return $this;
83 83
     }
84 84
 
85
-    public function primaryKey(?string $indexName = null): FluidColumnOptions
85
+    public function primaryKey(? string $indexName = null) : FluidColumnOptions
86 86
     {
87 87
         $newIndexName = $indexName ?: false;
88 88
 
Please login to merge, or discard this patch.
src/FluidColumn.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         return $this->getOptions();
76 76
     }
77 77
 
78
-    public function string(?int $length = null, bool $fixed = false): FluidColumnOptions
78
+    public function string(? int $length = null, bool $fixed = false) : FluidColumnOptions
79 79
     {
80 80
         $this->column->setType(Type::getType(Type::STRING));
81 81
         $this->column->setLength($length);
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     /**
99 99
      * From Doctrine DBAL 2.4+.
100 100
      */
101
-    public function binary(?int $length = null, bool $fixed = false): FluidColumnOptions
101
+    public function binary(? int $length = null, bool $fixed = false) : FluidColumnOptions
102 102
     {
103 103
         $this->column->setType(Type::getType(Type::BINARY));
104 104
         $this->column->setLength($length);
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
         return $this->getOptions();
207 207
     }
208 208
 
209
-    public function references(string $tableName, ?string $constraintName = null, string $onUpdate = 'RESTRICT', string $onDelete = 'RESTRICT'): FluidColumnOptions
209
+    public function references(string $tableName, ? string $constraintName = null, string $onUpdate = 'RESTRICT', string $onDelete = 'RESTRICT') : FluidColumnOptions
210 210
     {
211 211
         $table = $this->fluidSchema->getDbalSchema()->getTable($tableName);
212 212
 
Please login to merge, or discard this patch.