Passed
Push — main ( a3a25d...1ad1e5 )
by Nicolaas
08:30
created
Category
src/Model/Fields/DBClientSidePassword.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
         'FormSet' => 'HTMLText',
17 17
     ];
18 18
 
19
-    public function __construct($name = null, $size = 7, $options = [])
19
+    public function __construct($name = null, $size = 7, $options = [ ])
20 20
     {
21 21
         if ((int) $size) {
22 22
             $this->fieldLength = (int) $size;
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
     public static function get_unique_value(?int $size = 7): string
28 28
     {
29
-        if (! $size) {
29
+        if (!$size) {
30 30
             $size = 7;
31 31
         }
32 32
 
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
                 "DBField::saveInto() Called on a nameless '" . static::class . "' object"
75 75
             );
76 76
         }
77
-        if (! $dataObject->{$fieldName}) {
77
+        if (!$dataObject->{$fieldName}) {
78 78
             $dataObject->{$fieldName} = self::get_unique_value($this->fieldLength);
79 79
         }
80 80
         $length = strlen($dataObject->{$fieldName});
Please login to merge, or discard this patch.