Completed
Branch develop (1285e7)
by
unknown
23:31
created
webklex/php-imap/vendor/illuminate/pagination/AbstractCursorPaginator.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
     public function previousCursor()
152 152
     {
153 153
         if (is_null($this->cursor) ||
154
-            ($this->cursor->pointsToPreviousItems() && ! $this->hasMore)) {
154
+            ($this->cursor->pointsToPreviousItems() && !$this->hasMore)) {
155 155
             return null;
156 156
         }
157 157
 
@@ -169,8 +169,8 @@  discard block
 block discarded – undo
169 169
      */
170 170
     public function nextCursor()
171 171
     {
172
-        if ((is_null($this->cursor) && ! $this->hasMore) ||
173
-            (! is_null($this->cursor) && $this->cursor->pointsToNextItems() && ! $this->hasMore)) {
172
+        if ((is_null($this->cursor) && !$this->hasMore) ||
173
+            (!is_null($this->cursor) && $this->cursor->pointsToNextItems() && !$this->hasMore)) {
174 174
             return null;
175 175
         }
176 176
 
@@ -205,13 +205,13 @@  discard block
 block discarded – undo
205 205
     {
206 206
         return collect($this->parameters)
207 207
             ->flip()
208
-            ->map(function ($_, $parameterName) use ($item) {
208
+            ->map(function($_, $parameterName) use ($item) {
209 209
                 if ($item instanceof JsonResource) {
210 210
                     $item = $item->resource;
211 211
                 }
212 212
 
213 213
                 if ($item instanceof Model &&
214
-                    ! is_null($parameter = $this->getPivotParameterForItem($item, $parameterName))) {
214
+                    !is_null($parameter = $this->getPivotParameterForItem($item, $parameterName))) {
215 215
                     return $parameter;
216 216
                 } elseif ($item instanceof ArrayAccess || is_array($item)) {
217 217
                     return $this->ensureParameterIsPrimitive(
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
      */
322 322
     public function withQueryString()
323 323
     {
324
-        if (! is_null($query = Paginator::resolveQueryString())) {
324
+        if (!is_null($query = Paginator::resolveQueryString())) {
325 325
             return $this->appends($query);
326 326
         }
327 327
 
Please login to merge, or discard this patch.
htdocs/includes/webklex/php-imap/vendor/illuminate/pagination/Cursor.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      */
44 44
     public function parameter(string $parameterName)
45 45
     {
46
-        if (! array_key_exists($parameterName, $this->parameters)) {
46
+        if (!array_key_exists($parameterName, $this->parameters)) {
47 47
             throw new UnexpectedValueException("Unable to find parameter [{$parameterName}] in pagination item.");
48 48
         }
49 49
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      */
59 59
     public function parameters(array $parameterNames)
60 60
     {
61
-        return collect($parameterNames)->map(function ($parameterName) {
61
+        return collect($parameterNames)->map(function($parameterName) {
62 62
             return $this->parameter($parameterName);
63 63
         })->toArray();
64 64
     }
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      */
81 81
     public function pointsToPreviousItems()
82 82
     {
83
-        return ! $this->pointsToNextItems;
83
+        return !$this->pointsToNextItems;
84 84
     }
85 85
 
86 86
     /**
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      */
114 114
     public static function fromEncoded($encodedString)
115 115
     {
116
-        if (is_null($encodedString) || ! is_string($encodedString)) {
116
+        if (is_null($encodedString) || !is_string($encodedString)) {
117 117
             return null;
118 118
         }
119 119
 
Please login to merge, or discard this patch.
webklex/php-imap/vendor/illuminate/pagination/LengthAwarePaginator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -101,12 +101,12 @@
 block discarded – undo
101 101
      */
102 102
     public function linkCollection()
103 103
     {
104
-        return collect($this->elements())->flatMap(function ($item) {
105
-            if (! is_array($item)) {
104
+        return collect($this->elements())->flatMap(function($item) {
105
+            if (!is_array($item)) {
106 106
                 return [['url' => null, 'label' => '...', 'active' => false]];
107 107
             }
108 108
 
109
-            return collect($item)->map(function ($url, $page) {
109
+            return collect($item)->map(function($url, $page) {
110 110
                 return [
111 111
                     'url' => $url,
112 112
                     'label' => (string) $page,
Please login to merge, or discard this patch.
htdocs/includes/webklex/php-imap/vendor/illuminate/pagination/UrlWindow.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
     {
76 76
         $window = $onEachSide + 4;
77 77
 
78
-        if (! $this->hasPages()) {
78
+        if (!$this->hasPages()) {
79 79
             return ['first' => null, 'slider' => null, 'last' => null];
80 80
         }
81 81
 
Please login to merge, or discard this patch.
includes/webklex/php-imap/vendor/illuminate/pagination/CursorPaginator.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 
59 59
         $this->items = $this->items->slice(0, $this->perPage);
60 60
 
61
-        if (! is_null($this->cursor) && $this->cursor->pointsToPreviousItems()) {
61
+        if (!is_null($this->cursor) && $this->cursor->pointsToPreviousItems()) {
62 62
             $this->items = $this->items->reverse()->values();
63 63
         }
64 64
     }
@@ -97,8 +97,8 @@  discard block
 block discarded – undo
97 97
     public function hasMorePages()
98 98
     {
99 99
         return (is_null($this->cursor) && $this->hasMore) ||
100
-            (! is_null($this->cursor) && $this->cursor->pointsToNextItems() && $this->hasMore) ||
101
-            (! is_null($this->cursor) && $this->cursor->pointsToPreviousItems());
100
+            (!is_null($this->cursor) && $this->cursor->pointsToNextItems() && $this->hasMore) ||
101
+            (!is_null($this->cursor) && $this->cursor->pointsToPreviousItems());
102 102
     }
103 103
 
104 104
     /**
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      */
109 109
     public function hasPages()
110 110
     {
111
-        return ! $this->onFirstPage() || $this->hasMorePages();
111
+        return !$this->onFirstPage() || $this->hasMorePages();
112 112
     }
113 113
 
114 114
     /**
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      */
119 119
     public function onFirstPage()
120 120
     {
121
-        return is_null($this->cursor) || ($this->cursor->pointsToPreviousItems() && ! $this->hasMore);
121
+        return is_null($this->cursor) || ($this->cursor->pointsToPreviousItems() && !$this->hasMore);
122 122
     }
123 123
 
124 124
     /**
Please login to merge, or discard this patch.
webklex/php-imap/vendor/illuminate/pagination/AbstractPaginator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
      */
155 155
     public function getUrlRange($start, $end)
156 156
     {
157
-        return collect(range($start, $end))->mapWithKeys(function ($page) {
157
+        return collect(range($start, $end))->mapWithKeys(function($page) {
158 158
             return [$page => $this->url($page)];
159 159
         })->all();
160 160
     }
@@ -386,7 +386,7 @@  discard block
 block discarded – undo
386 386
      */
387 387
     public function onLastPage()
388 388
     {
389
-        return ! $this->hasMorePages();
389
+        return !$this->hasMorePages();
390 390
     }
391 391
 
392 392
     /**
Please login to merge, or discard this patch.
includes/webklex/php-imap/vendor/illuminate/pagination/PaginationState.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,15 +12,15 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public static function resolveUsing($app)
14 14
     {
15
-        Paginator::viewFactoryResolver(function () use ($app) {
15
+        Paginator::viewFactoryResolver(function() use ($app) {
16 16
             return $app['view'];
17 17
         });
18 18
 
19
-        Paginator::currentPathResolver(function () use ($app) {
19
+        Paginator::currentPathResolver(function() use ($app) {
20 20
             return $app['request']->url();
21 21
         });
22 22
 
23
-        Paginator::currentPageResolver(function ($pageName = 'page') use ($app) {
23
+        Paginator::currentPageResolver(function($pageName = 'page') use ($app) {
24 24
             $page = $app['request']->input($pageName);
25 25
 
26 26
             if (filter_var($page, FILTER_VALIDATE_INT) !== false && (int) $page >= 1) {
@@ -30,11 +30,11 @@  discard block
 block discarded – undo
30 30
             return 1;
31 31
         });
32 32
 
33
-        Paginator::queryStringResolver(function () use ($app) {
33
+        Paginator::queryStringResolver(function() use ($app) {
34 34
             return $app['request']->query();
35 35
         });
36 36
 
37
-        CursorPaginator::currentCursorResolver(function ($cursorName = 'cursor') use ($app) {
37
+        CursorPaginator::currentCursorResolver(function($cursorName = 'cursor') use ($app) {
38 38
             return Cursor::fromEncoded($app['request']->input($cursorName));
39 39
         });
40 40
     }
Please login to merge, or discard this patch.
htdocs/includes/webklex/php-imap/vendor/illuminate/collections/Arr.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         foreach ($array as $values) {
52 52
             if ($values instanceof Collection) {
53 53
                 $values = $values->all();
54
-            } elseif (! is_array($values)) {
54
+            } elseif (!is_array($values)) {
55 55
                 continue;
56 56
             }
57 57
 
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
         $results = [];
112 112
 
113 113
         foreach ($array as $key => $value) {
114
-            if (is_array($value) && ! empty($value)) {
114
+            if (is_array($value) && !empty($value)) {
115 115
                 $results = array_merge($results, static::dot($value, $prepend.$key.'.'));
116 116
             } else {
117 117
                 $results[$prepend.$key] = $value;
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
         foreach ($array as $item) {
233 233
             $item = $item instanceof Collection ? $item->all() : $item;
234 234
 
235
-            if (! is_array($item)) {
235
+            if (!is_array($item)) {
236 236
                 $result[] = $item;
237 237
             } else {
238 238
                 $values = $depth === 1
@@ -302,7 +302,7 @@  discard block
 block discarded – undo
302 302
      */
303 303
     public static function get($array, $key, $default = null)
304 304
     {
305
-        if (! static::accessible($array)) {
305
+        if (!static::accessible($array)) {
306 306
             return value($default);
307 307
         }
308 308
 
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
     {
341 341
         $keys = (array) $keys;
342 342
 
343
-        if (! $array || $keys === []) {
343
+        if (!$array || $keys === []) {
344 344
             return false;
345 345
         }
346 346
 
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
 
379 379
         $keys = (array) $keys;
380 380
 
381
-        if (! $array) {
381
+        if (!$array) {
382 382
             return false;
383 383
         }
384 384
 
@@ -420,7 +420,7 @@  discard block
 block discarded – undo
420 420
      */
421 421
     public static function isList($array)
422 422
     {
423
-        return ! self::isAssoc($array);
423
+        return !self::isAssoc($array);
424 424
     }
425 425
 
426 426
     /**
@@ -609,7 +609,7 @@  discard block
 block discarded – undo
609 609
             // If the key doesn't exist at this depth, we will just create an empty array
610 610
             // to hold the next value, allowing us to create the arrays to hold final
611 611
             // values at the correct depth. Then we'll keep digging into the array.
612
-            if (! isset($array[$key]) || ! is_array($array[$key])) {
612
+            if (!isset($array[$key]) || !is_array($array[$key])) {
613 613
                 $array[$key] = [];
614 614
             }
615 615
 
@@ -725,8 +725,8 @@  discard block
 block discarded – undo
725 725
      */
726 726
     public static function whereNotNull($array)
727 727
     {
728
-        return static::where($array, function ($value) {
729
-            return ! is_null($value);
728
+        return static::where($array, function($value) {
729
+            return !is_null($value);
730 730
         });
731 731
     }
732 732
 
Please login to merge, or discard this patch.
htdocs/includes/webklex/php-imap/vendor/illuminate/collections/helpers.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 use Illuminate\Support\Arr;
4 4
 use Illuminate\Support\Collection;
5 5
 
6
-if (! function_exists('collect')) {
6
+if (!function_exists('collect')) {
7 7
     /**
8 8
      * Create a collection from the given value.
9 9
      *
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
     }
17 17
 }
18 18
 
19
-if (! function_exists('data_fill')) {
19
+if (!function_exists('data_fill')) {
20 20
     /**
21 21
      * Fill in data where it's missing.
22 22
      *
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     }
32 32
 }
33 33
 
34
-if (! function_exists('data_get')) {
34
+if (!function_exists('data_get')) {
35 35
     /**
36 36
      * Get an item from an array or object using "dot" notation.
37 37
      *
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
             if ($segment === '*') {
59 59
                 if ($target instanceof Collection) {
60 60
                     $target = $target->all();
61
-                } elseif (! is_array($target)) {
61
+                } elseif (!is_array($target)) {
62 62
                     return value($default);
63 63
                 }
64 64
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     }
85 85
 }
86 86
 
87
-if (! function_exists('data_set')) {
87
+if (!function_exists('data_set')) {
88 88
     /**
89 89
      * Set an item on an array or object using dot notation.
90 90
      *
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
         $segments = is_array($key) ? $key : explode('.', $key);
100 100
 
101 101
         if (($segment = array_shift($segments)) === '*') {
102
-            if (! Arr::accessible($target)) {
102
+            if (!Arr::accessible($target)) {
103 103
                 $target = [];
104 104
             }
105 105
 
@@ -114,22 +114,22 @@  discard block
 block discarded – undo
114 114
             }
115 115
         } elseif (Arr::accessible($target)) {
116 116
             if ($segments) {
117
-                if (! Arr::exists($target, $segment)) {
117
+                if (!Arr::exists($target, $segment)) {
118 118
                     $target[$segment] = [];
119 119
                 }
120 120
 
121 121
                 data_set($target[$segment], $segments, $value, $overwrite);
122
-            } elseif ($overwrite || ! Arr::exists($target, $segment)) {
122
+            } elseif ($overwrite || !Arr::exists($target, $segment)) {
123 123
                 $target[$segment] = $value;
124 124
             }
125 125
         } elseif (is_object($target)) {
126 126
             if ($segments) {
127
-                if (! isset($target->{$segment})) {
127
+                if (!isset($target->{$segment})) {
128 128
                     $target->{$segment} = [];
129 129
                 }
130 130
 
131 131
                 data_set($target->{$segment}, $segments, $value, $overwrite);
132
-            } elseif ($overwrite || ! isset($target->{$segment})) {
132
+            } elseif ($overwrite || !isset($target->{$segment})) {
133 133
                 $target->{$segment} = $value;
134 134
             }
135 135
         } else {
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     }
147 147
 }
148 148
 
149
-if (! function_exists('head')) {
149
+if (!function_exists('head')) {
150 150
     /**
151 151
      * Get the first element of an array. Useful for method chaining.
152 152
      *
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     }
160 160
 }
161 161
 
162
-if (! function_exists('last')) {
162
+if (!function_exists('last')) {
163 163
     /**
164 164
      * Get the last element from an array.
165 165
      *
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
     }
173 173
 }
174 174
 
175
-if (! function_exists('value')) {
175
+if (!function_exists('value')) {
176 176
     /**
177 177
      * Return the default value of the given value.
178 178
      *
Please login to merge, or discard this patch.