Completed
Branch develop (aa6d31)
by
unknown
24:05
created
includes/webklex/php-imap/vendor/illuminate/collections/LazyCollection.php 1 patch
Spacing   +48 added lines, -48 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      */
49 49
     public static function range($from, $to)
50 50
     {
51
-        return new static(function () use ($from, $to) {
51
+        return new static(function() use ($from, $to) {
52 52
             if ($from <= $to) {
53 53
                 for (; $from <= $to; $from++) {
54 54
                     yield $from;
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 
99 99
         $cache = [];
100 100
 
101
-        return new static(function () use ($iterator, &$iteratorIndex, &$cache) {
101
+        return new static(function() use ($iterator, &$iteratorIndex, &$cache) {
102 102
             for ($index = 0; true; $index++) {
103 103
                 if (array_key_exists($index, $cache)) {
104 104
                     yield $cache[$index][0] => $cache[$index][1];
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
                     $iteratorIndex++;
113 113
                 }
114 114
 
115
-                if (! $iterator->valid()) {
115
+                if (!$iterator->valid()) {
116 116
                     break;
117 117
                 }
118 118
 
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
      */
164 164
     public function collapse()
165 165
     {
166
-        return new static(function () {
166
+        return new static(function() {
167 167
             foreach ($this as $values) {
168 168
                 if (is_array($values) || $values instanceof Enumerable) {
169 169
                     foreach ($values as $value) {
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
      */
216 216
     public function doesntContain($key, $operator = null, $value = null)
217 217
     {
218
-        return ! $this->contains(...func_get_args());
218
+        return !$this->contains(...func_get_args());
219 219
     }
220 220
 
221 221
     /**
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
             ? $this->identity()
242 242
             : $this->valueRetriever($countBy);
243 243
 
244
-        return new static(function () use ($countBy) {
244
+        return new static(function() use ($countBy) {
245 245
             $counts = [];
246 246
 
247 247
             foreach ($this as $key => $value) {
@@ -370,12 +370,12 @@  discard block
 block discarded – undo
370 370
     public function filter(callable $callback = null)
371 371
     {
372 372
         if (is_null($callback)) {
373
-            $callback = function ($value) {
373
+            $callback = function($value) {
374 374
                 return (bool) $value;
375 375
             };
376 376
         }
377 377
 
378
-        return new static(function () use ($callback) {
378
+        return new static(function() use ($callback) {
379 379
             foreach ($this as $key => $value) {
380 380
                 if ($callback($value, $key)) {
381 381
                     yield $key => $value;
@@ -396,7 +396,7 @@  discard block
 block discarded – undo
396 396
         $iterator = $this->getIterator();
397 397
 
398 398
         if (is_null($callback)) {
399
-            if (! $iterator->valid()) {
399
+            if (!$iterator->valid()) {
400 400
                 return value($default);
401 401
             }
402 402
 
@@ -420,9 +420,9 @@  discard block
 block discarded – undo
420 420
      */
421 421
     public function flatten($depth = INF)
422 422
     {
423
-        $instance = new static(function () use ($depth) {
423
+        $instance = new static(function() use ($depth) {
424 424
             foreach ($this as $item) {
425
-                if (! is_array($item) && ! $item instanceof Enumerable) {
425
+                if (!is_array($item) && !$item instanceof Enumerable) {
426 426
                     yield $item;
427 427
                 } elseif ($depth === 1) {
428 428
                     yield from $item;
@@ -442,7 +442,7 @@  discard block
 block discarded – undo
442 442
      */
443 443
     public function flip()
444 444
     {
445
-        return new static(function () {
445
+        return new static(function() {
446 446
             foreach ($this as $key => $value) {
447 447
                 yield $value => $key;
448 448
             }
@@ -491,7 +491,7 @@  discard block
 block discarded – undo
491 491
      */
492 492
     public function keyBy($keyBy)
493 493
     {
494
-        return new static(function () use ($keyBy) {
494
+        return new static(function() use ($keyBy) {
495 495
             $keyBy = $this->valueRetriever($keyBy);
496 496
 
497 497
             foreach ($this as $key => $item) {
@@ -586,7 +586,7 @@  discard block
 block discarded – undo
586 586
      */
587 587
     public function isEmpty()
588 588
     {
589
-        return ! $this->getIterator()->valid();
589
+        return !$this->getIterator()->valid();
590 590
     }
591 591
 
592 592
     /**
@@ -618,7 +618,7 @@  discard block
 block discarded – undo
618 618
      */
619 619
     public function keys()
620 620
     {
621
-        return new static(function () {
621
+        return new static(function() {
622 622
             foreach ($this as $key => $value) {
623 623
                 yield $key;
624 624
             }
@@ -654,7 +654,7 @@  discard block
 block discarded – undo
654 654
      */
655 655
     public function pluck($value, $key = null)
656 656
     {
657
-        return new static(function () use ($value, $key) {
657
+        return new static(function() use ($value, $key) {
658 658
             [$value, $key] = $this->explodePluckParameters($value, $key);
659 659
 
660 660
             foreach ($this as $item) {
@@ -683,7 +683,7 @@  discard block
 block discarded – undo
683 683
      */
684 684
     public function map(callable $callback)
685 685
     {
686
-        return new static(function () use ($callback) {
686
+        return new static(function() use ($callback) {
687 687
             foreach ($this as $key => $value) {
688 688
                 yield $key => $callback($value, $key);
689 689
             }
@@ -713,7 +713,7 @@  discard block
 block discarded – undo
713 713
      */
714 714
     public function mapWithKeys(callable $callback)
715 715
     {
716
-        return new static(function () use ($callback) {
716
+        return new static(function() use ($callback) {
717 717
             foreach ($this as $key => $value) {
718 718
                 yield from $callback($value, $key);
719 719
             }
@@ -750,13 +750,13 @@  discard block
 block discarded – undo
750 750
      */
751 751
     public function combine($values)
752 752
     {
753
-        return new static(function () use ($values) {
753
+        return new static(function() use ($values) {
754 754
             $values = $this->makeIterator($values);
755 755
 
756 756
             $errorMessage = 'Both parameters should have an equal number of elements';
757 757
 
758 758
             foreach ($this as $key) {
759
-                if (! $values->valid()) {
759
+                if (!$values->valid()) {
760 760
                     trigger_error($errorMessage, E_USER_WARNING);
761 761
 
762 762
                     break;
@@ -793,7 +793,7 @@  discard block
 block discarded – undo
793 793
      */
794 794
     public function nth($step, $offset = 0)
795 795
     {
796
-        return new static(function () use ($step, $offset) {
796
+        return new static(function() use ($step, $offset) {
797 797
             $position = 0;
798 798
 
799 799
             foreach ($this->slice($offset) as $item) {
@@ -816,11 +816,11 @@  discard block
 block discarded – undo
816 816
     {
817 817
         if ($keys instanceof Enumerable) {
818 818
             $keys = $keys->all();
819
-        } elseif (! is_null($keys)) {
819
+        } elseif (!is_null($keys)) {
820 820
             $keys = is_array($keys) ? $keys : func_get_args();
821 821
         }
822 822
 
823
-        return new static(function () use ($keys) {
823
+        return new static(function() use ($keys) {
824 824
             if (is_null($keys)) {
825 825
                 yield from $this;
826 826
             } else {
@@ -849,7 +849,7 @@  discard block
 block discarded – undo
849 849
      */
850 850
     public function concat($source)
851 851
     {
852
-        return (new static(function () use ($source) {
852
+        return (new static(function() use ($source) {
853 853
             yield from $this;
854 854
             yield from $source;
855 855
         }))->values();
@@ -878,7 +878,7 @@  discard block
 block discarded – undo
878 878
      */
879 879
     public function replace($items)
880 880
     {
881
-        return new static(function () use ($items) {
881
+        return new static(function() use ($items) {
882 882
             $items = $this->getArrayableItems($items);
883 883
 
884 884
             foreach ($this as $key => $value) {
@@ -929,7 +929,7 @@  discard block
 block discarded – undo
929 929
     {
930 930
         $predicate = $this->useAsCallable($value)
931 931
             ? $value
932
-            : function ($item) use ($value, $strict) {
932
+            : function($item) use ($value, $strict) {
933 933
                 return $strict ? $item === $value : $item == $value;
934 934
             };
935 935
 
@@ -962,7 +962,7 @@  discard block
 block discarded – undo
962 962
      */
963 963
     public function sliding($size = 2, $step = 1)
964 964
     {
965
-        return new static(function () use ($size, $step) {
965
+        return new static(function() use ($size, $step) {
966 966
             $iterator = $this->getIterator();
967 967
 
968 968
             $chunk = [];
@@ -971,7 +971,7 @@  discard block
 block discarded – undo
971 971
                 $chunk[$iterator->key()] = $iterator->current();
972 972
 
973 973
                 if (count($chunk) == $size) {
974
-                    yield tap(new static($chunk), function () use (&$chunk, $step) {
974
+                    yield tap(new static($chunk), function() use (&$chunk, $step) {
975 975
                         $chunk = array_slice($chunk, $step, null, true);
976 976
                     });
977 977
 
@@ -1000,7 +1000,7 @@  discard block
 block discarded – undo
1000 1000
      */
1001 1001
     public function skip($count)
1002 1002
     {
1003
-        return new static(function () use ($count) {
1003
+        return new static(function() use ($count) {
1004 1004
             $iterator = $this->getIterator();
1005 1005
 
1006 1006
             while ($iterator->valid() && $count--) {
@@ -1038,7 +1038,7 @@  discard block
 block discarded – undo
1038 1038
     {
1039 1039
         $callback = $this->useAsCallable($value) ? $value : $this->equality($value);
1040 1040
 
1041
-        return new static(function () use ($callback) {
1041
+        return new static(function() use ($callback) {
1042 1042
             $iterator = $this->getIterator();
1043 1043
 
1044 1044
             while ($iterator->valid() && $callback($iterator->current(), $iterator->key())) {
@@ -1143,7 +1143,7 @@  discard block
 block discarded – undo
1143 1143
             return static::empty();
1144 1144
         }
1145 1145
 
1146
-        return new static(function () use ($size) {
1146
+        return new static(function() use ($size) {
1147 1147
             $iterator = $this->getIterator();
1148 1148
 
1149 1149
             while ($iterator->valid()) {
@@ -1155,7 +1155,7 @@  discard block
 block discarded – undo
1155 1155
                     if (count($chunk) < $size) {
1156 1156
                         $iterator->next();
1157 1157
 
1158
-                        if (! $iterator->valid()) {
1158
+                        if (!$iterator->valid()) {
1159 1159
                             break;
1160 1160
                         }
1161 1161
                     } else {
@@ -1189,7 +1189,7 @@  discard block
 block discarded – undo
1189 1189
      */
1190 1190
     public function chunkWhile(callable $callback)
1191 1191
     {
1192
-        return new static(function () use ($callback) {
1192
+        return new static(function() use ($callback) {
1193 1193
             $iterator = $this->getIterator();
1194 1194
 
1195 1195
             $chunk = new Collection;
@@ -1201,7 +1201,7 @@  discard block
 block discarded – undo
1201 1201
             }
1202 1202
 
1203 1203
             while ($iterator->valid()) {
1204
-                if (! $callback($iterator->current(), $iterator->key(), $chunk)) {
1204
+                if (!$callback($iterator->current(), $iterator->key(), $chunk)) {
1205 1205
                     yield new static($chunk);
1206 1206
 
1207 1207
                     $chunk = new Collection;
@@ -1311,11 +1311,11 @@  discard block
 block discarded – undo
1311 1311
             return $this->passthru('take', func_get_args());
1312 1312
         }
1313 1313
 
1314
-        return new static(function () use ($limit) {
1314
+        return new static(function() use ($limit) {
1315 1315
             $iterator = $this->getIterator();
1316 1316
 
1317 1317
             while ($limit--) {
1318
-                if (! $iterator->valid()) {
1318
+                if (!$iterator->valid()) {
1319 1319
                     break;
1320 1320
                 }
1321 1321
 
@@ -1338,7 +1338,7 @@  discard block
 block discarded – undo
1338 1338
     {
1339 1339
         $callback = $this->useAsCallable($value) ? $value : $this->equality($value);
1340 1340
 
1341
-        return new static(function () use ($callback) {
1341
+        return new static(function() use ($callback) {
1342 1342
             foreach ($this as $key => $item) {
1343 1343
                 if ($callback($item, $key)) {
1344 1344
                     break;
@@ -1359,7 +1359,7 @@  discard block
 block discarded – undo
1359 1359
     {
1360 1360
         $timeout = $timeout->getTimestamp();
1361 1361
 
1362
-        return $this->takeWhile(function () use ($timeout) {
1362
+        return $this->takeWhile(function() use ($timeout) {
1363 1363
             return $this->now() < $timeout;
1364 1364
         });
1365 1365
     }
@@ -1374,8 +1374,8 @@  discard block
 block discarded – undo
1374 1374
     {
1375 1375
         $callback = $this->useAsCallable($value) ? $value : $this->equality($value);
1376 1376
 
1377
-        return $this->takeUntil(function ($item, $key) use ($callback) {
1378
-            return ! $callback($item, $key);
1377
+        return $this->takeUntil(function($item, $key) use ($callback) {
1378
+            return !$callback($item, $key);
1379 1379
         });
1380 1380
     }
1381 1381
 
@@ -1387,7 +1387,7 @@  discard block
 block discarded – undo
1387 1387
      */
1388 1388
     public function tapEach(callable $callback)
1389 1389
     {
1390
-        return new static(function () use ($callback) {
1390
+        return new static(function() use ($callback) {
1391 1391
             foreach ($this as $key => $value) {
1392 1392
                 $callback($value, $key);
1393 1393
 
@@ -1417,11 +1417,11 @@  discard block
 block discarded – undo
1417 1417
     {
1418 1418
         $callback = $this->valueRetriever($key);
1419 1419
 
1420
-        return new static(function () use ($callback, $strict) {
1420
+        return new static(function() use ($callback, $strict) {
1421 1421
             $exists = [];
1422 1422
 
1423 1423
             foreach ($this as $key => $item) {
1424
-                if (! in_array($id = $callback($item, $key), $exists, $strict)) {
1424
+                if (!in_array($id = $callback($item, $key), $exists, $strict)) {
1425 1425
                     yield $key => $item;
1426 1426
 
1427 1427
                     $exists[] = $id;
@@ -1437,7 +1437,7 @@  discard block
 block discarded – undo
1437 1437
      */
1438 1438
     public function values()
1439 1439
     {
1440
-        return new static(function () {
1440
+        return new static(function() {
1441 1441
             foreach ($this as $item) {
1442 1442
                 yield $item;
1443 1443
             }
@@ -1457,8 +1457,8 @@  discard block
 block discarded – undo
1457 1457
     {
1458 1458
         $iterables = func_get_args();
1459 1459
 
1460
-        return new static(function () use ($iterables) {
1461
-            $iterators = Collection::make($iterables)->map(function ($iterable) {
1460
+        return new static(function() use ($iterables) {
1461
+            $iterators = Collection::make($iterables)->map(function($iterable) {
1462 1462
                 return $this->makeIterator($iterable);
1463 1463
             })->prepend($this->getIterator());
1464 1464
 
@@ -1483,7 +1483,7 @@  discard block
 block discarded – undo
1483 1483
             return $this->passthru('pad', func_get_args());
1484 1484
         }
1485 1485
 
1486
-        return new static(function () use ($size, $value) {
1486
+        return new static(function() use ($size, $value) {
1487 1487
             $yielded = 0;
1488 1488
 
1489 1489
             foreach ($this as $index => $item) {
@@ -1568,7 +1568,7 @@  discard block
 block discarded – undo
1568 1568
      */
1569 1569
     protected function passthru($method, array $params)
1570 1570
     {
1571
-        return new static(function () use ($method, $params) {
1571
+        return new static(function() use ($method, $params) {
1572 1572
             yield from $this->collect()->$method(...$params);
1573 1573
         });
1574 1574
     }
Please login to merge, or discard this patch.
webklex/php-imap/vendor/illuminate/support/ConfigurationUrlParser.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
         $url = Arr::pull($config, 'url');
37 37
 
38
-        if (! $url) {
38
+        if (!$url) {
39 39
             return $config;
40 40
         }
41 41
 
@@ -67,8 +67,8 @@  discard block
 block discarded – undo
67 67
             'port' => $url['port'] ?? null,
68 68
             'username' => $url['user'] ?? null,
69 69
             'password' => $url['pass'] ?? null,
70
-        ], function ($value) {
71
-            return ! is_null($value);
70
+        ], function($value) {
71
+            return !is_null($value);
72 72
         });
73 73
     }
74 74
 
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     {
83 83
         $alias = $url['scheme'] ?? null;
84 84
 
85
-        if (! $alias) {
85
+        if (!$alias) {
86 86
             return;
87 87
         }
88 88
 
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     {
113 113
         $queryString = $url['query'] ?? null;
114 114
 
115
-        if (! $queryString) {
115
+        if (!$queryString) {
116 116
             return [];
117 117
         }
118 118
 
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
             return array_map([$this, 'parseStringsToNativeTypes'], $value);
157 157
         }
158 158
 
159
-        if (! is_string($value)) {
159
+        if (!is_string($value)) {
160 160
             return $value;
161 161
         }
162 162
 
Please login to merge, or discard this patch.
htdocs/includes/webklex/php-imap/vendor/illuminate/support/Manager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
         // If the given driver has not been created before, we will create the instances
77 77
         // here and cache it so we can return it next time very quickly. If there is
78 78
         // already a driver created by this name, we'll just return that instance.
79
-        if (! isset($this->drivers[$driver])) {
79
+        if (!isset($this->drivers[$driver])) {
80 80
             $this->drivers[$driver] = $this->createDriver($driver);
81 81
         }
82 82
 
Please login to merge, or discard this patch.
htdocs/includes/webklex/php-imap/vendor/illuminate/support/helpers.php 1 patch
Spacing   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
 use Illuminate\Support\HigherOrderTapProxy;
8 8
 use Illuminate\Support\Optional;
9 9
 
10
-if (! function_exists('append_config')) {
10
+if (!function_exists('append_config')) {
11 11
     /**
12 12
      * Assign high numeric IDs to a config item to force appending.
13 13
      *
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     }
31 31
 }
32 32
 
33
-if (! function_exists('blank')) {
33
+if (!function_exists('blank')) {
34 34
     /**
35 35
      * Determine if the given value is "blank".
36 36
      *
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     }
60 60
 }
61 61
 
62
-if (! function_exists('class_basename')) {
62
+if (!function_exists('class_basename')) {
63 63
     /**
64 64
      * Get the class "basename" of the given object / class.
65 65
      *
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     }
75 75
 }
76 76
 
77
-if (! function_exists('class_uses_recursive')) {
77
+if (!function_exists('class_uses_recursive')) {
78 78
     /**
79 79
      * Returns all traits used by a class, its parent classes and trait of their traits.
80 80
      *
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     }
98 98
 }
99 99
 
100
-if (! function_exists('e')) {
100
+if (!function_exists('e')) {
101 101
     /**
102 102
      * Encode HTML special characters in a string.
103 103
      *
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
     }
120 120
 }
121 121
 
122
-if (! function_exists('env')) {
122
+if (!function_exists('env')) {
123 123
     /**
124 124
      * Gets the value of an environment variable.
125 125
      *
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     }
134 134
 }
135 135
 
136
-if (! function_exists('filled')) {
136
+if (!function_exists('filled')) {
137 137
     /**
138 138
      * Determine if a value is "filled".
139 139
      *
@@ -142,11 +142,11 @@  discard block
 block discarded – undo
142 142
      */
143 143
     function filled($value)
144 144
     {
145
-        return ! blank($value);
145
+        return !blank($value);
146 146
     }
147 147
 }
148 148
 
149
-if (! function_exists('object_get')) {
149
+if (!function_exists('object_get')) {
150 150
     /**
151 151
      * Get an item from an object using "dot" notation.
152 152
      *
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
         }
163 163
 
164 164
         foreach (explode('.', $key) as $segment) {
165
-            if (! is_object($object) || ! isset($object->{$segment})) {
165
+            if (!is_object($object) || !isset($object->{$segment})) {
166 166
                 return value($default);
167 167
             }
168 168
 
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
     }
174 174
 }
175 175
 
176
-if (! function_exists('optional')) {
176
+if (!function_exists('optional')) {
177 177
     /**
178 178
      * Provide access to optional objects.
179 179
      *
@@ -185,13 +185,13 @@  discard block
 block discarded – undo
185 185
     {
186 186
         if (is_null($callback)) {
187 187
             return new Optional($value);
188
-        } elseif (! is_null($value)) {
188
+        } elseif (!is_null($value)) {
189 189
             return $callback($value);
190 190
         }
191 191
     }
192 192
 }
193 193
 
194
-if (! function_exists('preg_replace_array')) {
194
+if (!function_exists('preg_replace_array')) {
195 195
     /**
196 196
      * Replace a given pattern with each value in the array in sequentially.
197 197
      *
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
      */
203 203
     function preg_replace_array($pattern, array $replacements, $subject)
204 204
     {
205
-        return preg_replace_callback($pattern, function () use (&$replacements) {
205
+        return preg_replace_callback($pattern, function() use (&$replacements) {
206 206
             foreach ($replacements as $key => $value) {
207 207
                 return array_shift($replacements);
208 208
             }
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
     }
211 211
 }
212 212
 
213
-if (! function_exists('retry')) {
213
+if (!function_exists('retry')) {
214 214
     /**
215 215
      * Retry an operation a given number of times.
216 216
      *
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
         try {
234 234
             return $callback($attempts);
235 235
         } catch (Exception $e) {
236
-            if ($times < 1 || ($when && ! $when($e))) {
236
+            if ($times < 1 || ($when && !$when($e))) {
237 237
                 throw $e;
238 238
             }
239 239
 
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
     }
247 247
 }
248 248
 
249
-if (! function_exists('tap')) {
249
+if (!function_exists('tap')) {
250 250
     /**
251 251
      * Call the given Closure with the given value then return the value.
252 252
      *
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
     }
267 267
 }
268 268
 
269
-if (! function_exists('throw_if')) {
269
+if (!function_exists('throw_if')) {
270 270
     /**
271 271
      * Throw the given exception if the given condition is true.
272 272
      *
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
     }
292 292
 }
293 293
 
294
-if (! function_exists('throw_unless')) {
294
+if (!function_exists('throw_unless')) {
295 295
     /**
296 296
      * Throw the given exception unless the given condition is true.
297 297
      *
@@ -304,13 +304,13 @@  discard block
 block discarded – undo
304 304
      */
305 305
     function throw_unless($condition, $exception = 'RuntimeException', ...$parameters)
306 306
     {
307
-        throw_if(! $condition, $exception, ...$parameters);
307
+        throw_if(!$condition, $exception, ...$parameters);
308 308
 
309 309
         return $condition;
310 310
     }
311 311
 }
312 312
 
313
-if (! function_exists('trait_uses_recursive')) {
313
+if (!function_exists('trait_uses_recursive')) {
314 314
     /**
315 315
      * Returns all traits used by a trait and its traits.
316 316
      *
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
     }
330 330
 }
331 331
 
332
-if (! function_exists('transform')) {
332
+if (!function_exists('transform')) {
333 333
     /**
334 334
      * Transform the given value if it is present.
335 335
      *
@@ -352,7 +352,7 @@  discard block
 block discarded – undo
352 352
     }
353 353
 }
354 354
 
355
-if (! function_exists('windows_os')) {
355
+if (!function_exists('windows_os')) {
356 356
     /**
357 357
      * Determine whether the current environment is Windows based.
358 358
      *
@@ -364,7 +364,7 @@  discard block
 block discarded – undo
364 364
     }
365 365
 }
366 366
 
367
-if (! function_exists('with')) {
367
+if (!function_exists('with')) {
368 368
     /**
369 369
      * Return the given value, optionally passed through the given callback.
370 370
      *
Please login to merge, or discard this patch.
htdocs/includes/webklex/php-imap/vendor/illuminate/support/Js.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
             return $data->toJson($flags | static::REQUIRED_FLAGS);
95 95
         }
96 96
 
97
-        if ($data instanceof Arrayable && ! ($data instanceof JsonSerializable)) {
97
+        if ($data instanceof Arrayable && !($data instanceof JsonSerializable)) {
98 98
             $data = $data->toArray();
99 99
         }
100 100
 
Please login to merge, or discard this patch.
htdocs/includes/webklex/php-imap/vendor/illuminate/support/Stringable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
 
224 224
         $segments = preg_split($pattern, $this->value, $limit, $flags);
225 225
 
226
-        return ! empty($segments) ? collect($segments) : collect();
226
+        return !empty($segments) ? collect($segments) : collect();
227 227
     }
228 228
 
229 229
     /**
@@ -285,7 +285,7 @@  discard block
 block discarded – undo
285 285
      */
286 286
     public function isNotEmpty()
287 287
     {
288
-        return ! $this->isEmpty();
288
+        return !$this->isEmpty();
289 289
     }
290 290
 
291 291
     /**
Please login to merge, or discard this patch.
webklex/php-imap/vendor/illuminate/support/MultipleInstanceManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
             throw new InvalidArgumentException("Instance [{$name}] is not defined.");
104 104
         }
105 105
 
106
-        if (! array_key_exists('driver', $config)) {
106
+        if (!array_key_exists('driver', $config)) {
107 107
             throw new RuntimeException("Instance [{$name}] does not specify a driver.");
108 108
         }
109 109
 
Please login to merge, or discard this patch.
htdocs/includes/webklex/php-imap/vendor/illuminate/support/HtmlString.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      */
52 52
     public function isNotEmpty()
53 53
     {
54
-        return ! $this->isEmpty();
54
+        return !$this->isEmpty();
55 55
     }
56 56
 
57 57
     /**
Please login to merge, or discard this patch.
webklex/php-imap/vendor/illuminate/support/Testing/Fakes/QueueFake.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
             [$job, $callback] = [$this->firstClosureParameterType($job), $job];
75 75
         }
76 76
 
77
-        $this->assertPushed($job, function ($job, $pushedQueue) use ($callback, $queue) {
77
+        $this->assertPushed($job, function($job, $pushedQueue) use ($callback, $queue) {
78 78
             if ($pushedQueue !== $queue) {
79 79
                 return false;
80 80
             }
@@ -135,12 +135,12 @@  discard block
 block discarded – undo
135 135
      */
136 136
     protected function assertPushedWithChainOfObjects($job, $expectedChain, $callback)
137 137
     {
138
-        $chain = collect($expectedChain)->map(function ($job) {
138
+        $chain = collect($expectedChain)->map(function($job) {
139 139
             return serialize($job);
140 140
         })->all();
141 141
 
142 142
         PHPUnit::assertTrue(
143
-            $this->pushed($job, $callback)->filter(function ($job) use ($chain) {
143
+            $this->pushed($job, $callback)->filter(function($job) use ($chain) {
144 144
                 return $job->chained == $chain;
145 145
             })->isNotEmpty(),
146 146
             'The expected chain was not pushed.'
@@ -157,11 +157,11 @@  discard block
 block discarded – undo
157 157
      */
158 158
     protected function assertPushedWithChainOfClasses($job, $expectedChain, $callback)
159 159
     {
160
-        $matching = $this->pushed($job, $callback)->map->chained->map(function ($chain) {
161
-            return collect($chain)->map(function ($job) {
160
+        $matching = $this->pushed($job, $callback)->map->chained->map(function($chain) {
161
+            return collect($chain)->map(function($job) {
162 162
                 return get_class(unserialize($job));
163 163
             });
164
-        })->filter(function ($chain) use ($expectedChain) {
164
+        })->filter(function($chain) use ($expectedChain) {
165 165
             return $chain->all() === $expectedChain;
166 166
         });
167 167
 
@@ -178,8 +178,8 @@  discard block
 block discarded – undo
178 178
      */
179 179
     protected function isChainOfObjects($chain)
180 180
     {
181
-        return ! collect($chain)->contains(function ($job) {
182
-            return ! is_object($job);
181
+        return !collect($chain)->contains(function($job) {
182
+            return !is_object($job);
183 183
         });
184 184
     }
185 185
 
@@ -221,15 +221,15 @@  discard block
 block discarded – undo
221 221
      */
222 222
     public function pushed($job, $callback = null)
223 223
     {
224
-        if (! $this->hasPushed($job)) {
224
+        if (!$this->hasPushed($job)) {
225 225
             return collect();
226 226
         }
227 227
 
228
-        $callback = $callback ?: function () {
228
+        $callback = $callback ?: function() {
229 229
             return true;
230 230
         };
231 231
 
232
-        return collect($this->jobs[$job])->filter(function ($data) use ($callback) {
232
+        return collect($this->jobs[$job])->filter(function($data) use ($callback) {
233 233
             return $callback($data['job'], $data['queue']);
234 234
         })->pluck('job');
235 235
     }
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
      */
243 243
     public function hasPushed($job)
244 244
     {
245
-        return isset($this->jobs[$job]) && ! empty($this->jobs[$job]);
245
+        return isset($this->jobs[$job]) && !empty($this->jobs[$job]);
246 246
     }
247 247
 
248 248
     /**
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
      */
265 265
     public function size($queue = null)
266 266
     {
267
-        return collect($this->jobs)->flatten(1)->filter(function ($job) use ($queue) {
267
+        return collect($this->jobs)->flatten(1)->filter(function($job) use ($queue) {
268 268
             return $job['queue'] === $queue;
269 269
         })->count();
270 270
     }
Please login to merge, or discard this patch.