Passed
Push — master ( ca352a...aa0338 )
by Tobias
01:49
created
src/Database/MigrationHelper.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
         $table->char('uuid', 36);
18 18
         /** @var \Illuminate\Support\Fluent $fluent */
19 19
         $fluent = $table->unique('uuid', 'uuid');
20
-        if (! is_null($comment)) {
20
+        if (!is_null($comment)) {
21 21
             $fluent->comment = $comment;
22 22
         }
23 23
     }
@@ -36,13 +36,13 @@  discard block
 block discarded – undo
36 36
 
37 37
     public static function addChangedByUserFields(Blueprint $table, array $fields = ['created_by', 'updated_by', 'deleted_by'], string $relation = 'users', string $foreign = 'id', string $onDelete = self::REFERENTIAL_ACTION_CASCADE)
38 38
     {
39
-        if (! isset($fields[0]) || ! is_string($fields[0])) {
39
+        if (!isset($fields[0]) || !is_string($fields[0])) {
40 40
             $fields[0] = 'created_by';
41 41
         }
42
-        if (! isset($fields[1]) || ! is_string($fields[1])) {
42
+        if (!isset($fields[1]) || !is_string($fields[1])) {
43 43
             $fields[1] = 'updated_by';
44 44
         }
45
-        if (! isset($fields[2]) || ! is_string($fields[2])) {
45
+        if (!isset($fields[2]) || !is_string($fields[2])) {
46 46
             $fields[2] = 'deleted_by';
47 47
         }
48 48
         self::addCreatedByUser($table, $fields[0], $relation, $foreign, $onDelete);
Please login to merge, or discard this patch.
src/Support/tmaxham_helpers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! function_exists('_val')) {
3
+if (!function_exists('_val')) {
4 4
     /**
5 5
      * @param mixed      $value
6 6
      * @param null|mixed $default
Please login to merge, or discard this patch.