Passed
Push — master ( bf9d3e...c219b3 )
by Nasrul Hazim
01:49
created
src/Database/Schema/macros/foreign-keys.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         $schema->nullable();
24 24
     }
25 25
 
26
-    if (! isset($options['no_reference'])) {
26
+    if ( ! isset($options['no_reference'])) {
27 27
         $this->referenceOn($fk, $table, $reference);
28 28
     }
29 29
 
Please login to merge, or discard this patch.
src/Database/Schema/macros/acceptance.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 
30 30
 DefaultBlueprint::macro('by', function($table, $key = null, $nullable = true, $bigInteger = false, $suffix = '_by') {
31 31
     return $this->addForeign($table, [
32
-        'fk'         => (! is_null($key) ? $key . $suffix : null),
32
+        'fk'         => ( ! is_null($key) ? $key . $suffix : null),
33 33
         'nullable'   => $nullable,
34 34
         'bigInteger' => $bigInteger,
35 35
     ]);
Please login to merge, or discard this patch.