Completed
Pull Request — master (#4)
by David
06:53
created
src/FluidTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
         return $this;
66 66
     }
67 67
 
68
-    public function primaryKey(array $columnNames, ?string $indexName = null): FluidTable
68
+    public function primaryKey(array $columnNames, ?string $indexName = null) : FluidTable
69 69
     {
70 70
         $newIndexName = $indexName ?: false;
71 71
 
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
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
         return $this;
87 87
     }
88 88
 
89
-    public function primaryKey(?string $indexName = null): FluidColumnOptions
89
+    public function primaryKey(?string $indexName = null) : FluidColumnOptions
90 90
     {
91 91
         $newIndexName = $indexName ?: false;
92 92
 
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
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         return $this->getOptions();
81 81
     }
82 82
 
83
-    public function string(?int $length = null, bool $fixed = false): FluidColumnOptions
83
+    public function string(?int $length = null, bool $fixed = false) : FluidColumnOptions
84 84
     {
85 85
         $this->column->setType(Type::getType(Type::STRING));
86 86
         $this->column->setLength($length);
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     /**
104 104
      * From Doctrine DBAL 2.4+.
105 105
      */
106
-    public function binary(?int $length = null, bool $fixed = false): FluidColumnOptions
106
+    public function binary(?int $length = null, bool $fixed = false) : FluidColumnOptions
107 107
     {
108 108
         $this->column->setType(Type::getType(Type::BINARY));
109 109
         $this->column->setLength($length);
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
         return $this->getOptions();
212 212
     }
213 213
 
214
-    public function references(string $tableName, ?string $constraintName = null, string $onUpdate = 'RESTRICT', string $onDelete = 'RESTRICT'): FluidColumnOptions
214
+    public function references(string $tableName, ?string $constraintName = null, string $onUpdate = 'RESTRICT', string $onDelete = 'RESTRICT') : FluidColumnOptions
215 215
     {
216 216
         $tableName = $this->namingStrategy->quoteIdentifier($tableName);
217 217
 
Please login to merge, or discard this patch.