Completed
Branch main (e463d3)
by Andrey
06:47
created
Category
src/Facades/Str.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@
 block discarded – undo
222 222
      */
223 223
     public static function snake($value, $delimiter = '_')
224 224
     {
225
-        if (! ctype_lower($value)) {
225
+        if (!ctype_lower($value)) {
226 226
             $value = preg_replace('/\s+/u', '', ucwords($value));
227 227
 
228 228
             $value = static::lower(preg_replace('/(.)(?=[A-Z])/u', '$1' . $delimiter, $value));
Please login to merge, or discard this patch.
src/Facades/Digit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     public static function shortNumber(float $number, int $precision = 1): string
37 37
     {
38
-        if (! is_numeric($number)) {
38
+        if (!is_numeric($number)) {
39 39
             throw new InvalidNumberException($number);
40 40
         }
41 41
 
Please login to merge, or discard this patch.
src/Laravel/Eloquent/CompositeKeysModel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
     public function getAttribute($key)
28 28
     {
29
-        return ! is_array($key)
29
+        return !is_array($key)
30 30
             ? parent::getAttribute($key)
31 31
             : null;
32 32
     }
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     {
36 36
         $keys = $this->primaryKey;
37 37
 
38
-        if (! is_array($keys)) {
38
+        if (!is_array($keys)) {
39 39
             return $query->where($keys, $this->getAttribute($keys));
40 40
         }
41 41
 
Please login to merge, or discard this patch.
src/Laravel/Eloquent/UuidModel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
23 23
     {
24 24
         parent::boot();
25 25
 
26
-        static::creating(function ($model) {
27
-            if (! ($model->{$model->primaryKey} ?? false)) {
26
+        static::creating(function($model) {
27
+            if (!($model->{$model->primaryKey} ?? false)) {
28 28
                 $model->{$model->primaryKey} = (string) Uuid::generate(4);
29 29
             }
30 30
         });
Please login to merge, or discard this patch.