Completed
Push — master ( 8e973a...811a95 )
by
unknown
03:40 queued 01:04
created
php-scoper/vendor/jetbrains/phpstorm-stubs/parallel/parallel/Events.php 1 patch
Indentation   +82 added lines, -82 removed lines patch added patch discarded remove patch
@@ -16,98 +16,98 @@
 block discarded – undo
16 16
  */
17 17
 final class Events implements Countable, Traversable
18 18
 {
19
-    /* Input */
19
+	/* Input */
20 20
 
21
-    /**
22
-     * Shall set input for this event loop
23
-     * @param Events\Input $input
24
-     */
25
-    public function setInput(Input $input): void {}
21
+	/**
22
+	 * Shall set input for this event loop
23
+	 * @param Events\Input $input
24
+	 */
25
+	public function setInput(Input $input): void {}
26 26
 
27
-    /* Targets */
27
+	/* Targets */
28 28
 
29
-    /**
30
-     * Shall watch for events on the given channel
31
-     * @param Channel $channel
32
-     *
33
-     * @throws Events\Error\Existence if channel was already added.
34
-     */
35
-    public function addChannel(Channel $channel): void {}
29
+	/**
30
+	 * Shall watch for events on the given channel
31
+	 * @param Channel $channel
32
+	 *
33
+	 * @throws Events\Error\Existence if channel was already added.
34
+	 */
35
+	public function addChannel(Channel $channel): void {}
36 36
 
37
-    /**
38
-     * Shall watch for events on the given future
39
-     *
40
-     * @param string $name
41
-     * @param Future $future
42
-     *
43
-     * @throws Events\Error\Existence if target with the given name was already added.
44
-     */
45
-    public function addFuture(string $name, Future $future): void {}
37
+	/**
38
+	 * Shall watch for events on the given future
39
+	 *
40
+	 * @param string $name
41
+	 * @param Future $future
42
+	 *
43
+	 * @throws Events\Error\Existence if target with the given name was already added.
44
+	 */
45
+	public function addFuture(string $name, Future $future): void {}
46 46
 
47
-    /**
48
-     * Shall remove the given target
49
-     * @param string $target
50
-     *
51
-     * @throws Events\Error\Existence if target with the given name was not found.
52
-     */
53
-    public function remove(string $target): void {}
47
+	/**
48
+	 * Shall remove the given target
49
+	 * @param string $target
50
+	 *
51
+	 * @throws Events\Error\Existence if target with the given name was not found.
52
+	 */
53
+	public function remove(string $target): void {}
54 54
 
55
-    /* Behaviour */
55
+	/* Behaviour */
56 56
 
57
-    /**
58
-     * Shall set blocking mode
59
-     *
60
-     * By default when events are polled for, blocking will occur (at the PHP level) until the first event can be
61
-     * returned: Setting blocking mode to false will cause poll to return control if the first target polled is not
62
-     * ready.
63
-     *
64
-     * This differs from setting a timeout of 0 with @see Events::setTimeout(), since a timeout of 0, while
65
-     * allowed, will cause an exception to be raised, which may be extremely slow or wasteful if what is really desired
66
-     * is non-blocking behaviour.
67
-     *
68
-     * A non-blocking loop effects the return value of @see Events::poll(), such that it may be null before all events
69
-     * have been processed.
70
-     *
71
-     * @param bool $blocking
72
-     *
73
-     * @throws Events\Error if loop has timeout set.
74
-     */
75
-    public function setBlocking(bool $blocking): void {}
57
+	/**
58
+	 * Shall set blocking mode
59
+	 *
60
+	 * By default when events are polled for, blocking will occur (at the PHP level) until the first event can be
61
+	 * returned: Setting blocking mode to false will cause poll to return control if the first target polled is not
62
+	 * ready.
63
+	 *
64
+	 * This differs from setting a timeout of 0 with @see Events::setTimeout(), since a timeout of 0, while
65
+	 * allowed, will cause an exception to be raised, which may be extremely slow or wasteful if what is really desired
66
+	 * is non-blocking behaviour.
67
+	 *
68
+	 * A non-blocking loop effects the return value of @see Events::poll(), such that it may be null before all events
69
+	 * have been processed.
70
+	 *
71
+	 * @param bool $blocking
72
+	 *
73
+	 * @throws Events\Error if loop has timeout set.
74
+	 */
75
+	public function setBlocking(bool $blocking): void {}
76 76
 
77
-    /* Behaviour */
77
+	/* Behaviour */
78 78
 
79
-    /**
80
-     * Shall set the timeout in microseconds
81
-     *
82
-     * By default when events are polled for, blocking will occur (at the PHP level) until the first event can be
83
-     * returned: Setting the timeout causes an exception to be thrown when the timeout is reached.
84
-     *
85
-     * This differs from setting blocking mode to false with @see Events::setBlocking(), which will not cause an
86
-     * exception to be thrown.
87
-     *
88
-     * @throws Events\Error if loop is non-blocking.
89
-     *
90
-     * @param int $timeout
91
-     */
92
-    public function setTimeout(int $timeout): void {}
79
+	/**
80
+	 * Shall set the timeout in microseconds
81
+	 *
82
+	 * By default when events are polled for, blocking will occur (at the PHP level) until the first event can be
83
+	 * returned: Setting the timeout causes an exception to be thrown when the timeout is reached.
84
+	 *
85
+	 * This differs from setting blocking mode to false with @see Events::setBlocking(), which will not cause an
86
+	 * exception to be thrown.
87
+	 *
88
+	 * @throws Events\Error if loop is non-blocking.
89
+	 *
90
+	 * @param int $timeout
91
+	 */
92
+	public function setTimeout(int $timeout): void {}
93 93
 
94
-    /* Polling */
94
+	/* Polling */
95 95
 
96
-    /**
97
-     * Shall poll for the next event
98
-     *
99
-     * Should there be no targets remaining, null shall be returned
100
-     * Should this be a non-blocking loop, and blocking would occur, null shall be returned
101
-     * Otherwise, the Event returned describes the event.
102
-     *
103
-     * @return Event|null
104
-     *
105
-     * @throws Events\Error\Timeout if timeout is used and reached.
106
-     */
107
-    public function poll(): ?Event {}
96
+	/**
97
+	 * Shall poll for the next event
98
+	 *
99
+	 * Should there be no targets remaining, null shall be returned
100
+	 * Should this be a non-blocking loop, and blocking would occur, null shall be returned
101
+	 * Otherwise, the Event returned describes the event.
102
+	 *
103
+	 * @return Event|null
104
+	 *
105
+	 * @throws Events\Error\Timeout if timeout is used and reached.
106
+	 */
107
+	public function poll(): ?Event {}
108 108
 
109
-    /**
110
-     * @return int
111
-     */
112
-    public function count(): int {}
109
+	/**
110
+	 * @return int
111
+	 */
112
+	public function count(): int {}
113 113
 }
Please login to merge, or discard this patch.
php-scoper/vendor/jetbrains/phpstorm-stubs/parallel/parallel/Channel.php 2 patches
Indentation   +61 added lines, -61 removed lines patch added patch discarded remove patch
@@ -34,76 +34,76 @@
 block discarded – undo
34 34
  */
35 35
 final class Channel
36 36
 {
37
-    /**
38
-     * Constant for Infinitely Buffered
39
-     */
40
-    public const Infinite = -1;
37
+	/**
38
+	 * Constant for Infinitely Buffered
39
+	 */
40
+	public const Infinite = -1;
41 41
 
42
-    /* Anonymous Constructor */
42
+	/* Anonymous Constructor */
43 43
 
44
-    /**
45
-     * Shall make an anonymous unbuffered channel
46
-     * Shall make an anonymous buffered channel with the given capacity
47
-     *
48
-     * @param null|int $capacity May be Channel::Infinite or a positive integer
49
-     */
50
-    public function __construct(?int $capacity = null) {}
44
+	/**
45
+	 * Shall make an anonymous unbuffered channel
46
+	 * Shall make an anonymous buffered channel with the given capacity
47
+	 *
48
+	 * @param null|int $capacity May be Channel::Infinite or a positive integer
49
+	 */
50
+	public function __construct(?int $capacity = null) {}
51 51
 
52
-    /* Access */
52
+	/* Access */
53 53
 
54
-    /**
55
-     * Shall make an unbuffered channel with the given name
56
-     * Shall make a buffered channel with the given name and capacity
57
-     *
58
-     * @param string $name     The name of the channel.
59
-     * @param null|int $capacity May be Channel::Infinite or a positive integer
60
-     *
61
-     * @return Channel
62
-     *
63
-     * @throws Channel\Error\Existence if channel already exists.
64
-     */
65
-    public static function make(string $name, ?int $capacity = null): Channel {}
54
+	/**
55
+	 * Shall make an unbuffered channel with the given name
56
+	 * Shall make a buffered channel with the given name and capacity
57
+	 *
58
+	 * @param string $name     The name of the channel.
59
+	 * @param null|int $capacity May be Channel::Infinite or a positive integer
60
+	 *
61
+	 * @return Channel
62
+	 *
63
+	 * @throws Channel\Error\Existence if channel already exists.
64
+	 */
65
+	public static function make(string $name, ?int $capacity = null): Channel {}
66 66
 
67
-    /**
68
-     * Shall open the channel with the given name
69
-     *
70
-     * @param string $name
71
-     * @return Channel
72
-     *
73
-     * @throws Channel\Error\Existence if channel does not exist.
74
-     */
75
-    public static function open(string $name): Channel {}
67
+	/**
68
+	 * Shall open the channel with the given name
69
+	 *
70
+	 * @param string $name
71
+	 * @return Channel
72
+	 *
73
+	 * @throws Channel\Error\Existence if channel does not exist.
74
+	 */
75
+	public static function open(string $name): Channel {}
76 76
 
77
-    /* Sharing */
77
+	/* Sharing */
78 78
 
79
-    /**
80
-     * Shall send the given value on this channel
81
-     * @param mixed $value
82
-     *
83
-     * @throws Channel\Error\Closed if channel is closed.
84
-     * @throws Channel\Error\IllegalValue if value is illegal.
85
-     */
86
-    public function send($value): void {}
79
+	/**
80
+	 * Shall send the given value on this channel
81
+	 * @param mixed $value
82
+	 *
83
+	 * @throws Channel\Error\Closed if channel is closed.
84
+	 * @throws Channel\Error\IllegalValue if value is illegal.
85
+	 */
86
+	public function send($value): void {}
87 87
 
88
-    /**
89
-     * Shall recv a value from this channel
90
-     * @return mixed
91
-     *
92
-     * @throws Channel\Error\Closed if channel is closed.
93
-     */
94
-    public function recv() {}
88
+	/**
89
+	 * Shall recv a value from this channel
90
+	 * @return mixed
91
+	 *
92
+	 * @throws Channel\Error\Closed if channel is closed.
93
+	 */
94
+	public function recv() {}
95 95
 
96
-    /* Closing */
96
+	/* Closing */
97 97
 
98
-    /**
99
-     * Shall close this channel
100
-     * @throws Channel\Error\Closed if channel is closed.
101
-     */
102
-    public function close(): void {}
98
+	/**
99
+	 * Shall close this channel
100
+	 * @throws Channel\Error\Closed if channel is closed.
101
+	 */
102
+	public function close(): void {}
103 103
 
104
-    /**
105
-     * Returns name of channel
106
-     * @return string
107
-     */
108
-    public function __toString(): string {}
104
+	/**
105
+	 * Returns name of channel
106
+	 * @return string
107
+	 */
108
+	public function __toString(): string {}
109 109
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,7 @@
 block discarded – undo
32 32
  * The anonymous channel constructor allows the programmer to avoid assigning names to every channel: parallel will
33 33
  *     generate a unique name for anonymous channels.
34 34
  */
35
-final class Channel
36
-{
35
+final class Channel {
37 36
     /**
38 37
      * Constant for Infinitely Buffered
39 38
      */
Please login to merge, or discard this patch.
vendor-bin/php-scoper/vendor/jetbrains/phpstorm-stubs/imagick/imagick.php 2 patches
Indentation   +7273 added lines, -7273 removed lines patch added patch discarded remove patch
@@ -22,5227 +22,5227 @@  discard block
 block discarded – undo
22 22
  */
23 23
 class Imagick implements Iterator, Countable
24 24
 {
25
-    public const COLOR_BLACK = 11;
26
-    public const COLOR_BLUE = 12;
27
-    public const COLOR_CYAN = 13;
28
-    public const COLOR_GREEN = 14;
29
-    public const COLOR_RED = 15;
30
-    public const COLOR_YELLOW = 16;
31
-    public const COLOR_MAGENTA = 17;
32
-    public const COLOR_OPACITY = 18;
33
-    public const COLOR_ALPHA = 19;
34
-    public const COLOR_FUZZ = 20;
35
-    public const IMAGICK_EXTNUM = 30403;
36
-    public const IMAGICK_EXTVER = "3.4.3";
37
-    public const QUANTUM_RANGE = 65535;
38
-    public const USE_ZEND_MM = 0;
39
-    public const COMPOSITE_DEFAULT = 40;
40
-    public const COMPOSITE_UNDEFINED = 0;
41
-    public const COMPOSITE_NO = 1;
42
-    public const COMPOSITE_ADD = 2;
43
-    public const COMPOSITE_ATOP = 3;
44
-    public const COMPOSITE_BLEND = 4;
45
-    public const COMPOSITE_BUMPMAP = 5;
46
-    public const COMPOSITE_CLEAR = 7;
47
-    public const COMPOSITE_COLORBURN = 8;
48
-    public const COMPOSITE_COLORDODGE = 9;
49
-    public const COMPOSITE_COLORIZE = 10;
50
-    public const COMPOSITE_COPYBLACK = 11;
51
-    public const COMPOSITE_COPYBLUE = 12;
52
-    public const COMPOSITE_COPY = 13;
53
-    public const COMPOSITE_COPYCYAN = 14;
54
-    public const COMPOSITE_COPYGREEN = 15;
55
-    public const COMPOSITE_COPYMAGENTA = 16;
56
-    public const COMPOSITE_COPYOPACITY = 17;
57
-    public const COMPOSITE_COPYRED = 18;
58
-    public const COMPOSITE_COPYYELLOW = 19;
59
-    public const COMPOSITE_DARKEN = 20;
60
-    public const COMPOSITE_DSTATOP = 21;
61
-    public const COMPOSITE_DST = 22;
62
-    public const COMPOSITE_DSTIN = 23;
63
-    public const COMPOSITE_DSTOUT = 24;
64
-    public const COMPOSITE_DSTOVER = 25;
65
-    public const COMPOSITE_DIFFERENCE = 26;
66
-    public const COMPOSITE_DISPLACE = 27;
67
-    public const COMPOSITE_DISSOLVE = 28;
68
-    public const COMPOSITE_EXCLUSION = 29;
69
-    public const COMPOSITE_HARDLIGHT = 30;
70
-    public const COMPOSITE_HUE = 31;
71
-    public const COMPOSITE_IN = 32;
72
-    public const COMPOSITE_LIGHTEN = 33;
73
-    public const COMPOSITE_LUMINIZE = 35;
74
-    public const COMPOSITE_MINUS = 36;
75
-    public const COMPOSITE_MODULATE = 37;
76
-    public const COMPOSITE_MULTIPLY = 38;
77
-    public const COMPOSITE_OUT = 39;
78
-    public const COMPOSITE_OVER = 40;
79
-    public const COMPOSITE_OVERLAY = 41;
80
-    public const COMPOSITE_PLUS = 42;
81
-    public const COMPOSITE_REPLACE = 43;
82
-    public const COMPOSITE_SATURATE = 44;
83
-    public const COMPOSITE_SCREEN = 45;
84
-    public const COMPOSITE_SOFTLIGHT = 46;
85
-    public const COMPOSITE_SRCATOP = 47;
86
-    public const COMPOSITE_SRC = 48;
87
-    public const COMPOSITE_SRCIN = 49;
88
-    public const COMPOSITE_SRCOUT = 50;
89
-    public const COMPOSITE_SRCOVER = 51;
90
-    public const COMPOSITE_SUBTRACT = 52;
91
-    public const COMPOSITE_THRESHOLD = 53;
92
-    public const COMPOSITE_XOR = 54;
93
-    public const COMPOSITE_CHANGEMASK = 6;
94
-    public const COMPOSITE_LINEARLIGHT = 34;
95
-    public const COMPOSITE_DIVIDE = 55;
96
-    public const COMPOSITE_DISTORT = 56;
97
-    public const COMPOSITE_BLUR = 57;
98
-    public const COMPOSITE_PEGTOPLIGHT = 58;
99
-    public const COMPOSITE_VIVIDLIGHT = 59;
100
-    public const COMPOSITE_PINLIGHT = 60;
101
-    public const COMPOSITE_LINEARDODGE = 61;
102
-    public const COMPOSITE_LINEARBURN = 62;
103
-    public const COMPOSITE_MATHEMATICS = 63;
104
-    public const COMPOSITE_MODULUSADD = 2;
105
-    public const COMPOSITE_MODULUSSUBTRACT = 52;
106
-    public const COMPOSITE_MINUSDST = 36;
107
-    public const COMPOSITE_DIVIDEDST = 55;
108
-    public const COMPOSITE_DIVIDESRC = 64;
109
-    public const COMPOSITE_MINUSSRC = 65;
110
-    public const COMPOSITE_DARKENINTENSITY = 66;
111
-    public const COMPOSITE_LIGHTENINTENSITY = 67;
112
-    public const MONTAGEMODE_FRAME = 1;
113
-    public const MONTAGEMODE_UNFRAME = 2;
114
-    public const MONTAGEMODE_CONCATENATE = 3;
115
-    public const STYLE_NORMAL = 1;
116
-    public const STYLE_ITALIC = 2;
117
-    public const STYLE_OBLIQUE = 3;
118
-    public const STYLE_ANY = 4;
119
-    public const FILTER_UNDEFINED = 0;
120
-    public const FILTER_POINT = 1;
121
-    public const FILTER_BOX = 2;
122
-    public const FILTER_TRIANGLE = 3;
123
-    public const FILTER_HERMITE = 4;
124
-    public const FILTER_HANNING = 5;
125
-    public const FILTER_HAMMING = 6;
126
-    public const FILTER_BLACKMAN = 7;
127
-    public const FILTER_GAUSSIAN = 8;
128
-    public const FILTER_QUADRATIC = 9;
129
-    public const FILTER_CUBIC = 10;
130
-    public const FILTER_CATROM = 11;
131
-    public const FILTER_MITCHELL = 12;
132
-    public const FILTER_LANCZOS = 22;
133
-    public const FILTER_BESSEL = 13;
134
-    public const FILTER_SINC = 14;
135
-    public const FILTER_KAISER = 16;
136
-    public const FILTER_WELSH = 17;
137
-    public const FILTER_PARZEN = 18;
138
-    public const FILTER_LAGRANGE = 21;
139
-    public const FILTER_SENTINEL = 31;
140
-    public const FILTER_BOHMAN = 19;
141
-    public const FILTER_BARTLETT = 20;
142
-    public const FILTER_JINC = 13;
143
-    public const FILTER_SINCFAST = 15;
144
-    public const FILTER_ROBIDOUX = 26;
145
-    public const FILTER_LANCZOSSHARP = 23;
146
-    public const FILTER_LANCZOS2 = 24;
147
-    public const FILTER_LANCZOS2SHARP = 25;
148
-    public const FILTER_ROBIDOUXSHARP = 27;
149
-    public const FILTER_COSINE = 28;
150
-    public const FILTER_SPLINE = 29;
151
-    public const FILTER_LANCZOSRADIUS = 30;
152
-    public const IMGTYPE_UNDEFINED = 0;
153
-    public const IMGTYPE_BILEVEL = 1;
154
-    public const IMGTYPE_GRAYSCALE = 2;
155
-    public const IMGTYPE_GRAYSCALEMATTE = 3;
156
-    public const IMGTYPE_PALETTE = 4;
157
-    public const IMGTYPE_PALETTEMATTE = 5;
158
-    public const IMGTYPE_TRUECOLOR = 6;
159
-    public const IMGTYPE_TRUECOLORMATTE = 7;
160
-    public const IMGTYPE_COLORSEPARATION = 8;
161
-    public const IMGTYPE_COLORSEPARATIONMATTE = 9;
162
-    public const IMGTYPE_OPTIMIZE = 10;
163
-    public const IMGTYPE_PALETTEBILEVELMATTE = 11;
164
-    public const RESOLUTION_UNDEFINED = 0;
165
-    public const RESOLUTION_PIXELSPERINCH = 1;
166
-    public const RESOLUTION_PIXELSPERCENTIMETER = 2;
167
-    public const COMPRESSION_UNDEFINED = 0;
168
-    public const COMPRESSION_NO = 1;
169
-    public const COMPRESSION_BZIP = 2;
170
-    public const COMPRESSION_FAX = 6;
171
-    public const COMPRESSION_GROUP4 = 7;
172
-    public const COMPRESSION_JPEG = 8;
173
-    public const COMPRESSION_JPEG2000 = 9;
174
-    public const COMPRESSION_LOSSLESSJPEG = 10;
175
-    public const COMPRESSION_LZW = 11;
176
-    public const COMPRESSION_RLE = 12;
177
-    public const COMPRESSION_ZIP = 13;
178
-    public const COMPRESSION_DXT1 = 3;
179
-    public const COMPRESSION_DXT3 = 4;
180
-    public const COMPRESSION_DXT5 = 5;
181
-    public const COMPRESSION_ZIPS = 14;
182
-    public const COMPRESSION_PIZ = 15;
183
-    public const COMPRESSION_PXR24 = 16;
184
-    public const COMPRESSION_B44 = 17;
185
-    public const COMPRESSION_B44A = 18;
186
-    public const COMPRESSION_LZMA = 19;
187
-    public const COMPRESSION_JBIG1 = 20;
188
-    public const COMPRESSION_JBIG2 = 21;
189
-    public const PAINT_POINT = 1;
190
-    public const PAINT_REPLACE = 2;
191
-    public const PAINT_FLOODFILL = 3;
192
-    public const PAINT_FILLTOBORDER = 4;
193
-    public const PAINT_RESET = 5;
194
-    public const GRAVITY_NORTHWEST = 1;
195
-    public const GRAVITY_NORTH = 2;
196
-    public const GRAVITY_NORTHEAST = 3;
197
-    public const GRAVITY_WEST = 4;
198
-    public const GRAVITY_CENTER = 5;
199
-    public const GRAVITY_EAST = 6;
200
-    public const GRAVITY_SOUTHWEST = 7;
201
-    public const GRAVITY_SOUTH = 8;
202
-    public const GRAVITY_SOUTHEAST = 9;
203
-    public const GRAVITY_FORGET = 0;
204
-    public const GRAVITY_STATIC = 10;
205
-    public const STRETCH_NORMAL = 1;
206
-    public const STRETCH_ULTRACONDENSED = 2;
207
-    public const STRETCH_EXTRACONDENSED = 3;
208
-    public const STRETCH_CONDENSED = 4;
209
-    public const STRETCH_SEMICONDENSED = 5;
210
-    public const STRETCH_SEMIEXPANDED = 6;
211
-    public const STRETCH_EXPANDED = 7;
212
-    public const STRETCH_EXTRAEXPANDED = 8;
213
-    public const STRETCH_ULTRAEXPANDED = 9;
214
-    public const STRETCH_ANY = 10;
215
-    public const ALIGN_UNDEFINED = 0;
216
-    public const ALIGN_LEFT = 1;
217
-    public const ALIGN_CENTER = 2;
218
-    public const ALIGN_RIGHT = 3;
219
-    public const DECORATION_NO = 1;
220
-    public const DECORATION_UNDERLINE = 2;
221
-    public const DECORATION_OVERLINE = 3;
222
-    public const DECORATION_LINETROUGH = 4;
223
-    public const DECORATION_LINETHROUGH = 4;
224
-    public const NOISE_UNIFORM = 1;
225
-    public const NOISE_GAUSSIAN = 2;
226
-    public const NOISE_MULTIPLICATIVEGAUSSIAN = 3;
227
-    public const NOISE_IMPULSE = 4;
228
-    public const NOISE_LAPLACIAN = 5;
229
-    public const NOISE_POISSON = 6;
230
-    public const NOISE_RANDOM = 7;
231
-    public const CHANNEL_UNDEFINED = 0;
232
-    public const CHANNEL_RED = 1;
233
-    public const CHANNEL_GRAY = 1;
234
-    public const CHANNEL_CYAN = 1;
235
-    public const CHANNEL_GREEN = 2;
236
-    public const CHANNEL_MAGENTA = 2;
237
-    public const CHANNEL_BLUE = 4;
238
-    public const CHANNEL_YELLOW = 4;
239
-    public const CHANNEL_ALPHA = 8;
240
-    public const CHANNEL_OPACITY = 8;
241
-    public const CHANNEL_MATTE = 8;
242
-    public const CHANNEL_BLACK = 32;
243
-    public const CHANNEL_INDEX = 32;
244
-    public const CHANNEL_ALL = 134217727;
245
-    public const CHANNEL_DEFAULT = 134217719;
246
-    public const CHANNEL_RGBA = 15;
247
-    public const CHANNEL_TRUEALPHA = 64;
248
-    public const CHANNEL_RGBS = 128;
249
-    public const CHANNEL_GRAY_CHANNELS = 128;
250
-    public const CHANNEL_SYNC = 256;
251
-    public const CHANNEL_COMPOSITES = 47;
252
-    public const METRIC_UNDEFINED = 0;
253
-    public const METRIC_ABSOLUTEERRORMETRIC = 1;
254
-    public const METRIC_MEANABSOLUTEERROR = 2;
255
-    public const METRIC_MEANERRORPERPIXELMETRIC = 3;
256
-    public const METRIC_MEANSQUAREERROR = 4;
257
-    public const METRIC_PEAKABSOLUTEERROR = 5;
258
-    public const METRIC_PEAKSIGNALTONOISERATIO = 6;
259
-    public const METRIC_ROOTMEANSQUAREDERROR = 7;
260
-    public const METRIC_NORMALIZEDCROSSCORRELATIONERRORMETRIC = 8;
261
-    public const METRIC_FUZZERROR = 9;
262
-    public const PIXEL_CHAR = 1;
263
-    public const PIXEL_DOUBLE = 2;
264
-    public const PIXEL_FLOAT = 3;
265
-    public const PIXEL_INTEGER = 4;
266
-    public const PIXEL_LONG = 5;
267
-    public const PIXEL_QUANTUM = 6;
268
-    public const PIXEL_SHORT = 7;
269
-    public const EVALUATE_UNDEFINED = 0;
270
-    public const EVALUATE_ADD = 1;
271
-    public const EVALUATE_AND = 2;
272
-    public const EVALUATE_DIVIDE = 3;
273
-    public const EVALUATE_LEFTSHIFT = 4;
274
-    public const EVALUATE_MAX = 5;
275
-    public const EVALUATE_MIN = 6;
276
-    public const EVALUATE_MULTIPLY = 7;
277
-    public const EVALUATE_OR = 8;
278
-    public const EVALUATE_RIGHTSHIFT = 9;
279
-    public const EVALUATE_SET = 10;
280
-    public const EVALUATE_SUBTRACT = 11;
281
-    public const EVALUATE_XOR = 12;
282
-    public const EVALUATE_POW = 13;
283
-    public const EVALUATE_LOG = 14;
284
-    public const EVALUATE_THRESHOLD = 15;
285
-    public const EVALUATE_THRESHOLDBLACK = 16;
286
-    public const EVALUATE_THRESHOLDWHITE = 17;
287
-    public const EVALUATE_GAUSSIANNOISE = 18;
288
-    public const EVALUATE_IMPULSENOISE = 19;
289
-    public const EVALUATE_LAPLACIANNOISE = 20;
290
-    public const EVALUATE_MULTIPLICATIVENOISE = 21;
291
-    public const EVALUATE_POISSONNOISE = 22;
292
-    public const EVALUATE_UNIFORMNOISE = 23;
293
-    public const EVALUATE_COSINE = 24;
294
-    public const EVALUATE_SINE = 25;
295
-    public const EVALUATE_ADDMODULUS = 26;
296
-    public const EVALUATE_MEAN = 27;
297
-    public const EVALUATE_ABS = 28;
298
-    public const EVALUATE_EXPONENTIAL = 29;
299
-    public const EVALUATE_MEDIAN = 30;
300
-    public const EVALUATE_SUM = 31;
301
-    public const COLORSPACE_UNDEFINED = 0;
302
-    public const COLORSPACE_RGB = 1;
303
-    public const COLORSPACE_GRAY = 2;
304
-    public const COLORSPACE_TRANSPARENT = 3;
305
-    public const COLORSPACE_OHTA = 4;
306
-    public const COLORSPACE_LAB = 5;
307
-    public const COLORSPACE_XYZ = 6;
308
-    public const COLORSPACE_YCBCR = 7;
309
-    public const COLORSPACE_YCC = 8;
310
-    public const COLORSPACE_YIQ = 9;
311
-    public const COLORSPACE_YPBPR = 10;
312
-    public const COLORSPACE_YUV = 11;
313
-    public const COLORSPACE_CMYK = 12;
314
-    public const COLORSPACE_SRGB = 13;
315
-    public const COLORSPACE_HSB = 14;
316
-    public const COLORSPACE_HSL = 15;
317
-    public const COLORSPACE_HWB = 16;
318
-    public const COLORSPACE_REC601LUMA = 17;
319
-    public const COLORSPACE_REC709LUMA = 19;
320
-    public const COLORSPACE_LOG = 21;
321
-    public const COLORSPACE_CMY = 22;
322
-    public const COLORSPACE_LUV = 23;
323
-    public const COLORSPACE_HCL = 24;
324
-    public const COLORSPACE_LCH = 25;
325
-    public const COLORSPACE_LMS = 26;
326
-    public const COLORSPACE_LCHAB = 27;
327
-    public const COLORSPACE_LCHUV = 28;
328
-    public const COLORSPACE_SCRGB = 29;
329
-    public const COLORSPACE_HSI = 30;
330
-    public const COLORSPACE_HSV = 31;
331
-    public const COLORSPACE_HCLP = 32;
332
-    public const COLORSPACE_YDBDR = 33;
333
-    public const COLORSPACE_REC601YCBCR = 18;
334
-    public const COLORSPACE_REC709YCBCR = 20;
335
-    public const VIRTUALPIXELMETHOD_UNDEFINED = 0;
336
-    public const VIRTUALPIXELMETHOD_BACKGROUND = 1;
337
-    public const VIRTUALPIXELMETHOD_CONSTANT = 2;
338
-    public const VIRTUALPIXELMETHOD_EDGE = 4;
339
-    public const VIRTUALPIXELMETHOD_MIRROR = 5;
340
-    public const VIRTUALPIXELMETHOD_TILE = 7;
341
-    public const VIRTUALPIXELMETHOD_TRANSPARENT = 8;
342
-    public const VIRTUALPIXELMETHOD_MASK = 9;
343
-    public const VIRTUALPIXELMETHOD_BLACK = 10;
344
-    public const VIRTUALPIXELMETHOD_GRAY = 11;
345
-    public const VIRTUALPIXELMETHOD_WHITE = 12;
346
-    public const VIRTUALPIXELMETHOD_HORIZONTALTILE = 13;
347
-    public const VIRTUALPIXELMETHOD_VERTICALTILE = 14;
348
-    public const VIRTUALPIXELMETHOD_HORIZONTALTILEEDGE = 15;
349
-    public const VIRTUALPIXELMETHOD_VERTICALTILEEDGE = 16;
350
-    public const VIRTUALPIXELMETHOD_CHECKERTILE = 17;
351
-    public const PREVIEW_UNDEFINED = 0;
352
-    public const PREVIEW_ROTATE = 1;
353
-    public const PREVIEW_SHEAR = 2;
354
-    public const PREVIEW_ROLL = 3;
355
-    public const PREVIEW_HUE = 4;
356
-    public const PREVIEW_SATURATION = 5;
357
-    public const PREVIEW_BRIGHTNESS = 6;
358
-    public const PREVIEW_GAMMA = 7;
359
-    public const PREVIEW_SPIFF = 8;
360
-    public const PREVIEW_DULL = 9;
361
-    public const PREVIEW_GRAYSCALE = 10;
362
-    public const PREVIEW_QUANTIZE = 11;
363
-    public const PREVIEW_DESPECKLE = 12;
364
-    public const PREVIEW_REDUCENOISE = 13;
365
-    public const PREVIEW_ADDNOISE = 14;
366
-    public const PREVIEW_SHARPEN = 15;
367
-    public const PREVIEW_BLUR = 16;
368
-    public const PREVIEW_THRESHOLD = 17;
369
-    public const PREVIEW_EDGEDETECT = 18;
370
-    public const PREVIEW_SPREAD = 19;
371
-    public const PREVIEW_SOLARIZE = 20;
372
-    public const PREVIEW_SHADE = 21;
373
-    public const PREVIEW_RAISE = 22;
374
-    public const PREVIEW_SEGMENT = 23;
375
-    public const PREVIEW_SWIRL = 24;
376
-    public const PREVIEW_IMPLODE = 25;
377
-    public const PREVIEW_WAVE = 26;
378
-    public const PREVIEW_OILPAINT = 27;
379
-    public const PREVIEW_CHARCOALDRAWING = 28;
380
-    public const PREVIEW_JPEG = 29;
381
-    public const RENDERINGINTENT_UNDEFINED = 0;
382
-    public const RENDERINGINTENT_SATURATION = 1;
383
-    public const RENDERINGINTENT_PERCEPTUAL = 2;
384
-    public const RENDERINGINTENT_ABSOLUTE = 3;
385
-    public const RENDERINGINTENT_RELATIVE = 4;
386
-    public const INTERLACE_UNDEFINED = 0;
387
-    public const INTERLACE_NO = 1;
388
-    public const INTERLACE_LINE = 2;
389
-    public const INTERLACE_PLANE = 3;
390
-    public const INTERLACE_PARTITION = 4;
391
-    public const INTERLACE_GIF = 5;
392
-    public const INTERLACE_JPEG = 6;
393
-    public const INTERLACE_PNG = 7;
394
-    public const FILLRULE_UNDEFINED = 0;
395
-    public const FILLRULE_EVENODD = 1;
396
-    public const FILLRULE_NONZERO = 2;
397
-    public const PATHUNITS_UNDEFINED = 0;
398
-    public const PATHUNITS_USERSPACE = 1;
399
-    public const PATHUNITS_USERSPACEONUSE = 2;
400
-    public const PATHUNITS_OBJECTBOUNDINGBOX = 3;
401
-    public const LINECAP_UNDEFINED = 0;
402
-    public const LINECAP_BUTT = 1;
403
-    public const LINECAP_ROUND = 2;
404
-    public const LINECAP_SQUARE = 3;
405
-    public const LINEJOIN_UNDEFINED = 0;
406
-    public const LINEJOIN_MITER = 1;
407
-    public const LINEJOIN_ROUND = 2;
408
-    public const LINEJOIN_BEVEL = 3;
409
-    public const RESOURCETYPE_UNDEFINED = 0;
410
-    public const RESOURCETYPE_AREA = 1;
411
-    public const RESOURCETYPE_DISK = 2;
412
-    public const RESOURCETYPE_FILE = 3;
413
-    public const RESOURCETYPE_MAP = 4;
414
-    public const RESOURCETYPE_MEMORY = 5;
415
-    public const RESOURCETYPE_TIME = 7;
416
-    public const RESOURCETYPE_THROTTLE = 8;
417
-    public const RESOURCETYPE_THREAD = 6;
418
-    public const DISPOSE_UNRECOGNIZED = 0;
419
-    public const DISPOSE_UNDEFINED = 0;
420
-    public const DISPOSE_NONE = 1;
421
-    public const DISPOSE_BACKGROUND = 2;
422
-    public const DISPOSE_PREVIOUS = 3;
423
-    public const INTERPOLATE_UNDEFINED = 0;
424
-    public const INTERPOLATE_AVERAGE = 1;
425
-    public const INTERPOLATE_BICUBIC = 2;
426
-    public const INTERPOLATE_BILINEAR = 3;
427
-    public const INTERPOLATE_FILTER = 4;
428
-    public const INTERPOLATE_INTEGER = 5;
429
-    public const INTERPOLATE_MESH = 6;
430
-    public const INTERPOLATE_NEARESTNEIGHBOR = 7;
431
-    public const INTERPOLATE_SPLINE = 8;
432
-    public const LAYERMETHOD_UNDEFINED = 0;
433
-    public const LAYERMETHOD_COALESCE = 1;
434
-    public const LAYERMETHOD_COMPAREANY = 2;
435
-    public const LAYERMETHOD_COMPARECLEAR = 3;
436
-    public const LAYERMETHOD_COMPAREOVERLAY = 4;
437
-    public const LAYERMETHOD_DISPOSE = 5;
438
-    public const LAYERMETHOD_OPTIMIZE = 6;
439
-    public const LAYERMETHOD_OPTIMIZEPLUS = 8;
440
-    public const LAYERMETHOD_OPTIMIZETRANS = 9;
441
-    public const LAYERMETHOD_COMPOSITE = 12;
442
-    public const LAYERMETHOD_OPTIMIZEIMAGE = 7;
443
-    public const LAYERMETHOD_REMOVEDUPS = 10;
444
-    public const LAYERMETHOD_REMOVEZERO = 11;
445
-    public const LAYERMETHOD_TRIMBOUNDS = 16;
446
-    public const ORIENTATION_UNDEFINED = 0;
447
-    public const ORIENTATION_TOPLEFT = 1;
448
-    public const ORIENTATION_TOPRIGHT = 2;
449
-    public const ORIENTATION_BOTTOMRIGHT = 3;
450
-    public const ORIENTATION_BOTTOMLEFT = 4;
451
-    public const ORIENTATION_LEFTTOP = 5;
452
-    public const ORIENTATION_RIGHTTOP = 6;
453
-    public const ORIENTATION_RIGHTBOTTOM = 7;
454
-    public const ORIENTATION_LEFTBOTTOM = 8;
455
-    public const DISTORTION_UNDEFINED = 0;
456
-    public const DISTORTION_AFFINE = 1;
457
-    public const DISTORTION_AFFINEPROJECTION = 2;
458
-    public const DISTORTION_ARC = 9;
459
-    public const DISTORTION_BILINEAR = 6;
460
-    public const DISTORTION_PERSPECTIVE = 4;
461
-    public const DISTORTION_PERSPECTIVEPROJECTION = 5;
462
-    public const DISTORTION_SCALEROTATETRANSLATE = 3;
463
-    public const DISTORTION_POLYNOMIAL = 8;
464
-    public const DISTORTION_POLAR = 10;
465
-    public const DISTORTION_DEPOLAR = 11;
466
-    public const DISTORTION_BARREL = 14;
467
-    public const DISTORTION_SHEPARDS = 16;
468
-    public const DISTORTION_SENTINEL = 18;
469
-    public const DISTORTION_BARRELINVERSE = 15;
470
-    public const DISTORTION_BILINEARFORWARD = 6;
471
-    public const DISTORTION_BILINEARREVERSE = 7;
472
-    public const DISTORTION_RESIZE = 17;
473
-    public const DISTORTION_CYLINDER2PLANE = 12;
474
-    public const DISTORTION_PLANE2CYLINDER = 13;
475
-    public const LAYERMETHOD_MERGE = 13;
476
-    public const LAYERMETHOD_FLATTEN = 14;
477
-    public const LAYERMETHOD_MOSAIC = 15;
478
-    public const ALPHACHANNEL_ACTIVATE = 1;
479
-    public const ALPHACHANNEL_RESET = 7;
480
-    public const ALPHACHANNEL_SET = 8;
481
-    public const ALPHACHANNEL_UNDEFINED = 0;
482
-    public const ALPHACHANNEL_COPY = 3;
483
-    public const ALPHACHANNEL_DEACTIVATE = 4;
484
-    public const ALPHACHANNEL_EXTRACT = 5;
485
-    public const ALPHACHANNEL_OPAQUE = 6;
486
-    public const ALPHACHANNEL_SHAPE = 9;
487
-    public const ALPHACHANNEL_TRANSPARENT = 10;
488
-    public const SPARSECOLORMETHOD_UNDEFINED = 0;
489
-    public const SPARSECOLORMETHOD_BARYCENTRIC = 1;
490
-    public const SPARSECOLORMETHOD_BILINEAR = 7;
491
-    public const SPARSECOLORMETHOD_POLYNOMIAL = 8;
492
-    public const SPARSECOLORMETHOD_SPEPARDS = 16;
493
-    public const SPARSECOLORMETHOD_VORONOI = 18;
494
-    public const SPARSECOLORMETHOD_INVERSE = 19;
495
-    public const DITHERMETHOD_UNDEFINED = 0;
496
-    public const DITHERMETHOD_NO = 1;
497
-    public const DITHERMETHOD_RIEMERSMA = 2;
498
-    public const DITHERMETHOD_FLOYDSTEINBERG = 3;
499
-    public const FUNCTION_UNDEFINED = 0;
500
-    public const FUNCTION_POLYNOMIAL = 1;
501
-    public const FUNCTION_SINUSOID = 2;
502
-    public const ALPHACHANNEL_BACKGROUND = 2;
503
-    public const FUNCTION_ARCSIN = 3;
504
-    public const FUNCTION_ARCTAN = 4;
505
-    public const ALPHACHANNEL_FLATTEN = 11;
506
-    public const ALPHACHANNEL_REMOVE = 12;
507
-    public const STATISTIC_GRADIENT = 1;
508
-    public const STATISTIC_MAXIMUM = 2;
509
-    public const STATISTIC_MEAN = 3;
510
-    public const STATISTIC_MEDIAN = 4;
511
-    public const STATISTIC_MINIMUM = 5;
512
-    public const STATISTIC_MODE = 6;
513
-    public const STATISTIC_NONPEAK = 7;
514
-    public const STATISTIC_STANDARD_DEVIATION = 8;
515
-    public const MORPHOLOGY_CONVOLVE = 1;
516
-    public const MORPHOLOGY_CORRELATE = 2;
517
-    public const MORPHOLOGY_ERODE = 3;
518
-    public const MORPHOLOGY_DILATE = 4;
519
-    public const MORPHOLOGY_ERODE_INTENSITY = 5;
520
-    public const MORPHOLOGY_DILATE_INTENSITY = 6;
521
-    public const MORPHOLOGY_DISTANCE = 7;
522
-    public const MORPHOLOGY_OPEN = 8;
523
-    public const MORPHOLOGY_CLOSE = 9;
524
-    public const MORPHOLOGY_OPEN_INTENSITY = 10;
525
-    public const MORPHOLOGY_CLOSE_INTENSITY = 11;
526
-    public const MORPHOLOGY_SMOOTH = 12;
527
-    public const MORPHOLOGY_EDGE_IN = 13;
528
-    public const MORPHOLOGY_EDGE_OUT = 14;
529
-    public const MORPHOLOGY_EDGE = 15;
530
-    public const MORPHOLOGY_TOP_HAT = 16;
531
-    public const MORPHOLOGY_BOTTOM_HAT = 17;
532
-    public const MORPHOLOGY_HIT_AND_MISS = 18;
533
-    public const MORPHOLOGY_THINNING = 19;
534
-    public const MORPHOLOGY_THICKEN = 20;
535
-    public const MORPHOLOGY_VORONOI = 21;
536
-    public const MORPHOLOGY_ITERATIVE = 22;
537
-    public const KERNEL_UNITY = 1;
538
-    public const KERNEL_GAUSSIAN = 2;
539
-    public const KERNEL_DIFFERENCE_OF_GAUSSIANS = 3;
540
-    public const KERNEL_LAPLACIAN_OF_GAUSSIANS = 4;
541
-    public const KERNEL_BLUR = 5;
542
-    public const KERNEL_COMET = 6;
543
-    public const KERNEL_LAPLACIAN = 7;
544
-    public const KERNEL_SOBEL = 8;
545
-    public const KERNEL_FREI_CHEN = 9;
546
-    public const KERNEL_ROBERTS = 10;
547
-    public const KERNEL_PREWITT = 11;
548
-    public const KERNEL_COMPASS = 12;
549
-    public const KERNEL_KIRSCH = 13;
550
-    public const KERNEL_DIAMOND = 14;
551
-    public const KERNEL_SQUARE = 15;
552
-    public const KERNEL_RECTANGLE = 16;
553
-    public const KERNEL_OCTAGON = 17;
554
-    public const KERNEL_DISK = 18;
555
-    public const KERNEL_PLUS = 19;
556
-    public const KERNEL_CROSS = 20;
557
-    public const KERNEL_RING = 21;
558
-    public const KERNEL_PEAKS = 22;
559
-    public const KERNEL_EDGES = 23;
560
-    public const KERNEL_CORNERS = 24;
561
-    public const KERNEL_DIAGONALS = 25;
562
-    public const KERNEL_LINE_ENDS = 26;
563
-    public const KERNEL_LINE_JUNCTIONS = 27;
564
-    public const KERNEL_RIDGES = 28;
565
-    public const KERNEL_CONVEX_HULL = 29;
566
-    public const KERNEL_THIN_SE = 30;
567
-    public const KERNEL_SKELETON = 31;
568
-    public const KERNEL_CHEBYSHEV = 32;
569
-    public const KERNEL_MANHATTAN = 33;
570
-    public const KERNEL_OCTAGONAL = 34;
571
-    public const KERNEL_EUCLIDEAN = 35;
572
-    public const KERNEL_USER_DEFINED = 36;
573
-    public const KERNEL_BINOMIAL = 37;
574
-    public const DIRECTION_LEFT_TO_RIGHT = 2;
575
-    public const DIRECTION_RIGHT_TO_LEFT = 1;
576
-    public const NORMALIZE_KERNEL_NONE = 0;
577
-    public const NORMALIZE_KERNEL_VALUE = 8192;
578
-    public const NORMALIZE_KERNEL_CORRELATE = 65536;
579
-    public const NORMALIZE_KERNEL_PERCENT = 4096;
580
-
581
-    /**
582
-     * (PECL imagick 2.0.0)<br/>
583
-     * Removes repeated portions of images to optimize
584
-     * @link https://php.net/manual/en/imagick.optimizeimagelayers.php
585
-     * @return bool <b>TRUE</b> on success.
586
-     * @throws ImagickException on error.
587
-     */
588
-    public function optimizeImageLayers() {}
589
-
590
-    /**
591
-     * (PECL imagick 2.0.0)<br/>
592
-     * Returns the maximum bounding region between images
593
-     * @link https://php.net/manual/en/imagick.compareimagelayers.php
594
-     * @param int $method <p>
595
-     * One of the layer method constants.
596
-     * </p>
597
-     * @return Imagick <b>TRUE</b> on success.
598
-     * @throws ImagickException on error.
599
-     */
600
-    public function compareImageLayers($method) {}
601
-
602
-    /**
603
-     * (PECL imagick 2.0.0)<br/>
604
-     * Quickly fetch attributes
605
-     * @link https://php.net/manual/en/imagick.pingimageblob.php
606
-     * @param string $image <p>
607
-     * A string containing the image.
608
-     * </p>
609
-     * @return bool <b>TRUE</b> on success.
610
-     * @throws ImagickException on error.
611
-     */
612
-    public function pingImageBlob($image) {}
613
-
614
-    /**
615
-     * (PECL imagick 2.0.0)<br/>
616
-     * Get basic image attributes in a lightweight manner
617
-     * @link https://php.net/manual/en/imagick.pingimagefile.php
618
-     * @param resource $filehandle <p>
619
-     * An open filehandle to the image.
620
-     * </p>
621
-     * @param string $fileName [optional] <p>
622
-     * Optional filename for this image.
623
-     * </p>
624
-     * @return bool <b>TRUE</b> on success.
625
-     * @throws ImagickException on error.
626
-     */
627
-    public function pingImageFile($filehandle, $fileName = null) {}
628
-
629
-    /**
630
-     * (PECL imagick 2.0.0)<br/>
631
-     * Creates a vertical mirror image
632
-     * @link https://php.net/manual/en/imagick.transposeimage.php
633
-     * @return bool <b>TRUE</b> on success.
634
-     * @throws ImagickException on error.
635
-     */
636
-    public function transposeImage() {}
637
-
638
-    /**
639
-     * (PECL imagick 2.0.0)<br/>
640
-     * Creates a horizontal mirror image
641
-     * @link https://php.net/manual/en/imagick.transverseimage.php
642
-     * @return bool <b>TRUE</b> on success.
643
-     * @throws ImagickException on error.
644
-     */
645
-    public function transverseImage() {}
646
-
647
-    /**
648
-     * (PECL imagick 2.0.0)<br/>
649
-     * Remove edges from the image
650
-     * @link https://php.net/manual/en/imagick.trimimage.php
651
-     * @param float $fuzz <p>
652
-     * By default target must match a particular pixel color exactly.
653
-     * However, in many cases two colors may differ by a small amount.
654
-     * The fuzz member of image defines how much tolerance is acceptable
655
-     * to consider two colors as the same. This parameter represents the variation
656
-     * on the quantum range.
657
-     * </p>
658
-     * @return bool <b>TRUE</b> on success.
659
-     * @throws ImagickException on error.
660
-     */
661
-    public function trimImage($fuzz) {}
662
-
663
-    /**
664
-     * (PECL imagick 2.0.0)<br/>
665
-     * Applies wave filter to the image
666
-     * @link https://php.net/manual/en/imagick.waveimage.php
667
-     * @param float $amplitude <p>
668
-     * The amplitude of the wave.
669
-     * </p>
670
-     * @param float $length <p>
671
-     * The length of the wave.
672
-     * </p>
673
-     * @return bool <b>TRUE</b> on success.
674
-     * @throws ImagickException on error.
675
-     */
676
-    public function waveImage($amplitude, $length) {}
677
-
678
-    /**
679
-     * (PECL imagick 2.0.0)<br/>
680
-     * Adds vignette filter to the image
681
-     * @link https://php.net/manual/en/imagick.vignetteimage.php
682
-     * @param float $blackPoint <p>
683
-     * The black point.
684
-     * </p>
685
-     * @param float $whitePoint <p>
686
-     * The white point
687
-     * </p>
688
-     * @param int $x <p>
689
-     * X offset of the ellipse
690
-     * </p>
691
-     * @param int $y <p>
692
-     * Y offset of the ellipse
693
-     * </p>
694
-     * @return bool <b>TRUE</b> on success.
695
-     * @throws ImagickException on error.
696
-     */
697
-    public function vignetteImage($blackPoint, $whitePoint, $x, $y) {}
698
-
699
-    /**
700
-     * (PECL imagick 2.0.0)<br/>
701
-     * Discards all but one of any pixel color
702
-     * @link https://php.net/manual/en/imagick.uniqueimagecolors.php
703
-     * @return bool <b>TRUE</b> on success.
704
-     * @throws ImagickException on error.
705
-     */
706
-    public function uniqueImageColors() {}
707
-
708
-    /**
709
-     * (PECL imagick 2.0.0)<br/>
710
-     * Return if the image has a matte channel
711
-     * @link https://php.net/manual/en/imagick.getimagematte.php
712
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
713
-     * @throws ImagickException on error.
714
-     */
715
-    #[Deprecated]
716
-    #[Pure]
717
-    public function getImageMatte() {}
718
-
719
-    /**
720
-     * (PECL imagick 2.0.0)<br/>
721
-     * Sets the image matte channel
722
-     * @link https://php.net/manual/en/imagick.setimagematte.php
723
-     * @param bool $matte <p>
724
-     * True activates the matte channel and false disables it.
725
-     * </p>
726
-     * @return bool <b>TRUE</b> on success.
727
-     * @throws ImagickException on error.
728
-     */
729
-    public function setImageMatte($matte) {}
730
-
731
-    /**
732
-     * Adaptively resize image with data dependent triangulation
733
-     *
734
-     * If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.<br>
735
-     * If false, the calculations should produce the same results as ImageMagick CLI does.<br>
736
-     * <br>
737
-     * <b>Note:</b> The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched.
738
-     * In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
739
-     * @link https://php.net/manual/en/imagick.adaptiveresizeimage.php
740
-     * @param int $columns The number of columns in the scaled image.
741
-     * @param int $rows The number of rows in the scaled image.
742
-     * @param bool $bestfit [optional] Whether to fit the image inside a bounding box.<br>
743
-     *                                 The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
744
-     * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
745
-     * @return bool TRUE on success
746
-     * @throws ImagickException Throws ImagickException on error
747
-     * @since 2.0.0
748
-     */
749
-    public function adaptiveResizeImage($columns, $rows, $bestfit = false, $legacy = false) {}
750
-
751
-    /**
752
-     * (PECL imagick 2.0.0)<br/>
753
-     * Simulates a pencil sketch
754
-     * @link https://php.net/manual/en/imagick.sketchimage.php
755
-     * @param float $radius <p>
756
-     * The radius of the Gaussian, in pixels, not counting the center pixel
757
-     * </p>
758
-     * @param float $sigma <p>
759
-     * The standard deviation of the Gaussian, in pixels.
760
-     * </p>
761
-     * @param float $angle <p>
762
-     * Apply the effect along this angle.
763
-     * </p>
764
-     * @return bool <b>TRUE</b> on success.
765
-     * @throws ImagickException on error.
766
-     */
767
-    public function sketchImage($radius, $sigma, $angle) {}
768
-
769
-    /**
770
-     * (PECL imagick 2.0.0)<br/>
771
-     * Creates a 3D effect
772
-     * @link https://php.net/manual/en/imagick.shadeimage.php
773
-     * @param bool $gray <p>
774
-     * A value other than zero shades the intensity of each pixel.
775
-     * </p>
776
-     * @param float $azimuth <p>
777
-     * Defines the light source direction.
778
-     * </p>
779
-     * @param float $elevation <p>
780
-     * Defines the light source direction.
781
-     * </p>
782
-     * @return bool <b>TRUE</b> on success.
783
-     * @throws ImagickException on error.
784
-     */
785
-    public function shadeImage($gray, $azimuth, $elevation) {}
786
-
787
-    /**
788
-     * (PECL imagick 2.0.0)<br/>
789
-     * Returns the size offset
790
-     * @link https://php.net/manual/en/imagick.getsizeoffset.php
791
-     * @return int the size offset associated with the Imagick object.
792
-     * @throws ImagickException on error.
793
-     */
794
-    #[Pure]
795
-    public function getSizeOffset() {}
796
-
797
-    /**
798
-     * (PECL imagick 2.0.0)<br/>
799
-     * Sets the size and offset of the Imagick object
800
-     * @link https://php.net/manual/en/imagick.setsizeoffset.php
801
-     * @param int $columns <p>
802
-     * The width in pixels.
803
-     * </p>
804
-     * @param int $rows <p>
805
-     * The height in pixels.
806
-     * </p>
807
-     * @param int $offset <p>
808
-     * The image offset.
809
-     * </p>
810
-     * @return bool <b>TRUE</b> on success.
811
-     * @throws ImagickException on error.
812
-     */
813
-    public function setSizeOffset($columns, $rows, $offset) {}
814
-
815
-    /**
816
-     * (PECL imagick 2.0.0)<br/>
817
-     * Adds adaptive blur filter to image
818
-     * @link https://php.net/manual/en/imagick.adaptiveblurimage.php
819
-     * @param float $radius <p>
820
-     * The radius of the Gaussian, in pixels, not counting the center pixel.
821
-     * Provide a value of 0 and the radius will be chosen automagically.
822
-     * </p>
823
-     * @param float $sigma <p>
824
-     * The standard deviation of the Gaussian, in pixels.
825
-     * </p>
826
-     * @param int $channel [optional] <p>
827
-     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
828
-     * </p>
829
-     * @return bool <b>TRUE</b> on success.
830
-     * @throws ImagickException on error.
831
-     */
832
-    public function adaptiveBlurImage($radius, $sigma, $channel = Imagick::CHANNEL_DEFAULT) {}
833
-
834
-    /**
835
-     * (PECL imagick 2.0.0)<br/>
836
-     * Enhances the contrast of a color image
837
-     * @link https://php.net/manual/en/imagick.contraststretchimage.php
838
-     * @param float $black_point <p>
839
-     * The black point.
840
-     * </p>
841
-     * @param float $white_point <p>
842
-     * The white point.
843
-     * </p>
844
-     * @param int $channel [optional] <p>
845
-     * Provide any channel constant that is valid for your channel mode. To
846
-     * apply to more than one channel, combine channeltype constants using
847
-     * bitwise operators. <b>Imagick::CHANNEL_ALL</b>. Refer to this
848
-     * list of channel constants.
849
-     * </p>
850
-     * @return bool <b>TRUE</b> on success.
851
-     * @throws ImagickException on error.
852
-     */
853
-    public function contrastStretchImage($black_point, $white_point, $channel = Imagick::CHANNEL_ALL) {}
854
-
855
-    /**
856
-     * (PECL imagick 2.0.0)<br/>
857
-     * Adaptively sharpen the image
858
-     * @link https://php.net/manual/en/imagick.adaptivesharpenimage.php
859
-     * @param float $radius <p>
860
-     * The radius of the Gaussian, in pixels, not counting the center pixel. Use 0 for auto-select.
861
-     * </p>
862
-     * @param float $sigma <p>
863
-     * The standard deviation of the Gaussian, in pixels.
864
-     * </p>
865
-     * @param int $channel [optional] <p>
866
-     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
867
-     * </p>
868
-     * @return bool <b>TRUE</b> on success.
869
-     * @throws ImagickException on error.
870
-     */
871
-    public function adaptiveSharpenImage($radius, $sigma, $channel = Imagick::CHANNEL_DEFAULT) {}
872
-
873
-    /**
874
-     * (PECL imagick 2.0.0)<br/>
875
-     * Creates a high-contrast, two-color image
876
-     * @link https://php.net/manual/en/imagick.randomthresholdimage.php
877
-     * @param float $low <p>
878
-     * The low point
879
-     * </p>
880
-     * @param float $high <p>
881
-     * The high point
882
-     * </p>
883
-     * @param int $channel [optional] <p>
884
-     * Provide any channel constant that is valid for your channel mode. To
885
-     * apply to more than one channel, combine channeltype constants using
886
-     * bitwise operators. Refer to this
887
-     * list of channel constants.
888
-     * </p>
889
-     * @return bool <b>TRUE</b> on success.
890
-     * @throws ImagickException on error.
891
-     */
892
-    public function randomThresholdImage($low, $high, $channel = Imagick::CHANNEL_ALL) {}
893
-
894
-    /**
895
-     * @param $xRounding
896
-     * @param $yRounding
897
-     * @param $strokeWidth [optional]
898
-     * @param $displace [optional]
899
-     * @param $sizeCorrection [optional]
900
-     * @throws ImagickException on error.
901
-     */
902
-    public function roundCornersImage($xRounding, $yRounding, $strokeWidth, $displace, $sizeCorrection) {}
903
-
904
-    /**
905
-     * (PECL imagick 2.0.0)<br/>
906
-     * Rounds image corners
907
-     * Alias to {@see Imagick::roundCornersImage}
908
-     * @link https://php.net/manual/en/imagick.roundcorners.php
909
-     * @param float $x_rounding <p>
910
-     * x rounding
911
-     * </p>
912
-     * @param float $y_rounding <p>
913
-     * y rounding
914
-     * </p>
915
-     * @param float $stroke_width [optional] <p>
916
-     * stroke width
917
-     * </p>
918
-     * @param float $displace [optional] <p>
919
-     * image displace
920
-     * </p>
921
-     * @param float $size_correction [optional] <p>
922
-     * size correction
923
-     * </p>
924
-     * @return bool <b>TRUE</b> on success.
925
-     * @throws ImagickException on error.
926
-     */
927
-    #[Deprecated(replacement: "%class%->roundCornersImage(%parametersList%)")]
928
-    public function roundCorners($x_rounding, $y_rounding, $stroke_width = 10.0, $displace = 5.0, $size_correction = -6.0) {}
929
-
930
-    /**
931
-     * (PECL imagick 2.0.0)<br/>
932
-     * Set the iterator position
933
-     * @link https://php.net/manual/en/imagick.setiteratorindex.php
934
-     * @param int $index <p>
935
-     * The position to set the iterator to
936
-     * </p>
937
-     * @return bool <b>TRUE</b> on success.
938
-     * @throws ImagickException on error.
939
-     */
940
-    public function setIteratorIndex($index) {}
941
-
942
-    /**
943
-     * (PECL imagick 2.0.0)<br/>
944
-     * Gets the index of the current active image
945
-     * @link https://php.net/manual/en/imagick.getiteratorindex.php
946
-     * @return int an integer containing the index of the image in the stack.
947
-     */
948
-    #[Pure]
949
-    public function getIteratorIndex() {}
950
-
951
-    /**
952
-     * (PECL imagick 2.0.0)<br/>
953
-     * Convenience method for setting crop size and the image geometry
954
-     * @link https://php.net/manual/en/imagick.transformimage.php
955
-     * @param string $crop <p>
956
-     * A crop geometry string. This geometry defines a subregion of the image to crop.
957
-     * </p>
958
-     * @param string $geometry <p>
959
-     * An image geometry string. This geometry defines the final size of the image.
960
-     * </p>
961
-     * @return Imagick <b>TRUE</b> on success.
962
-     * @throws ImagickException on error.
963
-     */
964
-    public function transformImage($crop, $geometry) {}
965
-
966
-    /**
967
-     * (PECL imagick 2.0.0)<br/>
968
-     * Sets the image opacity level
969
-     * @link https://php.net/manual/en/imagick.setimageopacity.php
970
-     * @param float $opacity <p>
971
-     * The level of transparency: 1.0 is fully opaque and 0.0 is fully
972
-     * transparent.
973
-     * </p>
974
-     * @return bool <b>TRUE</b> on success.
975
-     * @throws ImagickException on error.
976
-     */
977
-    public function setImageOpacity($opacity) {}
978
-
979
-    /**
980
-     * (PECL imagick 2.2.2)<br/>
981
-     * Performs an ordered dither
982
-     * @link https://php.net/manual/en/imagick.orderedposterizeimage.php
983
-     * @param string $threshold_map <p>
984
-     * A string containing the name of the threshold dither map to use
985
-     * </p>
986
-     * @param int $channel [optional] <p>
987
-     * Provide any channel constant that is valid for your channel mode. To
988
-     * apply to more than one channel, combine channeltype constants using
989
-     * bitwise operators. Refer to this
990
-     * list of channel constants.
991
-     * </p>
992
-     * @return bool <b>TRUE</b> on success.
993
-     * @throws ImagickException on error.
994
-     */
995
-    public function orderedPosterizeImage($threshold_map, $channel = Imagick::CHANNEL_ALL) {}
996
-
997
-    /**
998
-     * (PECL imagick 2.0.0)<br/>
999
-     * Simulates a Polaroid picture
1000
-     * @link https://php.net/manual/en/imagick.polaroidimage.php
1001
-     * @param ImagickDraw $properties <p>
1002
-     * The polaroid properties
1003
-     * </p>
1004
-     * @param float $angle <p>
1005
-     * The polaroid angle
1006
-     * </p>
1007
-     * @return bool <b>TRUE</b> on success.
1008
-     * @throws ImagickException on error.
1009
-     */
1010
-    public function polaroidImage(ImagickDraw $properties, $angle) {}
1011
-
1012
-    /**
1013
-     * (PECL imagick 2.0.0)<br/>
1014
-     * Returns the named image property
1015
-     * @link https://php.net/manual/en/imagick.getimageproperty.php
1016
-     * @param string $name <p>
1017
-     * name of the property (for example Exif:DateTime)
1018
-     * </p>
1019
-     * @return string|false a string containing the image property, false if a
1020
-     * property with the given name does not exist.
1021
-     * @throws ImagickException on error.
1022
-     */
1023
-    #[Pure]
1024
-    public function getImageProperty($name) {}
1025
-
1026
-    /**
1027
-     * (PECL imagick 2.0.0)<br/>
1028
-     * Sets an image property
1029
-     * @link https://php.net/manual/en/imagick.setimageproperty.php
1030
-     * @param string $name
1031
-     * @param string $value
1032
-     * @return bool <b>TRUE</b> on success.
1033
-     * @throws ImagickException on error.
1034
-     */
1035
-    public function setImageProperty($name, $value) {}
1036
-
1037
-    /**
1038
-     * (PECL imagick 2.0.0)<br/>
1039
-     * Sets the image interpolate pixel method
1040
-     * @link https://php.net/manual/en/imagick.setimageinterpolatemethod.php
1041
-     * @param int $method <p>
1042
-     * The method is one of the <b>Imagick::INTERPOLATE_*</b> constants
1043
-     * </p>
1044
-     * @return bool <b>TRUE</b> on success.
1045
-     * @throws ImagickException on error.
1046
-     */
1047
-    public function setImageInterpolateMethod($method) {}
1048
-
1049
-    /**
1050
-     * (PECL imagick 2.0.0)<br/>
1051
-     * Returns the interpolation method
1052
-     * @link https://php.net/manual/en/imagick.getimageinterpolatemethod.php
1053
-     * @return int the interpolate method on success.
1054
-     * @throws ImagickException on error.
1055
-     */
1056
-    #[Pure]
1057
-    public function getImageInterpolateMethod() {}
1058
-
1059
-    /**
1060
-     * (PECL imagick 2.0.0)<br/>
1061
-     * Stretches with saturation the image intensity
1062
-     * @link https://php.net/manual/en/imagick.linearstretchimage.php
1063
-     * @param float $blackPoint <p>
1064
-     * The image black point
1065
-     * </p>
1066
-     * @param float $whitePoint <p>
1067
-     * The image white point
1068
-     * </p>
1069
-     * @return bool <b>TRUE</b> on success.
1070
-     * @throws ImagickException on error.
1071
-     */
1072
-    public function linearStretchImage($blackPoint, $whitePoint) {}
1073
-
1074
-    /**
1075
-     * (PECL imagick 2.0.0)<br/>
1076
-     * Returns the image length in bytes
1077
-     * @link https://php.net/manual/en/imagick.getimagelength.php
1078
-     * @return int an int containing the current image size.
1079
-     * @throws ImagickException on error.
1080
-     */
1081
-    #[Pure]
1082
-    public function getImageLength() {}
1083
-
1084
-    /**
1085
-     * (No version information available, might only be in SVN)<br/>
1086
-     * Set image size
1087
-     * @link https://php.net/manual/en/imagick.extentimage.php
1088
-     * @param int $width <p>
1089
-     * The new width
1090
-     * </p>
1091
-     * @param int $height <p>
1092
-     * The new height
1093
-     * </p>
1094
-     * @param int $x <p>
1095
-     * X position for the new size
1096
-     * </p>
1097
-     * @param int $y <p>
1098
-     * Y position for the new size
1099
-     * </p>
1100
-     * @return bool <b>TRUE</b> on success.
1101
-     * @throws ImagickException on error.
1102
-     */
1103
-    public function extentImage($width, $height, $x, $y) {}
1104
-
1105
-    /**
1106
-     * (PECL imagick 2.0.0)<br/>
1107
-     * Gets the image orientation
1108
-     * @link https://php.net/manual/en/imagick.getimageorientation.php
1109
-     * @return int an int on success.
1110
-     * @throws ImagickException on error.
1111
-     */
1112
-    #[Pure]
1113
-    public function getImageOrientation() {}
1114
-
1115
-    /**
1116
-     * (PECL imagick 2.0.0)<br/>
1117
-     * Sets the image orientation
1118
-     * @link https://php.net/manual/en/imagick.setimageorientation.php
1119
-     * @param int $orientation <p>
1120
-     * One of the orientation constants
1121
-     * </p>
1122
-     * @return bool <b>TRUE</b> on success.
1123
-     * @throws ImagickException on error.
1124
-     */
1125
-    public function setImageOrientation($orientation) {}
1126
-
1127
-    /**
1128
-     * (PECL imagick 2.1.0)<br/>
1129
-     * Changes the color value of any pixel that matches target
1130
-     * @link https://php.net/manual/en/imagick.paintfloodfillimage.php
1131
-     * @param mixed $fill <p>
1132
-     * ImagickPixel object or a string containing the fill color
1133
-     * </p>
1134
-     * @param float $fuzz <p>
1135
-     * The amount of fuzz. For example, set fuzz to 10 and the color red at
1136
-     * intensities of 100 and 102 respectively are now interpreted as the
1137
-     * same color for the purposes of the floodfill.
1138
-     * </p>
1139
-     * @param mixed $bordercolor <p>
1140
-     * ImagickPixel object or a string containing the border color
1141
-     * </p>
1142
-     * @param int $x <p>
1143
-     * X start position of the floodfill
1144
-     * </p>
1145
-     * @param int $y <p>
1146
-     * Y start position of the floodfill
1147
-     * </p>
1148
-     * @param int $channel [optional] <p>
1149
-     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
1150
-     * </p>
1151
-     * @return bool <b>TRUE</b> on success.
1152
-     * @throws ImagickException on error.
1153
-     */
1154
-    #[Deprecated]
1155
-    public function paintFloodfillImage($fill, $fuzz, $bordercolor, $x, $y, $channel = Imagick::CHANNEL_ALL) {}
1156
-
1157
-    /**
1158
-     * (PECL imagick 2.0.0)<br/>
1159
-     * Replaces colors in the image from a color lookup table. Optional second parameter to replace colors in a specific channel. This method is available if Imagick has been compiled against ImageMagick version 6.3.6 or newer.
1160
-     * @link https://php.net/manual/en/imagick.clutimage.php
1161
-     * @param Imagick $lookup_table <p>
1162
-     * Imagick object containing the color lookup table
1163
-     * </p>
1164
-     * @param int $channel [optional] <p>
1165
-     * The Channeltype
1166
-     * constant. When not supplied, default channels are replaced.
1167
-     * </p>
1168
-     * @return bool <b>TRUE</b> on success.
1169
-     * @throws ImagickException on error.
1170
-     * @since 2.0.0
1171
-     */
1172
-    public function clutImage(Imagick $lookup_table, $channel = Imagick::CHANNEL_DEFAULT) {}
1173
-
1174
-    /**
1175
-     * (PECL imagick 2.0.0)<br/>
1176
-     * Returns the image properties
1177
-     * @link https://php.net/manual/en/imagick.getimageproperties.php
1178
-     * @param string $pattern [optional] <p>
1179
-     * The pattern for property names.
1180
-     * </p>
1181
-     * @param bool $only_names [optional] <p>
1182
-     * Whether to return only property names. If <b>FALSE</b> then also the values are returned
1183
-     * </p>
1184
-     * @return array an array containing the image properties or property names.
1185
-     * @throws ImagickException on error.
1186
-     */
1187
-    #[Pure]
1188
-    public function getImageProperties($pattern = "*", $only_names = true) {}
1189
-
1190
-    /**
1191
-     * (PECL imagick 2.2.0)<br/>
1192
-     * Returns the image profiles
1193
-     * @link https://php.net/manual/en/imagick.getimageprofiles.php
1194
-     * @param string $pattern [optional] <p>
1195
-     * The pattern for profile names.
1196
-     * </p>
1197
-     * @param bool $include_values [optional] <p>
1198
-     * Whether to return only profile names. If <b>FALSE</b> then only profile names will be returned.
1199
-     * </p>
1200
-     * @return array an array containing the image profiles or profile names.
1201
-     * @throws ImagickException on error.
1202
-     */
1203
-    #[Pure]
1204
-    public function getImageProfiles($pattern = "*", $include_values = true) {}
1205
-
1206
-    /**
1207
-     * (PECL imagick 2.0.1)<br/>
1208
-     * Distorts an image using various distortion methods
1209
-     * @link https://php.net/manual/en/imagick.distortimage.php
1210
-     * @param int $method <p>
1211
-     * The method of image distortion. See distortion constants
1212
-     * </p>
1213
-     * @param array $arguments <p>
1214
-     * The arguments for this distortion method
1215
-     * </p>
1216
-     * @param bool $bestfit <p>
1217
-     * Attempt to resize destination to fit distorted source
1218
-     * </p>
1219
-     * @return bool <b>TRUE</b> on success.
1220
-     * @throws ImagickException on error.
1221
-     */
1222
-    public function distortImage($method, array $arguments, $bestfit) {}
1223
-
1224
-    /**
1225
-     * (No version information available, might only be in SVN)<br/>
1226
-     * Writes an image to a filehandle
1227
-     * @link https://php.net/manual/en/imagick.writeimagefile.php
1228
-     * @param resource $filehandle <p>
1229
-     * Filehandle where to write the image
1230
-     * </p>
1231
-     * @return bool <b>TRUE</b> on success.
1232
-     * @throws ImagickException on error.
1233
-     */
1234
-    public function writeImageFile($filehandle) {}
1235
-
1236
-    /**
1237
-     * (No version information available, might only be in SVN)<br/>
1238
-     * Writes frames to a filehandle
1239
-     * @link https://php.net/manual/en/imagick.writeimagesfile.php
1240
-     * @param resource $filehandle <p>
1241
-     * Filehandle where to write the images
1242
-     * </p>
1243
-     * @return bool <b>TRUE</b> on success.
1244
-     * @throws ImagickException on error.
1245
-     */
1246
-    public function writeImagesFile($filehandle) {}
1247
-
1248
-    /**
1249
-     * (No version information available, might only be in SVN)<br/>
1250
-     * Reset image page
1251
-     * @link https://php.net/manual/en/imagick.resetimagepage.php
1252
-     * @param string $page <p>
1253
-     * The page definition. For example 7168x5147+0+0
1254
-     * </p>
1255
-     * @return bool <b>TRUE</b> on success.
1256
-     * @throws ImagickException on error.
1257
-     */
1258
-    public function resetImagePage($page) {}
1259
-
1260
-    /**
1261
-     * (No version information available, might only be in SVN)<br/>
1262
-     * Sets image clip mask
1263
-     * @link https://php.net/manual/en/imagick.setimageclipmask.php
1264
-     * @param Imagick $clip_mask <p>
1265
-     * The Imagick object containing the clip mask
1266
-     * </p>
1267
-     * @return bool <b>TRUE</b> on success.
1268
-     */
1269
-    public function setImageClipMask(Imagick $clip_mask) {}
1270
-
1271
-    /**
1272
-     * (No version information available, might only be in SVN)<br/>
1273
-     * Gets image clip mask
1274
-     * @link https://php.net/manual/en/imagick.getimageclipmask.php
1275
-     * @return Imagick an Imagick object containing the clip mask.
1276
-     * @throws ImagickException on error.
1277
-     */
1278
-    #[Pure]
1279
-    public function getImageClipMask() {}
1280
-
1281
-    /**
1282
-     * (No version information available, might only be in SVN)<br/>
1283
-     * Animates an image or images
1284
-     * @link https://php.net/manual/en/imagick.animateimages.php
1285
-     * @param string $x_server <p>
1286
-     * X server address
1287
-     * </p>
1288
-     * @return bool <b>TRUE</b> on success.
1289
-     * @throws ImagickException on error.
1290
-     */
1291
-    public function animateImages($x_server) {}
1292
-
1293
-    /**
1294
-     * (No version information available, might only be in SVN)<br/>
1295
-     * Recolors image
1296
-     * @link https://php.net/manual/en/imagick.recolorimage.php
1297
-     * @param array $matrix <p>
1298
-     * The matrix containing the color values
1299
-     * </p>
1300
-     * @return bool <b>TRUE</b> on success.
1301
-     * @throws ImagickException on error.
1302
-     */
1303
-    #[Deprecated]
1304
-    public function recolorImage(array $matrix) {}
1305
-
1306
-    /**
1307
-     * (PECL imagick 2.1.0)<br/>
1308
-     * Sets font
1309
-     * @link https://php.net/manual/en/imagick.setfont.php
1310
-     * @param string $font <p>
1311
-     * Font name or a filename
1312
-     * </p>
1313
-     * @return bool <b>TRUE</b> on success.
1314
-     * @throws ImagickException on error.
1315
-     */
1316
-    public function setFont($font) {}
1317
-
1318
-    /**
1319
-     * (PECL imagick 2.1.0)<br/>
1320
-     * Gets font
1321
-     * @link https://php.net/manual/en/imagick.getfont.php
1322
-     * @return string|false the string containing the font name or <b>FALSE</b> if not font is set.
1323
-     */
1324
-    #[Pure]
1325
-    public function getFont() {}
1326
-
1327
-    /**
1328
-     * (PECL imagick 2.1.0)<br/>
1329
-     * Sets point size
1330
-     * @link https://php.net/manual/en/imagick.setpointsize.php
1331
-     * @param float $point_size <p>
1332
-     * Point size
1333
-     * </p>
1334
-     * @return bool <b>TRUE</b> on success.
1335
-     * @throws ImagickException on error.
1336
-     */
1337
-    public function setPointSize($point_size) {}
1338
-
1339
-    /**
1340
-     * (No version information available, might only be in SVN)<br/>
1341
-     * Gets point size
1342
-     * @link https://php.net/manual/en/imagick.getpointsize.php
1343
-     * @return float a float containing the point size.
1344
-     */
1345
-    #[Pure]
1346
-    public function getPointSize() {}
1347
-
1348
-    /**
1349
-     * (PECL imagick 2.1.0)<br/>
1350
-     * Merges image layers
1351
-     * @link https://php.net/manual/en/imagick.mergeimagelayers.php
1352
-     * @param int $layer_method <p>
1353
-     * One of the <b>Imagick::LAYERMETHOD_*</b> constants
1354
-     * </p>
1355
-     * @return Imagick Returns an Imagick object containing the merged image.
1356
-     * @throws ImagickException
1357
-     */
1358
-    public function mergeImageLayers($layer_method) {}
1359
-
1360
-    /**
1361
-     * (No version information available, might only be in SVN)<br/>
1362
-     * Sets image alpha channel
1363
-     * @link https://php.net/manual/en/imagick.setimagealphachannel.php
1364
-     * @param int $mode <p>
1365
-     * One of the <b>Imagick::ALPHACHANNEL_*</b> constants
1366
-     * </p>
1367
-     * @return bool <b>TRUE</b> on success.
1368
-     * @throws ImagickException on error.
1369
-     */
1370
-    public function setImageAlphaChannel($mode) {}
1371
-
1372
-    /**
1373
-     * (No version information available, might only be in SVN)<br/>
1374
-     * Changes the color value of any pixel that matches target
1375
-     * @link https://php.net/manual/en/imagick.floodfillpaintimage.php
1376
-     * @param mixed $fill <p>
1377
-     * ImagickPixel object or a string containing the fill color
1378
-     * </p>
1379
-     * @param float $fuzz <p>
1380
-     * The amount of fuzz. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
1381
-     * </p>
1382
-     * @param mixed $target <p>
1383
-     * ImagickPixel object or a string containing the target color to paint
1384
-     * </p>
1385
-     * @param int $x <p>
1386
-     * X start position of the floodfill
1387
-     * </p>
1388
-     * @param int $y <p>
1389
-     * Y start position of the floodfill
1390
-     * </p>
1391
-     * @param bool $invert <p>
1392
-     * If <b>TRUE</b> paints any pixel that does not match the target color.
1393
-     * </p>
1394
-     * @param int $channel [optional] <p>
1395
-     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
1396
-     * </p>
1397
-     * @return bool <b>TRUE</b> on success.
1398
-     * @throws ImagickException on error.
1399
-     */
1400
-    public function floodFillPaintImage($fill, $fuzz, $target, $x, $y, $invert, $channel = Imagick::CHANNEL_DEFAULT) {}
1401
-
1402
-    /**
1403
-     * (No version information available, might only be in SVN)<br/>
1404
-     * Changes the color value of any pixel that matches target
1405
-     * @link https://php.net/manual/en/imagick.opaquepaintimage.php
1406
-     * @param mixed $target <p>
1407
-     * ImagickPixel object or a string containing the color to change
1408
-     * </p>
1409
-     * @param mixed $fill <p>
1410
-     * The replacement color
1411
-     * </p>
1412
-     * @param float $fuzz <p>
1413
-     * The amount of fuzz. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
1414
-     * </p>
1415
-     * @param bool $invert <p>
1416
-     * If <b>TRUE</b> paints any pixel that does not match the target color.
1417
-     * </p>
1418
-     * @param int $channel [optional] <p>
1419
-     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
1420
-     * </p>
1421
-     * @return bool <b>TRUE</b> on success.
1422
-     * @throws ImagickException on error.
1423
-     */
1424
-    public function opaquePaintImage($target, $fill, $fuzz, $invert, $channel = Imagick::CHANNEL_DEFAULT) {}
1425
-
1426
-    /**
1427
-     * (No version information available, might only be in SVN)<br/>
1428
-     * Paints pixels transparent
1429
-     * @link https://php.net/manual/en/imagick.transparentpaintimage.php
1430
-     * @param mixed $target <p>
1431
-     * The target color to paint
1432
-     * </p>
1433
-     * @param float $alpha <p>
1434
-     * The level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.
1435
-     * </p>
1436
-     * @param float $fuzz <p>
1437
-     * The amount of fuzz. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
1438
-     * </p>
1439
-     * @param bool $invert <p>
1440
-     * If <b>TRUE</b> paints any pixel that does not match the target color.
1441
-     * </p>
1442
-     * @return bool <b>TRUE</b> on success.
1443
-     * @throws ImagickException on error.
1444
-     */
1445
-    public function transparentPaintImage($target, $alpha, $fuzz, $invert) {}
1446
-
1447
-    /**
1448
-     * (No version information available, might only be in SVN)<br/>
1449
-     * Animates an image or images
1450
-     * @link https://php.net/manual/en/imagick.liquidrescaleimage.php
1451
-     * @param int $width <p>
1452
-     * The width of the target size
1453
-     * </p>
1454
-     * @param int $height <p>
1455
-     * The height of the target size
1456
-     * </p>
1457
-     * @param float $delta_x <p>
1458
-     * How much the seam can traverse on x-axis.
1459
-     * Passing 0 causes the seams to be straight.
1460
-     * </p>
1461
-     * @param float $rigidity <p>
1462
-     * Introduces a bias for non-straight seams. This parameter is
1463
-     * typically 0.
1464
-     * </p>
1465
-     * @return bool <b>TRUE</b> on success.
1466
-     * @throws ImagickException on error.
1467
-     */
1468
-    public function liquidRescaleImage($width, $height, $delta_x, $rigidity) {}
1469
-
1470
-    /**
1471
-     * (No version information available, might only be in SVN)<br/>
1472
-     * Enciphers an image
1473
-     * @link https://php.net/manual/en/imagick.encipherimage.php
1474
-     * @param string $passphrase <p>
1475
-     * The passphrase
1476
-     * </p>
1477
-     * @return bool <b>TRUE</b> on success.
1478
-     * @throws ImagickException on error.
1479
-     */
1480
-    public function encipherImage($passphrase) {}
1481
-
1482
-    /**
1483
-     * (No version information available, might only be in SVN)<br/>
1484
-     * Deciphers an image
1485
-     * @link https://php.net/manual/en/imagick.decipherimage.php
1486
-     * @param string $passphrase <p>
1487
-     * The passphrase
1488
-     * </p>
1489
-     * @return bool <b>TRUE</b> on success.
1490
-     * @throws ImagickException on error.
1491
-     */
1492
-    public function decipherImage($passphrase) {}
1493
-
1494
-    /**
1495
-     * (No version information available, might only be in SVN)<br/>
1496
-     * Sets the gravity
1497
-     * @link https://php.net/manual/en/imagick.setgravity.php
1498
-     * @param int $gravity <p>
1499
-     * The gravity property. Refer to the list of
1500
-     * gravity constants.
1501
-     * </p>
1502
-     * @return bool No value is returned.
1503
-     * @throws ImagickException on error.
1504
-     */
1505
-    public function setGravity($gravity) {}
1506
-
1507
-    /**
1508
-     * (No version information available, might only be in SVN)<br/>
1509
-     * Gets the gravity
1510
-     * @link https://php.net/manual/en/imagick.getgravity.php
1511
-     * @return int the gravity property. Refer to the list of
1512
-     * gravity constants.
1513
-     */
1514
-    #[Pure]
1515
-    public function getGravity() {}
1516
-
1517
-    /**
1518
-     * (PECL imagick 2.2.1)<br/>
1519
-     * Gets channel range
1520
-     * @link https://php.net/manual/en/imagick.getimagechannelrange.php
1521
-     * @param int $channel <p>
1522
-     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
1523
-     * </p>
1524
-     * @return float[] an array containing minima and maxima values of the channel(s).
1525
-     * @throws ImagickException on error.
1526
-     */
1527
-    #[ArrayShape(["minima" => "float", "maxima" => "float"])]
1528
-    #[Pure]
1529
-    public function getImageChannelRange($channel) {}
1530
-
1531
-    /**
1532
-     * (No version information available, might only be in SVN)<br/>
1533
-     * Gets the image alpha channel
1534
-     * @link https://php.net/manual/en/imagick.getimagealphachannel.php
1535
-     * @return int a constant defining the current alpha channel value. Refer to this
1536
-     * list of alpha channel constants.
1537
-     * @throws ImagickException on error.
1538
-     */
1539
-    #[Pure]
1540
-    public function getImageAlphaChannel() {}
1541
-
1542
-    /**
1543
-     * (No version information available, might only be in SVN)<br/>
1544
-     * Gets channel distortions
1545
-     * @link https://php.net/manual/en/imagick.getimagechanneldistortions.php
1546
-     * @param Imagick $reference <p>
1547
-     * Imagick object containing the reference image
1548
-     * </p>
1549
-     * @param int $metric <p>
1550
-     * Refer to this list of metric type constants.
1551
-     * </p>
1552
-     * @param int $channel [optional] <p>
1553
-     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
1554
-     * </p>
1555
-     * @return float a float describing the channel distortion.
1556
-     * @throws ImagickException on error.
1557
-     */
1558
-    #[Pure]
1559
-    public function getImageChannelDistortions(Imagick $reference, $metric, $channel = Imagick::CHANNEL_DEFAULT) {}
1560
-
1561
-    /**
1562
-     * (No version information available, might only be in SVN)<br/>
1563
-     * Sets the image gravity
1564
-     * @link https://php.net/manual/en/imagick.setimagegravity.php
1565
-     * @param int $gravity <p>
1566
-     * The gravity property. Refer to the list of
1567
-     * gravity constants.
1568
-     * </p>
1569
-     * @return bool No value is returned.
1570
-     * @throws ImagickException on error.
1571
-     */
1572
-    public function setImageGravity($gravity) {}
1573
-
1574
-    /**
1575
-     * (No version information available, might only be in SVN)<br/>
1576
-     * Gets the image gravity
1577
-     * @link https://php.net/manual/en/imagick.getimagegravity.php
1578
-     * @return int the images gravity property. Refer to the list of
1579
-     * gravity constants.
1580
-     * @throws ImagickException on error.
1581
-     */
1582
-    #[Pure]
1583
-    public function getImageGravity() {}
1584
-
1585
-    /**
1586
-     * (No version information available, might only be in SVN)<br/>
1587
-     * Imports image pixels
1588
-     * @link https://php.net/manual/en/imagick.importimagepixels.php
1589
-     * @param int $x <p>
1590
-     * The image x position
1591
-     * </p>
1592
-     * @param int $y <p>
1593
-     * The image y position
1594
-     * </p>
1595
-     * @param int $width <p>
1596
-     * The image width
1597
-     * </p>
1598
-     * @param int $height <p>
1599
-     * The image height
1600
-     * </p>
1601
-     * @param string $map <p>
1602
-     * Map of pixel ordering as a string. This can be for example RGB.
1603
-     * The value can be any combination or order of R = red, G = green, B = blue, A = alpha (0 is transparent),
1604
-     * O = opacity (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad.
1605
-     * </p>
1606
-     * @param int $storage <p>
1607
-     * The pixel storage method.
1608
-     * Refer to this list of pixel constants.
1609
-     * </p>
1610
-     * @param array $pixels <p>
1611
-     * The array of pixels
1612
-     * </p>
1613
-     * @return bool <b>TRUE</b> on success.
1614
-     * @throws ImagickException on error.
1615
-     */
1616
-    public function importImagePixels($x, $y, $width, $height, $map, $storage, array $pixels) {}
1617
-
1618
-    /**
1619
-     * (No version information available, might only be in SVN)<br/>
1620
-     * Removes skew from the image
1621
-     * @link https://php.net/manual/en/imagick.deskewimage.php
1622
-     * @param float $threshold <p>
1623
-     * Deskew threshold
1624
-     * </p>
1625
-     * @return bool
1626
-     * @throws ImagickException on error.
1627
-     */
1628
-    public function deskewImage($threshold) {}
1629
-
1630
-    /**
1631
-     * (No version information available, might only be in SVN)<br/>
1632
-     * Segments an image
1633
-     * @link https://php.net/manual/en/imagick.segmentimage.php
1634
-     * @param int $COLORSPACE <p>
1635
-     * One of the COLORSPACE constants.
1636
-     * </p>
1637
-     * @param float $cluster_threshold <p>
1638
-     * A percentage describing minimum number of pixels
1639
-     * contained in hexedra before it is considered valid.
1640
-     * </p>
1641
-     * @param float $smooth_threshold <p>
1642
-     * Eliminates noise from the histogram.
1643
-     * </p>
1644
-     * @param bool $verbose [optional] <p>
1645
-     * Whether to output detailed information about recognised classes.
1646
-     * </p>
1647
-     * @return bool
1648
-     * @throws ImagickException on error.
1649
-     */
1650
-    public function segmentImage($COLORSPACE, $cluster_threshold, $smooth_threshold, $verbose = false) {}
1651
-
1652
-    /**
1653
-     * (No version information available, might only be in SVN)<br/>
1654
-     * Interpolates colors
1655
-     * @link https://php.net/manual/en/imagick.sparsecolorimage.php
1656
-     * @param int $SPARSE_METHOD <p>
1657
-     * Refer to this list of sparse method constants
1658
-     * </p>
1659
-     * @param array $arguments <p>
1660
-     * An array containing the coordinates.
1661
-     * The array is in format array(1,1, 2,45)
1662
-     * </p>
1663
-     * @param int $channel [optional]
1664
-     * @return bool <b>TRUE</b> on success.
1665
-     * @throws ImagickException on error.
1666
-     */
1667
-    public function sparseColorImage($SPARSE_METHOD, array $arguments, $channel = Imagick::CHANNEL_DEFAULT) {}
1668
-
1669
-    /**
1670
-     * (No version information available, might only be in SVN)<br/>
1671
-     * Remaps image colors
1672
-     * @link https://php.net/manual/en/imagick.remapimage.php
1673
-     * @param Imagick $replacement <p>
1674
-     * An Imagick object containing the replacement colors
1675
-     * </p>
1676
-     * @param int $DITHER <p>
1677
-     * Refer to this list of dither method constants
1678
-     * </p>
1679
-     * @return bool <b>TRUE</b> on success.
1680
-     * @throws ImagickException on error.
1681
-     */
1682
-    public function remapImage(Imagick $replacement, $DITHER) {}
1683
-
1684
-    /**
1685
-     * (No version information available, might only be in SVN)<br/>
1686
-     * Exports raw image pixels
1687
-     * @link https://php.net/manual/en/imagick.exportimagepixels.php
1688
-     * @param int $x <p>
1689
-     * X-coordinate of the exported area
1690
-     * </p>
1691
-     * @param int $y <p>
1692
-     * Y-coordinate of the exported area
1693
-     * </p>
1694
-     * @param int $width <p>
1695
-     * Width of the exported aread
1696
-     * </p>
1697
-     * @param int $height <p>
1698
-     * Height of the exported area
1699
-     * </p>
1700
-     * @param string $map <p>
1701
-     * Ordering of the exported pixels. For example "RGB".
1702
-     * Valid characters for the map are R, G, B, A, O, C, Y, M, K, I and P.
1703
-     * </p>
1704
-     * @param int $STORAGE <p>
1705
-     * Refer to this list of pixel type constants
1706
-     * </p>
1707
-     * @return int[] an array containing the pixels values.
1708
-     * @throws ImagickException on error.
1709
-     */
1710
-    public function exportImagePixels($x, $y, $width, $height, $map, $STORAGE) {}
1711
-
1712
-    /**
1713
-     * (No version information available, might only be in SVN)<br/>
1714
-     * The getImageChannelKurtosis purpose
1715
-     * @link https://php.net/manual/en/imagick.getimagechannelkurtosis.php
1716
-     * @param int $channel [optional] <p>
1717
-     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
1718
-     * </p>
1719
-     * @return float[] an array with kurtosis and skewness
1720
-     * members.
1721
-     * @throws ImagickException on error.
1722
-     */
1723
-    #[ArrayShape(["kurtosis" => "float", "skewness" => "float"])]
1724
-    #[Pure]
1725
-    public function getImageChannelKurtosis($channel = Imagick::CHANNEL_DEFAULT) {}
1726
-
1727
-    /**
1728
-     * (No version information available, might only be in SVN)<br/>
1729
-     * Applies a function on the image
1730
-     * @link https://php.net/manual/en/imagick.functionimage.php
1731
-     * @param int $function <p>
1732
-     * Refer to this list of function constants
1733
-     * </p>
1734
-     * @param array $arguments <p>
1735
-     * Array of arguments to pass to this function.
1736
-     * </p>
1737
-     * @param int $channel [optional]
1738
-     * @return bool <b>TRUE</b> on success.
1739
-     * @throws ImagickException on error.
1740
-     */
1741
-    public function functionImage($function, array $arguments, $channel = Imagick::CHANNEL_DEFAULT) {}
1742
-
1743
-    /**
1744
-     * Transform image colorspace
1745
-     * @param $COLORSPACE
1746
-     * @return bool <b>TRUE</b> on success.
1747
-     * @throws ImagickException on error.
1748
-     */
1749
-    public function transformImageColorspace($COLORSPACE) {}
1750
-
1751
-    /**
1752
-     * (No version information available, might only be in SVN)<br/>
1753
-     * Replaces colors in the image
1754
-     * @link https://php.net/manual/en/imagick.haldclutimage.php
1755
-     * @param Imagick $clut <p>
1756
-     * Imagick object containing the Hald lookup image.
1757
-     * </p>
1758
-     * @param int $channel [optional] <p>
1759
-     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
1760
-     * </p>
1761
-     * @return bool <b>TRUE</b> on success.
1762
-     * @throws ImagickException on error.
1763
-     */
1764
-    public function haldClutImage(Imagick $clut, $channel = Imagick::CHANNEL_DEFAULT) {}
1765
-
1766
-    /**
1767
-     * Adjusts the levels of a particular image channel by scaling the minimum and maximum values to the full quantum range.
1768
-     * @param $CHANNEL [optional]
1769
-     * @return bool <b>TRUE</b> on success.
1770
-     * @throws ImagickException on error.
1771
-     */
1772
-    public function autoLevelImage($CHANNEL) {}
1773
-
1774
-    /**
1775
-     * @link https://www.php.net/manual/en/imagick.blueshiftimage.php
1776
-     * @param float $factor [optional]
1777
-     * @return bool
1778
-     * @throws ImagickException on error.
1779
-     */
1780
-    public function blueShiftImage($factor) {}
1781
-
1782
-    /**
1783
-     * (No version information available, might only be in SVN)<br/>
1784
-     * Get image artifact
1785
-     * @link https://php.net/manual/en/imagick.getimageartifact.php
1786
-     * @param string $artifact <p>
1787
-     * The name of the artifact
1788
-     * </p>
1789
-     * @return string the artifact value on success.
1790
-     * @throws ImagickException on error.
1791
-     */
1792
-    #[Pure]
1793
-    public function getImageArtifact($artifact) {}
1794
-
1795
-    /**
1796
-     * (No version information available, might only be in SVN)<br/>
1797
-     * Set image artifact
1798
-     * @link https://php.net/manual/en/imagick.setimageartifact.php
1799
-     * @param string $artifact <p>
1800
-     * The name of the artifact
1801
-     * </p>
1802
-     * @param string $value <p>
1803
-     * The value of the artifact
1804
-     * </p>
1805
-     * @return bool <b>TRUE</b> on success.
1806
-     * @throws ImagickException on error.
1807
-     */
1808
-    public function setImageArtifact($artifact, $value) {}
1809
-
1810
-    /**
1811
-     * (No version information available, might only be in SVN)<br/>
1812
-     * Delete image artifact
1813
-     * @link https://php.net/manual/en/imagick.deleteimageartifact.php
1814
-     * @param string $artifact <p>
1815
-     * The name of the artifact to delete
1816
-     * </p>
1817
-     * @return bool <b>TRUE</b> on success.
1818
-     * @throws ImagickException on error.
1819
-     */
1820
-    public function deleteImageArtifact($artifact) {}
1821
-
1822
-    /**
1823
-     * (PECL imagick 0.9.10-0.9.9)<br/>
1824
-     * Gets the colorspace
1825
-     * @link https://php.net/manual/en/imagick.getcolorspace.php
1826
-     * @return int an integer which can be compared against COLORSPACE constants.
1827
-     */
1828
-    #[Pure]
1829
-    public function getColorspace() {}
1830
-
1831
-    /**
1832
-     * (No version information available, might only be in SVN)<br/>
1833
-     * Set colorspace
1834
-     * @link https://php.net/manual/en/imagick.setcolorspace.php
1835
-     * @param int $COLORSPACE <p>
1836
-     * One of the COLORSPACE constants
1837
-     * </p>
1838
-     * @return bool <b>TRUE</b> on success.
1839
-     */
1840
-    public function setColorspace($COLORSPACE) {}
1841
-
1842
-    /**
1843
-     * @param $CHANNEL [optional]
1844
-     * @throws ImagickException on error.
1845
-     */
1846
-    public function clampImage($CHANNEL) {}
1847
-
1848
-    /**
1849
-     * @param bool $stack
1850
-     * @param int $offset
1851
-     * @return Imagick
1852
-     * @throws ImagickException on error.
1853
-     */
1854
-    public function smushImages($stack, $offset) {}
1855
-
1856
-    /**
1857
-     * (PECL imagick 2.0.0)<br/>
1858
-     * The Imagick constructor
1859
-     * @link https://php.net/manual/en/imagick.construct.php
1860
-     * @param mixed $files <p>
1861
-     * The path to an image to load or an array of paths. Paths can include
1862
-     * wildcards for file names, or can be URLs.
1863
-     * </p>
1864
-     * @throws ImagickException Throws ImagickException on error.
1865
-     */
1866
-    public function __construct($files = null) {}
1867
-
1868
-    /**
1869
-     * @return string
1870
-     */
1871
-    public function __toString() {}
1872
-
1873
-    public function count() {}
1874
-
1875
-    /**
1876
-     * (PECL imagick 2.0.0)<br/>
1877
-     * Returns a MagickPixelIterator
1878
-     * @link https://php.net/manual/en/imagick.getpixeliterator.php
1879
-     * @return ImagickPixelIterator an ImagickPixelIterator on success.
1880
-     * @throws ImagickException on error.
1881
-     * @throws ImagickPixelIteratorException on error.
1882
-     */
1883
-    #[Pure]
1884
-    public function getPixelIterator() {}
1885
-
1886
-    /**
1887
-     * (PECL imagick 2.0.0)<br/>
1888
-     * Get an ImagickPixelIterator for an image section
1889
-     * @link https://php.net/manual/en/imagick.getpixelregioniterator.php
1890
-     * @param int $x <p>
1891
-     * The x-coordinate of the region.
1892
-     * </p>
1893
-     * @param int $y <p>
1894
-     * The y-coordinate of the region.
1895
-     * </p>
1896
-     * @param int $columns <p>
1897
-     * The width of the region.
1898
-     * </p>
1899
-     * @param int $rows <p>
1900
-     * The height of the region.
1901
-     * </p>
1902
-     * @return ImagickPixelIterator an ImagickPixelIterator for an image section.
1903
-     * @throws ImagickException on error.
1904
-     * @throws ImagickPixelIteratorException on error.
1905
-     */
1906
-    #[Pure]
1907
-    public function getPixelRegionIterator($x, $y, $columns, $rows) {}
1908
-
1909
-    /**
1910
-     * (PECL imagick 0.9.0-0.9.9)<br/>
1911
-     * Reads image from filename
1912
-     * @link https://php.net/manual/en/imagick.readimage.php
1913
-     * @param string $filename
1914
-     * @return bool <b>TRUE</b> on success.
1915
-     * @throws ImagickException Throws ImagickException on error.
1916
-     */
1917
-    public function readImage($filename) {}
1918
-
1919
-    /**
1920
-     * @param $filenames
1921
-     * @throws ImagickException Throws ImagickException on error.
1922
-     */
1923
-    public function readImages($filenames) {}
1924
-
1925
-    /**
1926
-     * (PECL imagick 2.0.0)<br/>
1927
-     * Reads image from a binary string
1928
-     * @link https://php.net/manual/en/imagick.readimageblob.php
1929
-     * @param string $image
1930
-     * @param string $filename [optional]
1931
-     * @return bool <b>TRUE</b> on success.
1932
-     * @throws ImagickException Throws ImagickException on error.
1933
-     */
1934
-    public function readImageBlob($image, $filename = null) {}
1935
-
1936
-    /**
1937
-     * (PECL imagick 2.0.0)<br/>
1938
-     * Sets the format of a particular image
1939
-     * @link https://php.net/manual/en/imagick.setimageformat.php
1940
-     * @param string $format <p>
1941
-     * String presentation of the image format. Format support
1942
-     * depends on the ImageMagick installation.
1943
-     * </p>
1944
-     * @return bool <b>TRUE</b> on success.
1945
-     * @throws ImagickException on error.
1946
-     */
1947
-    public function setImageFormat($format) {}
1948
-
1949
-    /**
1950
-     * Scales the size of an image to the given dimensions. Passing zero as either of the arguments will preserve dimension while scaling.<br>
1951
-     * If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.<br>
1952
-     * If false, the calculations should produce the same results as ImageMagick CLI does.
1953
-     * @link https://php.net/manual/en/imagick.scaleimage.php
1954
-     * @param int $cols
1955
-     * @param int $rows
1956
-     * @param bool $bestfit [optional] The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
1957
-     * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
1958
-     * @return bool <b>TRUE</b> on success.
1959
-     * @throws ImagickException Throws ImagickException on error
1960
-     * @since 2.0.0
1961
-     */
1962
-    public function scaleImage($cols, $rows, $bestfit = false, $legacy = false) {}
1963
-
1964
-    /**
1965
-     * (PECL imagick 0.9.0-0.9.9)<br/>
1966
-     * Writes an image to the specified filename
1967
-     * @link https://php.net/manual/en/imagick.writeimage.php
1968
-     * @param string $filename [optional] <p>
1969
-     * Filename where to write the image. The extension of the filename
1970
-     * defines the type of the file.
1971
-     * Format can be forced regardless of file extension using format: prefix,
1972
-     * for example "jpg:test.png".
1973
-     * </p>
1974
-     * @return bool <b>TRUE</b> on success.
1975
-     * @throws ImagickException on error.
1976
-     */
1977
-    public function writeImage($filename = null) {}
1978
-
1979
-    /**
1980
-     * (PECL imagick 0.9.0-0.9.9)<br/>
1981
-     * Writes an image or image sequence
1982
-     * @link https://php.net/manual/en/imagick.writeimages.php
1983
-     * @param string $filename
1984
-     * @param bool $adjoin
1985
-     * @return bool <b>TRUE</b> on success.
1986
-     * @throws ImagickException on error.
1987
-     */
1988
-    public function writeImages($filename, $adjoin) {}
1989
-
1990
-    /**
1991
-     * (PECL imagick 2.0.0)<br/>
1992
-     * Adds blur filter to image
1993
-     * @link https://php.net/manual/en/imagick.blurimage.php
1994
-     * @param float $radius <p>
1995
-     * Blur radius
1996
-     * </p>
1997
-     * @param float $sigma <p>
1998
-     * Standard deviation
1999
-     * </p>
2000
-     * @param int $channel [optional] <p>
2001
-     * The Channeltype
2002
-     * constant. When not supplied, all channels are blurred.
2003
-     * </p>
2004
-     * @return bool <b>TRUE</b> on success.
2005
-     * @throws ImagickException on error.
2006
-     */
2007
-    public function blurImage($radius, $sigma, $channel = null) {}
2008
-
2009
-    /**
2010
-     * Changes the size of an image to the given dimensions and removes any associated profiles.<br>
2011
-     * If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.<br>
2012
-     * If false, the calculations should produce the same results as ImageMagick CLI does.<br>
2013
-     * <br>
2014
-     * <b>Note:</b> The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
2015
-     * @link https://php.net/manual/en/imagick.thumbnailimage.php
2016
-     * @param int $columns <p>
2017
-     * Image width
2018
-     * </p>
2019
-     * @param int $rows <p>
2020
-     * Image height
2021
-     * </p>
2022
-     * @param bool $bestfit [optional] <p>
2023
-     * Whether to force maximum values
2024
-     * </p>
2025
-     * The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
2026
-     * @param bool $fill [optional]
2027
-     * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
2028
-     * @return bool <b>TRUE</b> on success.
2029
-     * @throws ImagickException on error.
2030
-     * @since 2.0.0
2031
-     */
2032
-    public function thumbnailImage($columns, $rows, $bestfit = false, $fill = false, $legacy = false) {}
2033
-
2034
-    /**
2035
-     * Creates a cropped thumbnail at the requested size.
2036
-     * If legacy is true, uses the incorrect behaviour that was present until Imagick 3.4.0.
2037
-     * If false it uses the correct behaviour.
2038
-     * @link https://php.net/manual/en/imagick.cropthumbnailimage.php
2039
-     * @param int $width The width of the thumbnail
2040
-     * @param int $height The Height of the thumbnail
2041
-     * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
2042
-     * @return bool TRUE on succes
2043
-     * @throws ImagickException Throws ImagickException on error
2044
-     * @since 2.0.0
2045
-     */
2046
-    public function cropThumbnailImage($width, $height, $legacy = false) {}
2047
-
2048
-    /**
2049
-     * (PECL imagick 2.0.0)<br/>
2050
-     * Returns the filename of a particular image in a sequence
2051
-     * @link https://php.net/manual/en/imagick.getimagefilename.php
2052
-     * @return string a string with the filename of the image.
2053
-     * @throws ImagickException on error.
2054
-     */
2055
-    #[Pure]
2056
-    public function getImageFilename() {}
2057
-
2058
-    /**
2059
-     * (PECL imagick 2.0.0)<br/>
2060
-     * Sets the filename of a particular image
2061
-     * @link https://php.net/manual/en/imagick.setimagefilename.php
2062
-     * @param string $filename
2063
-     * @return bool <b>TRUE</b> on success.
2064
-     * @throws ImagickException on error.
2065
-     */
2066
-    public function setImageFilename($filename) {}
2067
-
2068
-    /**
2069
-     * (PECL imagick 2.0.0)<br/>
2070
-     * Returns the format of a particular image in a sequence
2071
-     * @link https://php.net/manual/en/imagick.getimageformat.php
2072
-     * @return string a string containing the image format on success.
2073
-     * @throws ImagickException on error.
2074
-     */
2075
-    #[Pure]
2076
-    public function getImageFormat() {}
2077
-
2078
-    /**
2079
-     * @link https://secure.php.net/manual/en/imagick.getimagemimetype.php
2080
-     * @return string Returns the image mime-type.
2081
-     * @throws ImagickException on error.
2082
-     */
2083
-    #[Pure]
2084
-    public function getImageMimeType() {}
2085
-
2086
-    /**
2087
-     * (PECL imagick 2.0.0)<br/>
2088
-     * Removes an image from the image list
2089
-     * @link https://php.net/manual/en/imagick.removeimage.php
2090
-     * @return bool <b>TRUE</b> on success.
2091
-     * @throws ImagickException on error.
2092
-     */
2093
-    public function removeImage() {}
2094
-
2095
-    /**
2096
-     * (PECL imagick 2.0.0)<br/>
2097
-     * Destroys the Imagick object
2098
-     * @link https://php.net/manual/en/imagick.destroy.php
2099
-     * @return bool <b>TRUE</b> on success.
2100
-     */
2101
-    public function destroy() {}
2102
-
2103
-    /**
2104
-     * (PECL imagick 2.0.0)<br/>
2105
-     * Clears all resources associated to Imagick object
2106
-     * @link https://php.net/manual/en/imagick.clear.php
2107
-     * @return bool <b>TRUE</b> on success.
2108
-     */
2109
-    public function clear() {}
2110
-
2111
-    /**
2112
-     * (PECL imagick 2.0.0)<br/>
2113
-     * Returns the image length in bytes
2114
-     * @link https://php.net/manual/en/imagick.getimagesize.php
2115
-     * @return int an int containing the current image size.
2116
-     * @throws ImagickException on error.
2117
-     */
2118
-    #[Deprecated(replacement: "%class%->getImageLength()")]
2119
-    #[Pure]
2120
-    public function getImageSize() {}
2121
-
2122
-    /**
2123
-     * (PECL imagick 2.0.0)<br/>
2124
-     * Returns the image sequence as a blob
2125
-     * @link https://php.net/manual/en/imagick.getimageblob.php
2126
-     * @return string a string containing the image.
2127
-     * @throws ImagickException on error.
2128
-     */
2129
-    #[Pure]
2130
-    public function getImageBlob() {}
2131
-
2132
-    /**
2133
-     * (PECL imagick 2.0.0)<br/>
2134
-     * Returns all image sequences as a blob
2135
-     * @link https://php.net/manual/en/imagick.getimagesblob.php
2136
-     * @return string a string containing the images. On failure, throws ImagickException on failure
2137
-     * @throws ImagickException on failure
2138
-     */
2139
-    #[Pure]
2140
-    public function getImagesBlob() {}
2141
-
2142
-    /**
2143
-     * (PECL imagick 2.0.0)<br/>
2144
-     * Sets the Imagick iterator to the first image
2145
-     * @link https://php.net/manual/en/imagick.setfirstiterator.php
2146
-     * @return bool <b>TRUE</b> on success.
2147
-     */
2148
-    public function setFirstIterator() {}
2149
-
2150
-    /**
2151
-     * (PECL imagick 2.0.1)<br/>
2152
-     * Sets the Imagick iterator to the last image
2153
-     * @link https://php.net/manual/en/imagick.setlastiterator.php
2154
-     * @return bool <b>TRUE</b> on success.
2155
-     */
2156
-    public function setLastIterator() {}
2157
-
2158
-    public function resetIterator() {}
2159
-
2160
-    /**
2161
-     * (PECL imagick 2.0.0)<br/>
2162
-     * Move to the previous image in the object
2163
-     * @link https://php.net/manual/en/imagick.previousimage.php
2164
-     * @return bool <b>TRUE</b> on success.
2165
-     */
2166
-    public function previousImage() {}
2167
-
2168
-    /**
2169
-     * (PECL imagick 2.0.0)<br/>
2170
-     * Moves to the next image
2171
-     * @link https://php.net/manual/en/imagick.nextimage.php
2172
-     * @return bool <b>TRUE</b> on success.
2173
-     */
2174
-    public function nextImage() {}
2175
-
2176
-    /**
2177
-     * (PECL imagick 2.0.0)<br/>
2178
-     * Checks if the object has a previous image
2179
-     * @link https://php.net/manual/en/imagick.haspreviousimage.php
2180
-     * @return bool <b>TRUE</b> if the object has more images when traversing the list in the
2181
-     * reverse direction, returns <b>FALSE</b> if there are none.
2182
-     */
2183
-    public function hasPreviousImage() {}
2184
-
2185
-    /**
2186
-     * (PECL imagick 2.0.0)<br/>
2187
-     * Checks if the object has more images
2188
-     * @link https://php.net/manual/en/imagick.hasnextimage.php
2189
-     * @return bool <b>TRUE</b> if the object has more images when traversing the list in the
2190
-     * forward direction, returns <b>FALSE</b> if there are none.
2191
-     */
2192
-    public function hasNextImage() {}
2193
-
2194
-    /**
2195
-     * (PECL imagick 2.0.0)<br/>
2196
-     * Set the iterator position
2197
-     * @link https://php.net/manual/en/imagick.setimageindex.php
2198
-     * @param int $index <p>
2199
-     * The position to set the iterator to
2200
-     * </p>
2201
-     * @return bool <b>TRUE</b> on success.
2202
-     * @throws ImagickException on error.
2203
-     */
2204
-    #[Deprecated]
2205
-    public function setImageIndex($index) {}
2206
-
2207
-    /**
2208
-     * (PECL imagick 2.0.0)<br/>
2209
-     * Gets the index of the current active image
2210
-     * @link https://php.net/manual/en/imagick.getimageindex.php
2211
-     * @return int an integer containing the index of the image in the stack.
2212
-     */
2213
-    #[Deprecated]
2214
-    #[Pure]
2215
-    public function getImageIndex() {}
2216
-
2217
-    /**
2218
-     * (PECL imagick 2.0.0)<br/>
2219
-     * Adds a comment to your image
2220
-     * @link https://php.net/manual/en/imagick.commentimage.php
2221
-     * @param string $comment <p>
2222
-     * The comment to add
2223
-     * </p>
2224
-     * @return bool <b>TRUE</b> on success.
2225
-     * @throws ImagickException on error.
2226
-     */
2227
-    public function commentImage($comment) {}
2228
-
2229
-    /**
2230
-     * (PECL imagick 2.0.0)<br/>
2231
-     * Extracts a region of the image
2232
-     * @link https://php.net/manual/en/imagick.cropimage.php
2233
-     * @param int $width <p>
2234
-     * The width of the crop
2235
-     * </p>
2236
-     * @param int $height <p>
2237
-     * The height of the crop
2238
-     * </p>
2239
-     * @param int $x <p>
2240
-     * The X coordinate of the cropped region's top left corner
2241
-     * </p>
2242
-     * @param int $y <p>
2243
-     * The Y coordinate of the cropped region's top left corner
2244
-     * </p>
2245
-     * @return bool <b>TRUE</b> on success.
2246
-     * @throws ImagickException on error.
2247
-     */
2248
-    public function cropImage($width, $height, $x, $y) {}
2249
-
2250
-    /**
2251
-     * (PECL imagick 2.0.0)<br/>
2252
-     * Adds a label to an image
2253
-     * @link https://php.net/manual/en/imagick.labelimage.php
2254
-     * @param string $label <p>
2255
-     * The label to add
2256
-     * </p>
2257
-     * @return bool <b>TRUE</b> on success.
2258
-     * @throws ImagickException on error.
2259
-     */
2260
-    public function labelImage($label) {}
2261
-
2262
-    /**
2263
-     * (PECL imagick 2.0.0)<br/>
2264
-     * Gets the width and height as an associative array
2265
-     * @link https://php.net/manual/en/imagick.getimagegeometry.php
2266
-     * @return int[] an array with the width/height of the image.
2267
-     * @throws ImagickException on error.
2268
-     */
2269
-    #[ArrayShape(["width" => "int", "height" => "int"])]
2270
-    #[Pure]
2271
-    public function getImageGeometry() {}
2272
-
2273
-    /**
2274
-     * (PECL imagick 2.0.0)<br/>
2275
-     * Renders the ImagickDraw object on the current image
2276
-     * @link https://php.net/manual/en/imagick.drawimage.php
2277
-     * @param ImagickDraw $draw <p>
2278
-     * The drawing operations to render on the image.
2279
-     * </p>
2280
-     * @return bool <b>TRUE</b> on success.
2281
-     * @throws ImagickException on error.
2282
-     */
2283
-    public function drawImage(ImagickDraw $draw) {}
2284
-
2285
-    /**
2286
-     * (No version information available, might only be in SVN)<br/>
2287
-     * Sets the image compression quality
2288
-     * @link https://php.net/manual/en/imagick.setimagecompressionquality.php
2289
-     * @param int $quality <p>
2290
-     * The image compression quality as an integer
2291
-     * </p>
2292
-     * @return bool <b>TRUE</b> on success.
2293
-     * @throws ImagickException on error.
2294
-     */
2295
-    public function setImageCompressionQuality($quality) {}
2296
-
2297
-    /**
2298
-     * (PECL imagick 2.2.2)<br/>
2299
-     * Gets the current image's compression quality
2300
-     * @link https://php.net/manual/en/imagick.getimagecompressionquality.php
2301
-     * @return int integer describing the images compression quality
2302
-     */
2303
-    #[Pure]
2304
-    public function getImageCompressionQuality() {}
2305
-
2306
-    /**
2307
-     * (PECL imagick 2.0.0)<br/>
2308
-     * Annotates an image with text
2309
-     * @link https://php.net/manual/en/imagick.annotateimage.php
2310
-     * @param ImagickDraw $draw_settings <p>
2311
-     * The ImagickDraw object that contains settings for drawing the text
2312
-     * </p>
2313
-     * @param float $x <p>
2314
-     * Horizontal offset in pixels to the left of text
2315
-     * </p>
2316
-     * @param float $y <p>
2317
-     * Vertical offset in pixels to the baseline of text
2318
-     * </p>
2319
-     * @param float $angle <p>
2320
-     * The angle at which to write the text
2321
-     * </p>
2322
-     * @param string $text <p>
2323
-     * The string to draw
2324
-     * </p>
2325
-     * @return bool <b>TRUE</b> on success.
2326
-     * @throws ImagickException on error.
2327
-     */
2328
-    public function annotateImage(ImagickDraw $draw_settings, $x, $y, $angle, $text) {}
2329
-
2330
-    /**
2331
-     * (PECL imagick 2.0.0)<br/>
2332
-     * Composite one image onto another
2333
-     * @link https://php.net/manual/en/imagick.compositeimage.php
2334
-     * @param Imagick $composite_object <p>
2335
-     * Imagick object which holds the composite image
2336
-     * </p>
2337
-     * @param int $composite Composite operator
2338
-     * @param int $x <p>
2339
-     * The column offset of the composited image
2340
-     * </p>
2341
-     * @param int $y <p>
2342
-     * The row offset of the composited image
2343
-     * </p>
2344
-     * @param int $channel [optional] <p>
2345
-     * Provide any channel constant that is valid for your channel mode. To
2346
-     * apply to more than one channel, combine channeltype constants using
2347
-     * bitwise operators. Refer to this list of channel constants.
2348
-     * </p>
2349
-     * @return bool <b>TRUE</b> on success.
2350
-     * @throws ImagickException on error.
2351
-     */
2352
-    public function compositeImage(Imagick $composite_object, $composite, $x, $y, $channel = Imagick::CHANNEL_ALL) {}
2353
-
2354
-    /**
2355
-     * (PECL imagick 2.0.0)<br/>
2356
-     * Control the brightness, saturation, and hue
2357
-     * @link https://php.net/manual/en/imagick.modulateimage.php
2358
-     * @param float $brightness
2359
-     * @param float $saturation
2360
-     * @param float $hue
2361
-     * @return bool <b>TRUE</b> on success.
2362
-     * @throws ImagickException on error.
2363
-     */
2364
-    public function modulateImage($brightness, $saturation, $hue) {}
2365
-
2366
-    /**
2367
-     * (PECL imagick 2.0.0)<br/>
2368
-     * Gets the number of unique colors in the image
2369
-     * @link https://php.net/manual/en/imagick.getimagecolors.php
2370
-     * @return int <b>TRUE</b> on success.
2371
-     * @throws ImagickException on error.
2372
-     */
2373
-    #[Pure]
2374
-    public function getImageColors() {}
2375
-
2376
-    /**
2377
-     * (PECL imagick 2.0.0)<br/>
2378
-     * Creates a composite image
2379
-     * @link https://php.net/manual/en/imagick.montageimage.php
2380
-     * @param ImagickDraw $draw <p>
2381
-     * The font name, size, and color are obtained from this object.
2382
-     * </p>
2383
-     * @param string $tile_geometry <p>
2384
-     * The number of tiles per row and page (e.g. 6x4+0+0).
2385
-     * </p>
2386
-     * @param string $thumbnail_geometry <p>
2387
-     * Preferred image size and border size of each thumbnail
2388
-     * (e.g. 120x120+4+3&#x3E;).
2389
-     * </p>
2390
-     * @param int $mode <p>
2391
-     * Thumbnail framing mode, see Montage Mode constants.
2392
-     * </p>
2393
-     * @param string $frame <p>
2394
-     * Surround the image with an ornamental border (e.g. 15x15+3+3). The
2395
-     * frame color is that of the thumbnail's matte color.
2396
-     * </p>
2397
-     * @return Imagick <b>TRUE</b> on success.
2398
-     * @throws ImagickException on error.
2399
-     */
2400
-    public function montageImage(ImagickDraw $draw, $tile_geometry, $thumbnail_geometry, $mode, $frame) {}
2401
-
2402
-    /**
2403
-     * (PECL imagick 2.0.0)<br/>
2404
-     * Identifies an image and fetches attributes
2405
-     * @link https://php.net/manual/en/imagick.identifyimage.php
2406
-     * @param bool $appendRawOutput [optional]
2407
-     * @return array Identifies an image and returns the attributes. Attributes include
2408
-     * the image width, height, size, and others.
2409
-     * @throws ImagickException on error.
2410
-     */
2411
-    public function identifyImage($appendRawOutput = false) {}
2412
-
2413
-    /**
2414
-     * (PECL imagick 2.0.0)<br/>
2415
-     * Changes the value of individual pixels based on a threshold
2416
-     * @link https://php.net/manual/en/imagick.thresholdimage.php
2417
-     * @param float $threshold
2418
-     * @param int $channel [optional]
2419
-     * @return bool <b>TRUE</b> on success.
2420
-     * @throws ImagickException on error.
2421
-     */
2422
-    public function thresholdImage($threshold, $channel = Imagick::CHANNEL_ALL) {}
2423
-
2424
-    /**
2425
-     * (PECL imagick 2.0.0)<br/>
2426
-     * Selects a threshold for each pixel based on a range of intensity
2427
-     * @link https://php.net/manual/en/imagick.adaptivethresholdimage.php
2428
-     * @param int $width <p>
2429
-     * Width of the local neighborhood.
2430
-     * </p>
2431
-     * @param int $height <p>
2432
-     * Height of the local neighborhood.
2433
-     * </p>
2434
-     * @param int $offset <p>
2435
-     * The mean offset
2436
-     * </p>
2437
-     * @return bool <b>TRUE</b> on success.
2438
-     * @throws ImagickException on error.
2439
-     */
2440
-    public function adaptiveThresholdImage($width, $height, $offset) {}
2441
-
2442
-    /**
2443
-     * (PECL imagick 2.0.0)<br/>
2444
-     * Forces all pixels below the threshold into black
2445
-     * @link https://php.net/manual/en/imagick.blackthresholdimage.php
2446
-     * @param mixed $threshold <p>
2447
-     * The threshold below which everything turns black
2448
-     * </p>
2449
-     * @return bool <b>TRUE</b> on success.
2450
-     * @throws ImagickException on error.
2451
-     */
2452
-    public function blackThresholdImage($threshold) {}
2453
-
2454
-    /**
2455
-     * (PECL imagick 2.0.0)<br/>
2456
-     * Force all pixels above the threshold into white
2457
-     * @link https://php.net/manual/en/imagick.whitethresholdimage.php
2458
-     * @param mixed $threshold
2459
-     * @return bool <b>TRUE</b> on success.
2460
-     * @throws ImagickException on error.
2461
-     */
2462
-    public function whiteThresholdImage($threshold) {}
2463
-
2464
-    /**
2465
-     * (PECL imagick 2.0.0)<br/>
2466
-     * Append a set of images
2467
-     * @link https://php.net/manual/en/imagick.appendimages.php
2468
-     * @param bool $stack [optional] <p>
2469
-     * Whether to stack the images vertically.
2470
-     * By default (or if <b>FALSE</b> is specified) images are stacked left-to-right.
2471
-     * If <i>stack</i> is <b>TRUE</b>, images are stacked top-to-bottom.
2472
-     * </p>
2473
-     * @return Imagick Imagick instance on success.
2474
-     * @throws ImagickException on error.
2475
-     */
2476
-    public function appendImages($stack = false) {}
2477
-
2478
-    /**
2479
-     * (PECL imagick 2.0.0)<br/>
2480
-     * Simulates a charcoal drawing
2481
-     * @link https://php.net/manual/en/imagick.charcoalimage.php
2482
-     * @param float $radius <p>
2483
-     * The radius of the Gaussian, in pixels, not counting the center pixel
2484
-     * </p>
2485
-     * @param float $sigma <p>
2486
-     * The standard deviation of the Gaussian, in pixels
2487
-     * </p>
2488
-     * @return bool <b>TRUE</b> on success.
2489
-     * @throws ImagickException on error.
2490
-     */
2491
-    public function charcoalImage($radius, $sigma) {}
2492
-
2493
-    /**
2494
-     * (PECL imagick 2.0.0)<br/>
2495
-     * Enhances the contrast of a color image
2496
-     * @link https://php.net/manual/en/imagick.normalizeimage.php
2497
-     * @param int $channel [optional] <p>
2498
-     * Provide any channel constant that is valid for your channel mode. To
2499
-     * apply to more than one channel, combine channeltype constants using
2500
-     * bitwise operators. Refer to this
2501
-     * list of channel constants.
2502
-     * </p>
2503
-     * @return bool <b>TRUE</b> on success.
2504
-     * @throws ImagickException on error.
2505
-     */
2506
-    public function normalizeImage($channel = Imagick::CHANNEL_ALL) {}
2507
-
2508
-    /**
2509
-     * (PECL imagick 2.0.0)<br/>
2510
-     * Simulates an oil painting
2511
-     * @link https://php.net/manual/en/imagick.oilpaintimage.php
2512
-     * @param float $radius <p>
2513
-     * The radius of the circular neighborhood.
2514
-     * </p>
2515
-     * @return bool <b>TRUE</b> on success.
2516
-     * @throws ImagickException on error.
2517
-     */
2518
-    public function oilPaintImage($radius) {}
2519
-
2520
-    /**
2521
-     * (PECL imagick 2.0.0)<br/>
2522
-     * Reduces the image to a limited number of color level
2523
-     * @link https://php.net/manual/en/imagick.posterizeimage.php
2524
-     * @param int $levels
2525
-     * @param bool $dither
2526
-     * @return bool <b>TRUE</b> on success.
2527
-     * @throws ImagickException on error.
2528
-     */
2529
-    public function posterizeImage($levels, $dither) {}
2530
-
2531
-    /**
2532
-     * (PECL imagick 2.0.0)<br/>
2533
-     * Radial blurs an image
2534
-     * @link https://php.net/manual/en/imagick.radialblurimage.php
2535
-     * @param float $angle
2536
-     * @param int $channel [optional]
2537
-     * @return bool <b>TRUE</b> on success.
2538
-     * @throws ImagickException on error.
2539
-     */
2540
-    public function radialBlurImage($angle, $channel = Imagick::CHANNEL_ALL) {}
2541
-
2542
-    /**
2543
-     * (PECL imagick 2.0.0)<br/>
2544
-     * Creates a simulated 3d button-like effect
2545
-     * @link https://php.net/manual/en/imagick.raiseimage.php
2546
-     * @param int $width
2547
-     * @param int $height
2548
-     * @param int $x
2549
-     * @param int $y
2550
-     * @param bool $raise
2551
-     * @return bool <b>TRUE</b> on success.
2552
-     * @throws ImagickException on error.
2553
-     */
2554
-    public function raiseImage($width, $height, $x, $y, $raise) {}
2555
-
2556
-    /**
2557
-     * (PECL imagick 2.0.0)<br/>
2558
-     * Resample image to desired resolution
2559
-     * @link https://php.net/manual/en/imagick.resampleimage.php
2560
-     * @param float $x_resolution
2561
-     * @param float $y_resolution
2562
-     * @param int $filter
2563
-     * @param float $blur
2564
-     * @return bool <b>TRUE</b> on success.
2565
-     * @throws ImagickException on error.
2566
-     */
2567
-    public function resampleImage($x_resolution, $y_resolution, $filter, $blur) {}
2568
-
2569
-    /**
2570
-     * Scales an image to the desired dimensions with one of these filters:<br>
2571
-     * If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.<br>
2572
-     * If false, the calculations should produce the same results as ImageMagick CLI does.<br>
2573
-     * <br>
2574
-     * <b>Note:</b> The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched.<br>
2575
-     * In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
2576
-     * @link https://php.net/manual/en/imagick.resizeimage.php
2577
-     * @param int $columns Width of the image
2578
-     * @param int $rows Height of the image
2579
-     * @param int $filter Refer to the list of filter constants.
2580
-     * @param float $blur The blur factor where > 1 is blurry, < 1 is sharp.
2581
-     * @param bool $bestfit [optional] Added since 2.1.0. Added optional fit parameter. This method now supports proportional scaling. Pass zero as either parameter for proportional scaling
2582
-     * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
2583
-     * @return bool TRUE on success
2584
-     * @throws ImagickException on error.
2585
-     * @since 2.0.0
2586
-     */
2587
-    public function resizeImage($columns, $rows, $filter, $blur, $bestfit = false, $legacy = false) {}
2588
-
2589
-    /**
2590
-     * (PECL imagick 2.0.0)<br/>
2591
-     * Offsets an image
2592
-     * @link https://php.net/manual/en/imagick.rollimage.php
2593
-     * @param int $x <p>
2594
-     * The X offset.
2595
-     * </p>
2596
-     * @param int $y <p>
2597
-     * The Y offset.
2598
-     * </p>
2599
-     * @return bool <b>TRUE</b> on success.
2600
-     * @throws ImagickException on error.
2601
-     */
2602
-    public function rollImage($x, $y) {}
2603
-
2604
-    /**
2605
-     * (PECL imagick 2.0.0)<br/>
2606
-     * Rotates an image
2607
-     * @link https://php.net/manual/en/imagick.rotateimage.php
2608
-     * @param mixed $background <p>
2609
-     * The background color
2610
-     * </p>
2611
-     * @param float $degrees <p>
2612
-     * The number of degrees to rotate the image
2613
-     * </p>
2614
-     * @return bool <b>TRUE</b> on success.
2615
-     * @throws ImagickException on error.
2616
-     */
2617
-    public function rotateImage($background, $degrees) {}
2618
-
2619
-    /**
2620
-     * (PECL imagick 2.0.0)<br/>
2621
-     * Scales an image with pixel sampling
2622
-     * @link https://php.net/manual/en/imagick.sampleimage.php
2623
-     * @param int $columns
2624
-     * @param int $rows
2625
-     * @return bool <b>TRUE</b> on success.
2626
-     * @throws ImagickException on error.
2627
-     */
2628
-    public function sampleImage($columns, $rows) {}
2629
-
2630
-    /**
2631
-     * (PECL imagick 2.0.0)<br/>
2632
-     * Applies a solarizing effect to the image
2633
-     * @link https://php.net/manual/en/imagick.solarizeimage.php
2634
-     * @param int $threshold
2635
-     * @return bool <b>TRUE</b> on success.
2636
-     * @throws ImagickException on error.
2637
-     */
2638
-    public function solarizeImage($threshold) {}
2639
-
2640
-    /**
2641
-     * (PECL imagick 2.0.0)<br/>
2642
-     * Simulates an image shadow
2643
-     * @link https://php.net/manual/en/imagick.shadowimage.php
2644
-     * @param float $opacity
2645
-     * @param float $sigma
2646
-     * @param int $x
2647
-     * @param int $y
2648
-     * @return bool <b>TRUE</b> on success.
2649
-     * @throws ImagickException on error.
2650
-     */
2651
-    public function shadowImage($opacity, $sigma, $x, $y) {}
2652
-
2653
-    /**
2654
-     * @param string $key
2655
-     * @param string $value
2656
-     * @return bool
2657
-     * @throws ImagickException on error.
2658
-     */
2659
-    #[Deprecated]
2660
-    public function setImageAttribute($key, $value) {}
2661
-
2662
-    /**
2663
-     * (PECL imagick 2.0.0)<br/>
2664
-     * Sets the image background color
2665
-     * @link https://php.net/manual/en/imagick.setimagebackgroundcolor.php
2666
-     * @param mixed $background
2667
-     * @return bool <b>TRUE</b> on success.
2668
-     * @throws ImagickException on error.
2669
-     */
2670
-    public function setImageBackgroundColor($background) {}
2671
-
2672
-    /**
2673
-     * (PECL imagick 2.0.0)<br/>
2674
-     * Sets the image composite operator
2675
-     * @link https://php.net/manual/en/imagick.setimagecompose.php
2676
-     * @param int $compose
2677
-     * @return bool <b>TRUE</b> on success.
2678
-     * @throws ImagickException on error.
2679
-     */
2680
-    public function setImageCompose($compose) {}
2681
-
2682
-    /**
2683
-     * (PECL imagick 2.0.0)<br/>
2684
-     * Sets the image compression
2685
-     * @link https://php.net/manual/en/imagick.setimagecompression.php
2686
-     * @param int $compression <p>
2687
-     * One of the <b>COMPRESSION</b> constants
2688
-     * </p>
2689
-     * @return bool <b>TRUE</b> on success.
2690
-     * @throws ImagickException on error.
2691
-     */
2692
-    public function setImageCompression($compression) {}
2693
-
2694
-    /**
2695
-     * (PECL imagick 2.0.0)<br/>
2696
-     * Sets the image delay
2697
-     * @link https://php.net/manual/en/imagick.setimagedelay.php
2698
-     * @param int $delay <p>
2699
-     * The amount of time expressed in 'ticks' that the image should be
2700
-     * displayed for. For animated GIFs there are 100 ticks per second, so a
2701
-     * value of 20 would be 20/100 of a second aka 1/5th of a second.
2702
-     * </p>
2703
-     * @return bool <b>TRUE</b> on success.
2704
-     * @throws ImagickException on error.
2705
-     */
2706
-    public function setImageDelay($delay) {}
2707
-
2708
-    /**
2709
-     * (PECL imagick 2.0.0)<br/>
2710
-     * Sets the image depth
2711
-     * @link https://php.net/manual/en/imagick.setimagedepth.php
2712
-     * @param int $depth
2713
-     * @return bool <b>TRUE</b> on success.
2714
-     * @throws ImagickException on error.
2715
-     */
2716
-    public function setImageDepth($depth) {}
2717
-
2718
-    /**
2719
-     * (PECL imagick 2.0.0)<br/>
2720
-     * Sets the image gamma
2721
-     * @link https://php.net/manual/en/imagick.setimagegamma.php
2722
-     * @param float $gamma
2723
-     * @return bool <b>TRUE</b> on success.
2724
-     * @throws ImagickException on error.
2725
-     */
2726
-    public function setImageGamma($gamma) {}
2727
-
2728
-    /**
2729
-     * (PECL imagick 2.0.0)<br/>
2730
-     * Sets the image iterations
2731
-     * @link https://php.net/manual/en/imagick.setimageiterations.php
2732
-     * @param int $iterations <p>
2733
-     * The number of iterations the image should loop over. Set to '0' to loop
2734
-     * continuously.
2735
-     * </p>
2736
-     * @return bool <b>TRUE</b> on success.
2737
-     * @throws ImagickException on error.
2738
-     */
2739
-    public function setImageIterations($iterations) {}
2740
-
2741
-    /**
2742
-     * (PECL imagick 2.0.0)<br/>
2743
-     * Sets the image matte color
2744
-     * @link https://php.net/manual/en/imagick.setimagemattecolor.php
2745
-     * @param mixed $matte
2746
-     * @return bool <b>TRUE</b> on success.
2747
-     * @throws ImagickException on error.
2748
-     */
2749
-    public function setImageMatteColor($matte) {}
2750
-
2751
-    /**
2752
-     * (PECL imagick 2.0.0)<br/>
2753
-     * Sets the page geometry of the image
2754
-     * @link https://php.net/manual/en/imagick.setimagepage.php
2755
-     * @param int $width
2756
-     * @param int $height
2757
-     * @param int $x
2758
-     * @param int $y
2759
-     * @return bool <b>TRUE</b> on success.
2760
-     * @throws ImagickException on error.
2761
-     */
2762
-    public function setImagePage($width, $height, $x, $y) {}
2763
-
2764
-    /**
2765
-     * @param $filename
2766
-     * @throws ImagickException on error.
2767
-     */
2768
-    public function setImageProgressMonitor($filename) {}
2769
-
2770
-    /**
2771
-     * (PECL imagick 2.0.0)<br/>
2772
-     * Sets the image resolution
2773
-     * @link https://php.net/manual/en/imagick.setimageresolution.php
2774
-     * @param float $x_resolution
2775
-     * @param float $y_resolution
2776
-     * @return bool <b>TRUE</b> on success.
2777
-     * @throws ImagickException on error.
2778
-     */
2779
-    public function setImageResolution($x_resolution, $y_resolution) {}
2780
-
2781
-    /**
2782
-     * (PECL imagick 2.0.0)<br/>
2783
-     * Sets the image scene
2784
-     * @link https://php.net/manual/en/imagick.setimagescene.php
2785
-     * @param int $scene
2786
-     * @return bool <b>TRUE</b> on success.
2787
-     * @throws ImagickException on error.
2788
-     */
2789
-    public function setImageScene($scene) {}
2790
-
2791
-    /**
2792
-     * (PECL imagick 2.0.0)<br/>
2793
-     * Sets the image ticks-per-second
2794
-     * @link https://php.net/manual/en/imagick.setimagetickspersecond.php
2795
-     * @param int $ticks_per_second <p>
2796
-     * The duration for which an image should be displayed expressed in ticks
2797
-     * per second.
2798
-     * </p>
2799
-     * @return bool <b>TRUE</b> on success.
2800
-     * @throws ImagickException on error.
2801
-     */
2802
-    public function setImageTicksPerSecond($ticks_per_second) {}
2803
-
2804
-    /**
2805
-     * (PECL imagick 2.0.0)<br/>
2806
-     * Sets the image type
2807
-     * @link https://php.net/manual/en/imagick.setimagetype.php
2808
-     * @param int $image_type
2809
-     * @return bool <b>TRUE</b> on success.
2810
-     * @throws ImagickException on error.
2811
-     */
2812
-    public function setImageType($image_type) {}
2813
-
2814
-    /**
2815
-     * (PECL imagick 2.0.0)<br/>
2816
-     * Sets the image units of resolution
2817
-     * @link https://php.net/manual/en/imagick.setimageunits.php
2818
-     * @param int $units
2819
-     * @return bool <b>TRUE</b> on success.
2820
-     * @throws ImagickException on error.
2821
-     */
2822
-    public function setImageUnits($units) {}
2823
-
2824
-    /**
2825
-     * (PECL imagick 2.0.0)<br/>
2826
-     * Sharpens an image
2827
-     * @link https://php.net/manual/en/imagick.sharpenimage.php
2828
-     * @param float $radius
2829
-     * @param float $sigma
2830
-     * @param int $channel [optional]
2831
-     * @return bool <b>TRUE</b> on success.
2832
-     * @throws ImagickException on error.
2833
-     */
2834
-    public function sharpenImage($radius, $sigma, $channel = Imagick::CHANNEL_ALL) {}
2835
-
2836
-    /**
2837
-     * (PECL imagick 2.0.0)<br/>
2838
-     * Shaves pixels from the image edges
2839
-     * @link https://php.net/manual/en/imagick.shaveimage.php
2840
-     * @param int $columns
2841
-     * @param int $rows
2842
-     * @return bool <b>TRUE</b> on success.
2843
-     * @throws ImagickException on error.
2844
-     */
2845
-    public function shaveImage($columns, $rows) {}
2846
-
2847
-    /**
2848
-     * (PECL imagick 2.0.0)<br/>
2849
-     * Creating a parallelogram
2850
-     * @link https://php.net/manual/en/imagick.shearimage.php
2851
-     * @param mixed $background <p>
2852
-     * The background color
2853
-     * </p>
2854
-     * @param float $x_shear <p>
2855
-     * The number of degrees to shear on the x axis
2856
-     * </p>
2857
-     * @param float $y_shear <p>
2858
-     * The number of degrees to shear on the y axis
2859
-     * </p>
2860
-     * @return bool <b>TRUE</b> on success.
2861
-     * @throws ImagickException on error.
2862
-     */
2863
-    public function shearImage($background, $x_shear, $y_shear) {}
2864
-
2865
-    /**
2866
-     * (PECL imagick 2.0.0)<br/>
2867
-     * Splices a solid color into the image
2868
-     * @link https://php.net/manual/en/imagick.spliceimage.php
2869
-     * @param int $width
2870
-     * @param int $height
2871
-     * @param int $x
2872
-     * @param int $y
2873
-     * @return bool <b>TRUE</b> on success.
2874
-     * @throws ImagickException on error.
2875
-     */
2876
-    public function spliceImage($width, $height, $x, $y) {}
2877
-
2878
-    /**
2879
-     * (PECL imagick 2.0.0)<br/>
2880
-     * Fetch basic attributes about the image
2881
-     * @link https://php.net/manual/en/imagick.pingimage.php
2882
-     * @param string $filename <p>
2883
-     * The filename to read the information from.
2884
-     * </p>
2885
-     * @return bool <b>TRUE</b> on success.
2886
-     * @throws ImagickException on error.
2887
-     */
2888
-    public function pingImage($filename) {}
2889
-
2890
-    /**
2891
-     * (PECL imagick 2.0.0)<br/>
2892
-     * Reads image from open filehandle
2893
-     * @link https://php.net/manual/en/imagick.readimagefile.php
2894
-     * @param resource $filehandle
2895
-     * @param string $fileName [optional]
2896
-     * @return bool <b>TRUE</b> on success.
2897
-     * @throws ImagickException on error.
2898
-     */
2899
-    public function readImageFile($filehandle, $fileName = null) {}
2900
-
2901
-    /**
2902
-     * (PECL imagick 2.0.0)<br/>
2903
-     * Displays an image
2904
-     * @link https://php.net/manual/en/imagick.displayimage.php
2905
-     * @param string $servername <p>
2906
-     * The X server name
2907
-     * </p>
2908
-     * @return bool <b>TRUE</b> on success.
2909
-     * @throws ImagickException on error.
2910
-     */
2911
-    public function displayImage($servername) {}
2912
-
2913
-    /**
2914
-     * (PECL imagick 2.0.0)<br/>
2915
-     * Displays an image or image sequence
2916
-     * @link https://php.net/manual/en/imagick.displayimages.php
2917
-     * @param string $servername <p>
2918
-     * The X server name
2919
-     * </p>
2920
-     * @return bool <b>TRUE</b> on success.
2921
-     * @throws ImagickException on error.
2922
-     */
2923
-    public function displayImages($servername) {}
2924
-
2925
-    /**
2926
-     * (PECL imagick 2.0.0)<br/>
2927
-     * Randomly displaces each pixel in a block
2928
-     * @link https://php.net/manual/en/imagick.spreadimage.php
2929
-     * @param float $radius
2930
-     * @return bool <b>TRUE</b> on success.
2931
-     * @throws ImagickException on error.
2932
-     */
2933
-    public function spreadImage($radius) {}
2934
-
2935
-    /**
2936
-     * (PECL imagick 2.0.0)<br/>
2937
-     * Swirls the pixels about the center of the image
2938
-     * @link https://php.net/manual/en/imagick.swirlimage.php
2939
-     * @param float $degrees
2940
-     * @return bool <b>TRUE</b> on success.
2941
-     * @throws ImagickException on error.
2942
-     */
2943
-    public function swirlImage($degrees) {}
2944
-
2945
-    /**
2946
-     * (PECL imagick 2.0.0)<br/>
2947
-     * Strips an image of all profiles and comments
2948
-     * @link https://php.net/manual/en/imagick.stripimage.php
2949
-     * @return bool <b>TRUE</b> on success.
2950
-     * @throws ImagickException on error.
2951
-     */
2952
-    public function stripImage() {}
2953
-
2954
-    /**
2955
-     * (PECL imagick 2.0.0)<br/>
2956
-     * Returns formats supported by Imagick
2957
-     * @link https://php.net/manual/en/imagick.queryformats.php
2958
-     * @param string $pattern [optional]
2959
-     * @return array an array containing the formats supported by Imagick.
2960
-     */
2961
-    public static function queryFormats($pattern = "*") {}
2962
-
2963
-    /**
2964
-     * (PECL imagick 2.0.0)<br/>
2965
-     * Returns the configured fonts
2966
-     * @link https://php.net/manual/en/imagick.queryfonts.php
2967
-     * @param string $pattern [optional] <p>
2968
-     * The query pattern
2969
-     * </p>
2970
-     * @return array an array containing the configured fonts.
2971
-     */
2972
-    public static function queryFonts($pattern = "*") {}
2973
-
2974
-    /**
2975
-     * (PECL imagick 2.0.0)<br/>
2976
-     * Returns an array representing the font metrics
2977
-     * @link https://php.net/manual/en/imagick.queryfontmetrics.php
2978
-     * @param ImagickDraw $properties <p>
2979
-     * ImagickDraw object containing font properties
2980
-     * </p>
2981
-     * @param string $text <p>
2982
-     * The text
2983
-     * </p>
2984
-     * @param bool $multiline [optional] <p>
2985
-     * Multiline parameter. If left empty it is autodetected
2986
-     * </p>
2987
-     * @return array a multi-dimensional array representing the font metrics.
2988
-     * @throws ImagickException on error.
2989
-     */
2990
-    public function queryFontMetrics(ImagickDraw $properties, $text, $multiline = null) {}
2991
-
2992
-    /**
2993
-     * (PECL imagick 2.0.0)<br/>
2994
-     * Hides a digital watermark within the image
2995
-     * @link https://php.net/manual/en/imagick.steganoimage.php
2996
-     * @param Imagick $watermark_wand
2997
-     * @param int $offset
2998
-     * @return Imagick <b>TRUE</b> on success.
2999
-     * @throws ImagickException on error.
3000
-     */
3001
-    public function steganoImage(Imagick $watermark_wand, $offset) {}
3002
-
3003
-    /**
3004
-     * (PECL imagick 2.0.0)<br/>
3005
-     * Adds random noise to the image
3006
-     * @link https://php.net/manual/en/imagick.addnoiseimage.php
3007
-     * @param int $noise_type <p>
3008
-     * The type of the noise. Refer to this list of
3009
-     * noise constants.
3010
-     * </p>
3011
-     * @param int $channel [optional] <p>
3012
-     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
3013
-     * </p>
3014
-     * @return bool <b>TRUE</b> on success.
3015
-     * @throws ImagickException on error.
3016
-     */
3017
-    public function addNoiseImage($noise_type, $channel = Imagick::CHANNEL_DEFAULT) {}
3018
-
3019
-    /**
3020
-     * (PECL imagick 2.0.0)<br/>
3021
-     * Simulates motion blur
3022
-     * @link https://php.net/manual/en/imagick.motionblurimage.php
3023
-     * @param float $radius <p>
3024
-     * The radius of the Gaussian, in pixels, not counting the center pixel.
3025
-     * </p>
3026
-     * @param float $sigma <p>
3027
-     * The standard deviation of the Gaussian, in pixels.
3028
-     * </p>
3029
-     * @param float $angle <p>
3030
-     * Apply the effect along this angle.
3031
-     * </p>
3032
-     * @param int $channel [optional] <p>
3033
-     * Provide any channel constant that is valid for your channel mode. To
3034
-     * apply to more than one channel, combine channeltype constants using
3035
-     * bitwise operators. Refer to this
3036
-     * list of channel constants.
3037
-     * The channel argument affects only if Imagick is compiled against ImageMagick version
3038
-     * 6.4.4 or greater.
3039
-     * </p>
3040
-     * @return bool <b>TRUE</b> on success.
3041
-     * @throws ImagickException on error.
3042
-     */
3043
-    public function motionBlurImage($radius, $sigma, $angle, $channel = Imagick::CHANNEL_DEFAULT) {}
3044
-
3045
-    /**
3046
-     * (PECL imagick 2.0.0)<br/>
3047
-     * Forms a mosaic from images
3048
-     * @link https://php.net/manual/en/imagick.mosaicimages.php
3049
-     * @return Imagick <b>TRUE</b> on success.
3050
-     * @throws ImagickException on error.
3051
-     */
3052
-    #[Deprecated]
3053
-    public function mosaicImages() {}
3054
-
3055
-    /**
3056
-     * (PECL imagick 2.0.0)<br/>
3057
-     * Method morphs a set of images
3058
-     * @link https://php.net/manual/en/imagick.morphimages.php
3059
-     * @param int $number_frames <p>
3060
-     * The number of in-between images to generate.
3061
-     * </p>
3062
-     * @return Imagick This method returns a new Imagick object on success.
3063
-     * Throw an <b>ImagickException</b> on error.
3064
-     * @throws ImagickException on error
3065
-     * @throws ImagickException on error.
3066
-     */
3067
-    public function morphImages($number_frames) {}
3068
-
3069
-    /**
3070
-     * (PECL imagick 2.0.0)<br/>
3071
-     * Scales an image proportionally to half its size
3072
-     * @link https://php.net/manual/en/imagick.minifyimage.php
3073
-     * @return bool <b>TRUE</b> on success.
3074
-     * @throws ImagickException on error.
3075
-     */
3076
-    public function minifyImage() {}
3077
-
3078
-    /**
3079
-     * (PECL imagick 2.0.0)<br/>
3080
-     * Transforms an image
3081
-     * @link https://php.net/manual/en/imagick.affinetransformimage.php
3082
-     * @param ImagickDraw $matrix <p>
3083
-     * The affine matrix
3084
-     * </p>
3085
-     * @return bool <b>TRUE</b> on success.
3086
-     * @throws ImagickException on error.
3087
-     */
3088
-    public function affineTransformImage(ImagickDraw $matrix) {}
3089
-
3090
-    /**
3091
-     * (PECL imagick 2.0.0)<br/>
3092
-     * Average a set of images
3093
-     * @link https://php.net/manual/en/imagick.averageimages.php
3094
-     * @return Imagick a new Imagick object on success.
3095
-     * @throws ImagickException on error.
3096
-     */
3097
-    #[Deprecated]
3098
-    public function averageImages() {}
3099
-
3100
-    /**
3101
-     * (PECL imagick 2.0.0)<br/>
3102
-     * Surrounds the image with a border
3103
-     * @link https://php.net/manual/en/imagick.borderimage.php
3104
-     * @param mixed $bordercolor <p>
3105
-     * ImagickPixel object or a string containing the border color
3106
-     * </p>
3107
-     * @param int $width <p>
3108
-     * Border width
3109
-     * </p>
3110
-     * @param int $height <p>
3111
-     * Border height
3112
-     * </p>
3113
-     * @return bool <b>TRUE</b> on success.
3114
-     * @throws ImagickException on error.
3115
-     */
3116
-    public function borderImage($bordercolor, $width, $height) {}
3117
-
3118
-    /**
3119
-     * (PECL imagick 2.0.0)<br/>
3120
-     * Removes a region of an image and trims
3121
-     * @link https://php.net/manual/en/imagick.chopimage.php
3122
-     * @param int $width <p>
3123
-     * Width of the chopped area
3124
-     * </p>
3125
-     * @param int $height <p>
3126
-     * Height of the chopped area
3127
-     * </p>
3128
-     * @param int $x <p>
3129
-     * X origo of the chopped area
3130
-     * </p>
3131
-     * @param int $y <p>
3132
-     * Y origo of the chopped area
3133
-     * </p>
3134
-     * @return bool <b>TRUE</b> on success.
3135
-     * @throws ImagickException on error.
3136
-     */
3137
-    public function chopImage($width, $height, $x, $y) {}
3138
-
3139
-    /**
3140
-     * (PECL imagick 2.0.0)<br/>
3141
-     * Clips along the first path from the 8BIM profile
3142
-     * @link https://php.net/manual/en/imagick.clipimage.php
3143
-     * @return bool <b>TRUE</b> on success.
3144
-     * @throws ImagickException on error.
3145
-     */
3146
-    public function clipImage() {}
3147
-
3148
-    /**
3149
-     * (PECL imagick 2.0.0)<br/>
3150
-     * Clips along the named paths from the 8BIM profile
3151
-     * @link https://php.net/manual/en/imagick.clippathimage.php
3152
-     * @param string $pathname <p>
3153
-     * The name of the path
3154
-     * </p>
3155
-     * @param bool $inside <p>
3156
-     * If <b>TRUE</b> later operations take effect inside clipping path.
3157
-     * Otherwise later operations take effect outside clipping path.
3158
-     * </p>
3159
-     * @return bool <b>TRUE</b> on success.
3160
-     * @throws ImagickException on error.
3161
-     */
3162
-    public function clipPathImage($pathname, $inside) {}
3163
-
3164
-    /**
3165
-     * Alias to {@see Imagick::clipPathImage}
3166
-     * @param string $pathname
3167
-     * @param string $inside
3168
-     * @throws ImagickException on error.
3169
-     */
3170
-    public function clipImagePath($pathname, $inside) {}
3171
-
3172
-    /**
3173
-     * (PECL imagick 2.0.0)<br/>
3174
-     * Composites a set of images
3175
-     * @link https://php.net/manual/en/imagick.coalesceimages.php
3176
-     * @return Imagick a new Imagick object on success.
3177
-     * @throws ImagickException on error.
3178
-     */
3179
-    public function coalesceImages() {}
3180
-
3181
-    /**
3182
-     * (PECL imagick 2.0.0)<br/>
3183
-     * Changes the color value of any pixel that matches target
3184
-     * @link https://php.net/manual/en/imagick.colorfloodfillimage.php
3185
-     * @param mixed $fill <p>
3186
-     * ImagickPixel object containing the fill color
3187
-     * </p>
3188
-     * @param float $fuzz <p>
3189
-     * The amount of fuzz. For example, set fuzz to 10 and the color red at
3190
-     * intensities of 100 and 102 respectively are now interpreted as the
3191
-     * same color for the purposes of the floodfill.
3192
-     * </p>
3193
-     * @param mixed $bordercolor <p>
3194
-     * ImagickPixel object containing the border color
3195
-     * </p>
3196
-     * @param int $x <p>
3197
-     * X start position of the floodfill
3198
-     * </p>
3199
-     * @param int $y <p>
3200
-     * Y start position of the floodfill
3201
-     * </p>
3202
-     * @return bool <b>TRUE</b> on success.
3203
-     * @throws ImagickException on error.
3204
-     */
3205
-    #[Deprecated]
3206
-    public function colorFloodfillImage($fill, $fuzz, $bordercolor, $x, $y) {}
3207
-
3208
-    /**
3209
-     * Blends the fill color with each pixel in the image. The 'opacity' color is a per channel strength factor for how strongly the color should be applied.<br>
3210
-     * If legacy is true, the behaviour of this function is incorrect, but consistent with how it behaved before Imagick version 3.4.0
3211
-     * @link https://php.net/manual/en/imagick.colorizeimage.php
3212
-     * @param mixed $colorize <p>
3213
-     * ImagickPixel object or a string containing the colorize color
3214
-     * </p>
3215
-     * @param mixed $opacity <p>
3216
-     * ImagickPixel object or an float containing the opacity value.
3217
-     * 1.0 is fully opaque and 0.0 is fully transparent.
3218
-     * </p>
3219
-     * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
3220
-     * @return bool <b>TRUE</b> on success.
3221
-     * @throws ImagickException Throws ImagickException on error
3222
-     * @since 2.0.0
3223
-     */
3224
-    public function colorizeImage($colorize, $opacity, $legacy = false) {}
3225
-
3226
-    /**
3227
-     * (PECL imagick 2.0.0)<br/>
3228
-     * Returns the difference in one or more images
3229
-     * @link https://php.net/manual/en/imagick.compareimagechannels.php
3230
-     * @param Imagick $image <p>
3231
-     * Imagick object containing the image to compare.
3232
-     * </p>
3233
-     * @param int $channelType <p>
3234
-     * Provide any channel constant that is valid for your channel mode. To
3235
-     * apply to more than one channel, combine channeltype constants using
3236
-     * bitwise operators. Refer to this
3237
-     * list of channel constants.
3238
-     * </p>
3239
-     * @param int $metricType <p>
3240
-     * One of the metric type constants.
3241
-     * </p>
3242
-     * @return array Array consisting of new_wand and
3243
-     * distortion.
3244
-     * @throws ImagickException on error.
3245
-     */
3246
-    public function compareImageChannels(Imagick $image, $channelType, $metricType) {}
3247
-
3248
-    /**
3249
-     * (PECL imagick 2.0.0)<br/>
3250
-     * Compares an image to a reconstructed image
3251
-     * @link https://php.net/manual/en/imagick.compareimages.php
3252
-     * @param Imagick $compare <p>
3253
-     * An image to compare to.
3254
-     * </p>
3255
-     * @param int $metric <p>
3256
-     * Provide a valid metric type constant. Refer to this
3257
-     * list of metric constants.
3258
-     * </p>
3259
-     * @return array Array consisting of an Imagick object of the
3260
-     * reconstructed image and a float representing the difference.
3261
-     * @throws ImagickException Throws ImagickException on error.
3262
-     */
3263
-    public function compareImages(Imagick $compare, $metric) {}
3264
-
3265
-    /**
3266
-     * (PECL imagick 2.0.0)<br/>
3267
-     * Change the contrast of the image
3268
-     * @link https://php.net/manual/en/imagick.contrastimage.php
3269
-     * @param bool $sharpen <p>
3270
-     * The sharpen value
3271
-     * </p>
3272
-     * @return bool <b>TRUE</b> on success.
3273
-     * @throws ImagickException on error.
3274
-     */
3275
-    public function contrastImage($sharpen) {}
3276
-
3277
-    /**
3278
-     * (PECL imagick 2.0.0)<br/>
3279
-     * Combines one or more images into a single image
3280
-     * @link https://php.net/manual/en/imagick.combineimages.php
3281
-     * @param int $channelType <p>
3282
-     * Provide any channel constant that is valid for your channel mode. To
3283
-     * apply to more than one channel, combine channeltype constants using
3284
-     * bitwise operators. Refer to this
3285
-     * list of channel constants.
3286
-     * </p>
3287
-     * @return Imagick <b>TRUE</b> on success.
3288
-     * @throws ImagickException on error.
3289
-     */
3290
-    public function combineImages($channelType) {}
3291
-
3292
-    /**
3293
-     * (PECL imagick 2.0.0)<br/>
3294
-     * Applies a custom convolution kernel to the image
3295
-     * @link https://php.net/manual/en/imagick.convolveimage.php
3296
-     * @param array $kernel <p>
3297
-     * The convolution kernel
3298
-     * </p>
3299
-     * @param int $channel [optional] <p>
3300
-     * Provide any channel constant that is valid for your channel mode. To
3301
-     * apply to more than one channel, combine channeltype constants using
3302
-     * bitwise operators. Refer to this
3303
-     * list of channel constants.
3304
-     * </p>
3305
-     * @return bool <b>TRUE</b> on success.
3306
-     * @throws ImagickException on error.
3307
-     */
3308
-    public function convolveImage(array $kernel, $channel = Imagick::CHANNEL_ALL) {}
3309
-
3310
-    /**
3311
-     * (PECL imagick 2.0.0)<br/>
3312
-     * Displaces an image's colormap
3313
-     * @link https://php.net/manual/en/imagick.cyclecolormapimage.php
3314
-     * @param int $displace <p>
3315
-     * The amount to displace the colormap.
3316
-     * </p>
3317
-     * @return bool <b>TRUE</b> on success.
3318
-     * @throws ImagickException on error.
3319
-     */
3320
-    public function cycleColormapImage($displace) {}
3321
-
3322
-    /**
3323
-     * (PECL imagick 2.0.0)<br/>
3324
-     * Returns certain pixel differences between images
3325
-     * @link https://php.net/manual/en/imagick.deconstructimages.php
3326
-     * @return Imagick a new Imagick object on success.
3327
-     * @throws ImagickException on error.
3328
-     */
3329
-    public function deconstructImages() {}
3330
-
3331
-    /**
3332
-     * (PECL imagick 2.0.0)<br/>
3333
-     * Reduces the speckle noise in an image
3334
-     * @link https://php.net/manual/en/imagick.despeckleimage.php
3335
-     * @return bool <b>TRUE</b> on success.
3336
-     * @throws ImagickException on error.
3337
-     */
3338
-    public function despeckleImage() {}
3339
-
3340
-    /**
3341
-     * (PECL imagick 2.0.0)<br/>
3342
-     * Enhance edges within the image
3343
-     * @link https://php.net/manual/en/imagick.edgeimage.php
3344
-     * @param float $radius <p>
3345
-     * The radius of the operation.
3346
-     * </p>
3347
-     * @return bool <b>TRUE</b> on success.
3348
-     * @throws ImagickException on error.
3349
-     */
3350
-    public function edgeImage($radius) {}
3351
-
3352
-    /**
3353
-     * (PECL imagick 2.0.0)<br/>
3354
-     * Returns a grayscale image with a three-dimensional effect
3355
-     * @link https://php.net/manual/en/imagick.embossimage.php
3356
-     * @param float $radius <p>
3357
-     * The radius of the effect
3358
-     * </p>
3359
-     * @param float $sigma <p>
3360
-     * The sigma of the effect
3361
-     * </p>
3362
-     * @return bool <b>TRUE</b> on success.
3363
-     * @throws ImagickException on error.
3364
-     */
3365
-    public function embossImage($radius, $sigma) {}
3366
-
3367
-    /**
3368
-     * (PECL imagick 2.0.0)<br/>
3369
-     * Improves the quality of a noisy image
3370
-     * @link https://php.net/manual/en/imagick.enhanceimage.php
3371
-     * @return bool <b>TRUE</b> on success.
3372
-     * @throws ImagickException on error.
3373
-     */
3374
-    public function enhanceImage() {}
3375
-
3376
-    /**
3377
-     * (PECL imagick 2.0.0)<br/>
3378
-     * Equalizes the image histogram
3379
-     * @link https://php.net/manual/en/imagick.equalizeimage.php
3380
-     * @return bool <b>TRUE</b> on success.
3381
-     * @throws ImagickException on error.
3382
-     */
3383
-    public function equalizeImage() {}
3384
-
3385
-    /**
3386
-     * (PECL imagick 2.0.0)<br/>
3387
-     * Applies an expression to an image
3388
-     * @link https://php.net/manual/en/imagick.evaluateimage.php
3389
-     * @param int $op <p>
3390
-     * The evaluation operator
3391
-     * </p>
3392
-     * @param float $constant <p>
3393
-     * The value of the operator
3394
-     * </p>
3395
-     * @param int $channel [optional] <p>
3396
-     * Provide any channel constant that is valid for your channel mode. To
3397
-     * apply to more than one channel, combine channeltype constants using
3398
-     * bitwise operators. Refer to this
3399
-     * list of channel constants.
3400
-     * </p>
3401
-     * @return bool <b>TRUE</b> on success.
3402
-     * @throws ImagickException on error.
3403
-     */
3404
-    public function evaluateImage($op, $constant, $channel = Imagick::CHANNEL_ALL) {}
3405
-
3406
-    /**
3407
-     * Merges a sequence of images. This is useful for combining Photoshop layers into a single image.
3408
-     * This is replaced by:
3409
-     * <pre>
3410
-     * $im = $im->mergeImageLayers(\Imagick::LAYERMETHOD_FLATTEN)
3411
-     * </pre>
3412
-     * @link https://php.net/manual/en/imagick.flattenimages.php
3413
-     * @return Imagick Returns an Imagick object containing the merged image.
3414
-     * @throws ImagickException Throws ImagickException on error.
3415
-     * @since 2.0.0
3416
-     */
3417
-    #[Deprecated]
3418
-    public function flattenImages() {}
3419
-
3420
-    /**
3421
-     * (PECL imagick 2.0.0)<br/>
3422
-     * Creates a vertical mirror image
3423
-     * @link https://php.net/manual/en/imagick.flipimage.php
3424
-     * @return bool <b>TRUE</b> on success.
3425
-     * @throws ImagickException on error.
3426
-     */
3427
-    public function flipImage() {}
3428
-
3429
-    /**
3430
-     * (PECL imagick 2.0.0)<br/>
3431
-     * Creates a horizontal mirror image
3432
-     * @link https://php.net/manual/en/imagick.flopimage.php
3433
-     * @return bool <b>TRUE</b> on success.
3434
-     * @throws ImagickException on error.
3435
-     */
3436
-    public function flopImage() {}
3437
-
3438
-    /**
3439
-     * (PECL imagick 2.0.0)<br/>
3440
-     * Adds a simulated three-dimensional border
3441
-     * @link https://php.net/manual/en/imagick.frameimage.php
3442
-     * @param mixed $matte_color <p>
3443
-     * ImagickPixel object or a string representing the matte color
3444
-     * </p>
3445
-     * @param int $width <p>
3446
-     * The width of the border
3447
-     * </p>
3448
-     * @param int $height <p>
3449
-     * The height of the border
3450
-     * </p>
3451
-     * @param int $inner_bevel <p>
3452
-     * The inner bevel width
3453
-     * </p>
3454
-     * @param int $outer_bevel <p>
3455
-     * The outer bevel width
3456
-     * </p>
3457
-     * @return bool <b>TRUE</b> on success.
3458
-     * @throws ImagickException on error.
3459
-     */
3460
-    public function frameImage($matte_color, $width, $height, $inner_bevel, $outer_bevel) {}
3461
-
3462
-    /**
3463
-     * (PECL imagick 2.0.0)<br/>
3464
-     * Evaluate expression for each pixel in the image
3465
-     * @link https://php.net/manual/en/imagick.fximage.php
3466
-     * @param string $expression <p>
3467
-     * The expression.
3468
-     * </p>
3469
-     * @param int $channel [optional] <p>
3470
-     * Provide any channel constant that is valid for your channel mode. To
3471
-     * apply to more than one channel, combine channeltype constants using
3472
-     * bitwise operators. Refer to this
3473
-     * list of channel constants.
3474
-     * </p>
3475
-     * @return Imagick <b>TRUE</b> on success.
3476
-     * @throws ImagickException on error.
3477
-     */
3478
-    public function fxImage($expression, $channel = Imagick::CHANNEL_ALL) {}
3479
-
3480
-    /**
3481
-     * (PECL imagick 2.0.0)<br/>
3482
-     * Gamma-corrects an image
3483
-     * @link https://php.net/manual/en/imagick.gammaimage.php
3484
-     * @param float $gamma <p>
3485
-     * The amount of gamma-correction.
3486
-     * </p>
3487
-     * @param int $channel [optional] <p>
3488
-     * Provide any channel constant that is valid for your channel mode. To
3489
-     * apply to more than one channel, combine channeltype constants using
3490
-     * bitwise operators. Refer to this
3491
-     * list of channel constants.
3492
-     * </p>
3493
-     * @return bool <b>TRUE</b> on success.
3494
-     * @throws ImagickException on error.
3495
-     */
3496
-    public function gammaImage($gamma, $channel = Imagick::CHANNEL_ALL) {}
3497
-
3498
-    /**
3499
-     * (PECL imagick 2.0.0)<br/>
3500
-     * Blurs an image
3501
-     * @link https://php.net/manual/en/imagick.gaussianblurimage.php
3502
-     * @param float $radius <p>
3503
-     * The radius of the Gaussian, in pixels, not counting the center pixel.
3504
-     * </p>
3505
-     * @param float $sigma <p>
3506
-     * The standard deviation of the Gaussian, in pixels.
3507
-     * </p>
3508
-     * @param int $channel [optional] <p>
3509
-     * Provide any channel constant that is valid for your channel mode. To
3510
-     * apply to more than one channel, combine channeltype constants using
3511
-     * bitwise operators. Refer to this
3512
-     * list of channel constants.
3513
-     * </p>
3514
-     * @return bool <b>TRUE</b> on success.
3515
-     * @throws ImagickException on error.
3516
-     */
3517
-    public function gaussianBlurImage($radius, $sigma, $channel = Imagick::CHANNEL_ALL) {}
3518
-
3519
-    /**
3520
-     * @link https://www.php.net/manual/en/imagick.getimageattribute.php
3521
-     * @param string $key <p>The key of the attribute to get.</p>
3522
-     * @return string
3523
-     */
3524
-    #[Deprecated]
3525
-    #[Pure]
3526
-    public function getImageAttribute($key) {}
3527
-
3528
-    /**
3529
-     * (PECL imagick 2.0.0)<br/>
3530
-     * Returns the image background color
3531
-     * @link https://php.net/manual/en/imagick.getimagebackgroundcolor.php
3532
-     * @return ImagickPixel an ImagickPixel set to the background color of the image.
3533
-     * @throws ImagickException on error.
3534
-     */
3535
-    #[Pure]
3536
-    public function getImageBackgroundColor() {}
3537
-
3538
-    /**
3539
-     * (PECL imagick 2.0.0)<br/>
3540
-     * Returns the chromaticy blue primary point
3541
-     * @link https://php.net/manual/en/imagick.getimageblueprimary.php
3542
-     * @return float[] Array consisting of "x" and "y" coordinates of point.
3543
-     * @throws ImagickException on error.
3544
-     */
3545
-    #[ArrayShape(["x" => "float", "y" => "float"])]
3546
-    #[Pure]
3547
-    public function getImageBluePrimary() {}
3548
-
3549
-    /**
3550
-     * (PECL imagick 2.0.0)<br/>
3551
-     * Returns the image border color
3552
-     * @link https://php.net/manual/en/imagick.getimagebordercolor.php
3553
-     * @return ImagickPixel <b>TRUE</b> on success.
3554
-     * @throws ImagickException on error.
3555
-     */
3556
-    #[Pure]
3557
-    public function getImageBorderColor() {}
3558
-
3559
-    /**
3560
-     * (PECL imagick 2.0.0)<br/>
3561
-     * Gets the depth for a particular image channel
3562
-     * @link https://php.net/manual/en/imagick.getimagechanneldepth.php
3563
-     * @param int $channel <p>
3564
-     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
3565
-     * </p>
3566
-     * @return int <b>TRUE</b> on success.
3567
-     * @throws ImagickException on error.
3568
-     */
3569
-    #[Pure]
3570
-    public function getImageChannelDepth($channel) {}
3571
-
3572
-    /**
3573
-     * (PECL imagick 2.0.0)<br/>
3574
-     * Compares image channels of an image to a reconstructed image
3575
-     * @link https://php.net/manual/en/imagick.getimagechanneldistortion.php
3576
-     * @param Imagick $reference <p>
3577
-     * Imagick object to compare to.
3578
-     * </p>
3579
-     * @param int $channel <p>
3580
-     * Provide any channel constant that is valid for your channel mode. To
3581
-     * apply to more than one channel, combine channeltype constants using
3582
-     * bitwise operators. Refer to this
3583
-     * list of channel constants.
3584
-     * </p>
3585
-     * @param int $metric <p>
3586
-     * One of the metric type constants.
3587
-     * </p>
3588
-     * @return float <b>TRUE</b> on success.
3589
-     * @throws ImagickException on error.
3590
-     */
3591
-    #[Pure]
3592
-    public function getImageChannelDistortion(Imagick $reference, $channel, $metric) {}
3593
-
3594
-    /**
3595
-     * (PECL imagick 2.0.0)<br/>
3596
-     * Gets the extrema for one or more image channels
3597
-     * @link https://php.net/manual/en/imagick.getimagechannelextrema.php
3598
-     * @param int $channel <p>
3599
-     * Provide any channel constant that is valid for your channel mode. To
3600
-     * apply to more than one channel, combine channeltype constants using
3601
-     * bitwise operators. Refer to this
3602
-     * list of channel constants.
3603
-     * </p>
3604
-     * @return int[]
3605
-     * @throws ImagickException on error.
3606
-     */
3607
-    #[ArrayShape(["minima" => "int", "maxima" => "int"])]
3608
-    #[Deprecated]
3609
-    #[Pure]
3610
-    public function getImageChannelExtrema($channel) {}
3611
-
3612
-    /**
3613
-     * (PECL imagick 2.0.0)<br/>
3614
-     * Gets the mean and standard deviation
3615
-     * @link https://php.net/manual/en/imagick.getimagechannelmean.php
3616
-     * @param int $channel <p>
3617
-     * Provide any channel constant that is valid for your channel mode. To
3618
-     * apply to more than one channel, combine channeltype constants using
3619
-     * bitwise operators. Refer to this
3620
-     * list of channel constants.
3621
-     * </p>
3622
-     * @return float[]
3623
-     * @throws ImagickException on error.
3624
-     */
3625
-    #[ArrayShape(["mean" => "float", "standardDeviation" => "float"])]
3626
-    #[Pure]
3627
-    public function getImageChannelMean($channel) {}
3628
-
3629
-    /**
3630
-     * (PECL imagick 2.0.0)<br/>
3631
-     * Returns statistics for each channel in the image
3632
-     * @link https://php.net/manual/en/imagick.getimagechannelstatistics.php
3633
-     * @return array
3634
-     * @throws ImagickException on error.
3635
-     */
3636
-    #[Pure]
3637
-    public function getImageChannelStatistics() {}
3638
-
3639
-    /**
3640
-     * (PECL imagick 2.0.0)<br/>
3641
-     * Returns the color of the specified colormap index
3642
-     * @link https://php.net/manual/en/imagick.getimagecolormapcolor.php
3643
-     * @param int $index <p>
3644
-     * The offset into the image colormap.
3645
-     * </p>
3646
-     * @return ImagickPixel <b>TRUE</b> on success.
3647
-     * @throws ImagickException on error.
3648
-     */
3649
-    #[Pure]
3650
-    public function getImageColormapColor($index) {}
3651
-
3652
-    /**
3653
-     * (PECL imagick 2.0.0)<br/>
3654
-     * Gets the image colorspace
3655
-     * @link https://php.net/manual/en/imagick.getimagecolorspace.php
3656
-     * @return int <b>TRUE</b> on success.
3657
-     * @throws ImagickException on error.
3658
-     */
3659
-    #[Pure]
3660
-    public function getImageColorspace() {}
3661
-
3662
-    /**
3663
-     * (PECL imagick 2.0.0)<br/>
3664
-     * Returns the composite operator associated with the image
3665
-     * @link https://php.net/manual/en/imagick.getimagecompose.php
3666
-     * @return int <b>TRUE</b> on success.
3667
-     * @throws ImagickException on error.
3668
-     */
3669
-    #[Pure]
3670
-    public function getImageCompose() {}
3671
-
3672
-    /**
3673
-     * (PECL imagick 2.0.0)<br/>
3674
-     * Gets the image delay
3675
-     * @link https://php.net/manual/en/imagick.getimagedelay.php
3676
-     * @return int the image delay.
3677
-     * @throws ImagickException on error.
3678
-     */
3679
-    #[Pure]
3680
-    public function getImageDelay() {}
3681
-
3682
-    /**
3683
-     * (PECL imagick 0.9.1-0.9.9)<br/>
3684
-     * Gets the image depth
3685
-     * @link https://php.net/manual/en/imagick.getimagedepth.php
3686
-     * @return int The image depth.
3687
-     * @throws ImagickException on error.
3688
-     */
3689
-    #[Pure]
3690
-    public function getImageDepth() {}
3691
-
3692
-    /**
3693
-     * (PECL imagick 2.0.0)<br/>
3694
-     * Compares an image to a reconstructed image
3695
-     * @link https://php.net/manual/en/imagick.getimagedistortion.php
3696
-     * @param Imagick $reference <p>
3697
-     * Imagick object to compare to.
3698
-     * </p>
3699
-     * @param int $metric <p>
3700
-     * One of the metric type constants.
3701
-     * </p>
3702
-     * @return float the distortion metric used on the image (or the best guess
3703
-     * thereof).
3704
-     * @throws ImagickException on error.
3705
-     */
3706
-    #[Pure]
3707
-    public function getImageDistortion(Imagick $reference, $metric) {}
3708
-
3709
-    /**
3710
-     * (PECL imagick 2.0.0)<br/>
3711
-     * Gets the extrema for the image
3712
-     * @link https://php.net/manual/en/imagick.getimageextrema.php
3713
-     * @return int[] an associative array with the keys "min" and "max".
3714
-     * @throws ImagickException on error.
3715
-     */
3716
-    #[ArrayShape(["min" => "int", "max" => "int"])]
3717
-    #[Deprecated]
3718
-    #[Pure]
3719
-    public function getImageExtrema() {}
3720
-
3721
-    /**
3722
-     * (PECL imagick 2.0.0)<br/>
3723
-     * Gets the image disposal method
3724
-     * @link https://php.net/manual/en/imagick.getimagedispose.php
3725
-     * @return int the dispose method on success.
3726
-     * @throws ImagickException on error.
3727
-     */
3728
-    #[Pure]
3729
-    public function getImageDispose() {}
3730
-
3731
-    /**
3732
-     * (PECL imagick 2.0.0)<br/>
3733
-     * Gets the image gamma
3734
-     * @link https://php.net/manual/en/imagick.getimagegamma.php
3735
-     * @return float the image gamma on success.
3736
-     * @throws ImagickException on error.
3737
-     */
3738
-    #[Pure]
3739
-    public function getImageGamma() {}
3740
-
3741
-    /**
3742
-     * (PECL imagick 2.0.0)<br/>
3743
-     * Returns the chromaticy green primary point
3744
-     * @link https://php.net/manual/en/imagick.getimagegreenprimary.php
3745
-     * @return float[] an array with the keys "x" and "y" on success, throws an ImagickException on failure.
3746
-     * @throws ImagickException on failure
3747
-     * @throws ImagickException on error.
3748
-     */
3749
-    #[ArrayShape(["x" => "float", "y" => "float"])]
3750
-    #[Pure]
3751
-    public function getImageGreenPrimary() {}
3752
-
3753
-    /**
3754
-     * (PECL imagick 2.0.0)<br/>
3755
-     * Returns the image height
3756
-     * @link https://php.net/manual/en/imagick.getimageheight.php
3757
-     * @return int the image height in pixels.
3758
-     * @throws ImagickException on error.
3759
-     */
3760
-    #[Pure]
3761
-    public function getImageHeight() {}
3762
-
3763
-    /**
3764
-     * (PECL imagick 2.0.0)<br/>
3765
-     * Gets the image histogram
3766
-     * @link https://php.net/manual/en/imagick.getimagehistogram.php
3767
-     * @return array the image histogram as an array of ImagickPixel objects.
3768
-     * @throws ImagickException on error.
3769
-     */
3770
-    #[Pure]
3771
-    public function getImageHistogram() {}
3772
-
3773
-    /**
3774
-     * (PECL imagick 2.0.0)<br/>
3775
-     * Gets the image interlace scheme
3776
-     * @link https://php.net/manual/en/imagick.getimageinterlacescheme.php
3777
-     * @return int the interlace scheme as an integer on success.
3778
-     * Trhow an <b>ImagickException</b> on error.
3779
-     * @throws ImagickException on error
3780
-     */
3781
-    #[Deprecated]
3782
-    #[Pure]
3783
-    public function getImageInterlaceScheme() {}
3784
-
3785
-    /**
3786
-     * (PECL imagick 2.0.0)<br/>
3787
-     * Gets the image iterations
3788
-     * @link https://php.net/manual/en/imagick.getimageiterations.php
3789
-     * @return int the image iterations as an integer.
3790
-     * @throws ImagickException on error.
3791
-     */
3792
-    #[Pure]
3793
-    public function getImageIterations() {}
3794
-
3795
-    /**
3796
-     * (PECL imagick 2.0.0)<br/>
3797
-     * Returns the image matte color
3798
-     * @link https://php.net/manual/en/imagick.getimagemattecolor.php
3799
-     * @return ImagickPixel ImagickPixel object on success.
3800
-     * @throws ImagickException on error.
3801
-     */
3802
-    #[Pure]
3803
-    public function getImageMatteColor() {}
3804
-
3805
-    /**
3806
-     * (PECL imagick 2.0.0)<br/>
3807
-     * Returns the page geometry
3808
-     * @link https://php.net/manual/en/imagick.getimagepage.php
3809
-     * @return int[] the page geometry associated with the image in an array with the
3810
-     * keys "width", "height", "x", and "y".
3811
-     * @throws ImagickException on error.
3812
-     */
3813
-    #[ArrayShape(["width" => "int", "height" => "int", "x" => "int", "y" => "int"])]
3814
-    #[Pure]
3815
-    public function getImagePage() {}
3816
-
3817
-    /**
3818
-     * (PECL imagick 2.0.0)<br/>
3819
-     * Returns the color of the specified pixel
3820
-     * @link https://php.net/manual/en/imagick.getimagepixelcolor.php
3821
-     * @param int $x <p>
3822
-     * The x-coordinate of the pixel
3823
-     * </p>
3824
-     * @param int $y <p>
3825
-     * The y-coordinate of the pixel
3826
-     * </p>
3827
-     * @return ImagickPixel an ImagickPixel instance for the color at the coordinates given.
3828
-     * @throws ImagickException on error.
3829
-     */
3830
-    #[Pure]
3831
-    public function getImagePixelColor($x, $y) {}
3832
-
3833
-    /**
3834
-     * (PECL imagick 2.0.0)<br/>
3835
-     * Returns the named image profile
3836
-     * @link https://php.net/manual/en/imagick.getimageprofile.php
3837
-     * @param string $name <p>
3838
-     * The name of the profile to return.
3839
-     * </p>
3840
-     * @return string a string containing the image profile.
3841
-     * @throws ImagickException on error.
3842
-     */
3843
-    #[Pure]
3844
-    public function getImageProfile($name) {}
3845
-
3846
-    /**
3847
-     * (PECL imagick 2.0.0)<br/>
3848
-     * Returns the chromaticity red primary point
3849
-     * @link https://php.net/manual/en/imagick.getimageredprimary.php
3850
-     * @return float[] the chromaticity red primary point as an array with the keys "x"
3851
-     * and "y".
3852
-     * Throw an <b>ImagickException</b> on error.
3853
-     * @throws ImagickException on error
3854
-     */
3855
-    #[ArrayShape(["x" => "float", "y" => "float"])]
3856
-    #[Pure]
3857
-    public function getImageRedPrimary() {}
3858
-
3859
-    /**
3860
-     * (PECL imagick 2.0.0)<br/>
3861
-     * Gets the image rendering intent
3862
-     * @link https://php.net/manual/en/imagick.getimagerenderingintent.php
3863
-     * @return int the image rendering intent.
3864
-     * @throws ImagickException on error.
3865
-     */
3866
-    #[Pure]
3867
-    public function getImageRenderingIntent() {}
3868
-
3869
-    /**
3870
-     * (PECL imagick 2.0.0)<br/>
3871
-     * Gets the image X and Y resolution
3872
-     * @link https://php.net/manual/en/imagick.getimageresolution.php
3873
-     * @return float[] the resolution as an array.
3874
-     * @throws ImagickException on error.
3875
-     */
3876
-    #[ArrayShape(["x" => "float", "y" => "float"])]
3877
-    #[Pure]
3878
-    public function getImageResolution() {}
3879
-
3880
-    /**
3881
-     * (PECL imagick 2.0.0)<br/>
3882
-     * Gets the image scene
3883
-     * @link https://php.net/manual/en/imagick.getimagescene.php
3884
-     * @return int the image scene.
3885
-     * @throws ImagickException on error.
3886
-     */
3887
-    #[Pure]
3888
-    public function getImageScene() {}
3889
-
3890
-    /**
3891
-     * (PECL imagick 2.0.0)<br/>
3892
-     * Generates an SHA-256 message digest
3893
-     * @link https://php.net/manual/en/imagick.getimagesignature.php
3894
-     * @return string a string containing the SHA-256 hash of the file.
3895
-     * @throws ImagickException on error.
3896
-     */
3897
-    #[Pure]
3898
-    public function getImageSignature() {}
3899
-
3900
-    /**
3901
-     * (PECL imagick 2.0.0)<br/>
3902
-     * Gets the image ticks-per-second
3903
-     * @link https://php.net/manual/en/imagick.getimagetickspersecond.php
3904
-     * @return int the image ticks-per-second.
3905
-     * @throws ImagickException on error.
3906
-     */
3907
-    #[Pure]
3908
-    public function getImageTicksPerSecond() {}
3909
-
3910
-    /**
3911
-     * (PECL imagick 0.9.10-0.9.9)<br/>
3912
-     * Gets the potential image type
3913
-     * @link https://php.net/manual/en/imagick.getimagetype.php
3914
-     * @return int the potential image type.
3915
-     * <b>imagick::IMGTYPE_UNDEFINED</b>
3916
-     * <b>imagick::IMGTYPE_BILEVEL</b>
3917
-     * <b>imagick::IMGTYPE_GRAYSCALE</b>
3918
-     * <b>imagick::IMGTYPE_GRAYSCALEMATTE</b>
3919
-     * <b>imagick::IMGTYPE_PALETTE</b>
3920
-     * <b>imagick::IMGTYPE_PALETTEMATTE</b>
3921
-     * <b>imagick::IMGTYPE_TRUECOLOR</b>
3922
-     * <b>imagick::IMGTYPE_TRUECOLORMATTE</b>
3923
-     * <b>imagick::IMGTYPE_COLORSEPARATION</b>
3924
-     * <b>imagick::IMGTYPE_COLORSEPARATIONMATTE</b>
3925
-     * <b>imagick::IMGTYPE_OPTIMIZE</b>
3926
-     * @throws ImagickException on error.
3927
-     */
3928
-    #[Pure]
3929
-    public function getImageType() {}
3930
-
3931
-    /**
3932
-     * (PECL imagick 2.0.0)<br/>
3933
-     * Gets the image units of resolution
3934
-     * @link https://php.net/manual/en/imagick.getimageunits.php
3935
-     * @return int the image units of resolution.
3936
-     * @throws ImagickException on error.
3937
-     */
3938
-    #[Pure]
3939
-    public function getImageUnits() {}
3940
-
3941
-    /**
3942
-     * (PECL imagick 2.0.0)<br/>
3943
-     * Returns the virtual pixel method
3944
-     * @link https://php.net/manual/en/imagick.getimagevirtualpixelmethod.php
3945
-     * @return int the virtual pixel method on success.
3946
-     * @throws ImagickException on error.
3947
-     */
3948
-    #[Pure]
3949
-    public function getImageVirtualPixelMethod() {}
3950
-
3951
-    /**
3952
-     * (PECL imagick 2.0.0)<br/>
3953
-     * Returns the chromaticity white point
3954
-     * @link https://php.net/manual/en/imagick.getimagewhitepoint.php
3955
-     * @return float[] the chromaticity white point as an associative array with the keys
3956
-     * "x" and "y".
3957
-     * @throws ImagickException on error.
3958
-     */
3959
-    #[ArrayShape(["x" => "float", "y" => "float"])]
3960
-    #[Pure]
3961
-    public function getImageWhitePoint() {}
3962
-
3963
-    /**
3964
-     * (PECL imagick 2.0.0)<br/>
3965
-     * Returns the image width
3966
-     * @link https://php.net/manual/en/imagick.getimagewidth.php
3967
-     * @return int the image width.
3968
-     * @throws ImagickException on error.
3969
-     */
3970
-    #[Pure]
3971
-    public function getImageWidth() {}
3972
-
3973
-    /**
3974
-     * (PECL imagick 2.0.0)<br/>
3975
-     * Returns the number of images in the object
3976
-     * @link https://php.net/manual/en/imagick.getnumberimages.php
3977
-     * @return int the number of images associated with Imagick object.
3978
-     */
3979
-    #[Pure]
3980
-    public function getNumberImages() {}
3981
-
3982
-    /**
3983
-     * (PECL imagick 2.0.0)<br/>
3984
-     * Gets the image total ink density
3985
-     * @link https://php.net/manual/en/imagick.getimagetotalinkdensity.php
3986
-     * @return float the image total ink density of the image.
3987
-     * Throw an <b>ImagickException</b> on error.
3988
-     * @throws ImagickException on error
3989
-     * @throws ImagickException on error.
3990
-     */
3991
-    #[Pure]
3992
-    public function getImageTotalInkDensity() {}
3993
-
3994
-    /**
3995
-     * (PECL imagick 2.0.0)<br/>
3996
-     * Extracts a region of the image
3997
-     * @link https://php.net/manual/en/imagick.getimageregion.php
3998
-     * @param int $width <p>
3999
-     * The width of the extracted region.
4000
-     * </p>
4001
-     * @param int $height <p>
4002
-     * The height of the extracted region.
4003
-     * </p>
4004
-     * @param int $x <p>
4005
-     * X-coordinate of the top-left corner of the extracted region.
4006
-     * </p>
4007
-     * @param int $y <p>
4008
-     * Y-coordinate of the top-left corner of the extracted region.
4009
-     * </p>
4010
-     * @return Imagick Extracts a region of the image and returns it as a new wand.
4011
-     * @throws ImagickException on error.
4012
-     */
4013
-    #[Pure]
4014
-    public function getImageRegion($width, $height, $x, $y) {}
4015
-
4016
-    /**
4017
-     * (PECL imagick 2.0.0)<br/>
4018
-     * Creates a new image as a copy
4019
-     * @link https://php.net/manual/en/imagick.implodeimage.php
4020
-     * @param float $radius <p>
4021
-     * The radius of the implode
4022
-     * </p>
4023
-     * @return bool <b>TRUE</b> on success.
4024
-     * @throws ImagickException on error.
4025
-     */
4026
-    public function implodeImage($radius) {}
4027
-
4028
-    /**
4029
-     * (PECL imagick 2.0.0)<br/>
4030
-     * Adjusts the levels of an image
4031
-     * @link https://php.net/manual/en/imagick.levelimage.php
4032
-     * @param float $blackPoint <p>
4033
-     * The image black point
4034
-     * </p>
4035
-     * @param float $gamma <p>
4036
-     * The gamma value
4037
-     * </p>
4038
-     * @param float $whitePoint <p>
4039
-     * The image white point
4040
-     * </p>
4041
-     * @param int $channel [optional] <p>
4042
-     * Provide any channel constant that is valid for your channel mode. To
4043
-     * apply to more than one channel, combine channeltype constants using
4044
-     * bitwise operators. Refer to this
4045
-     * list of channel constants.
4046
-     * </p>
4047
-     * @return bool <b>TRUE</b> on success.
4048
-     * @throws ImagickException on error.
4049
-     */
4050
-    public function levelImage($blackPoint, $gamma, $whitePoint, $channel = Imagick::CHANNEL_ALL) {}
4051
-
4052
-    /**
4053
-     * (PECL imagick 2.0.0)<br/>
4054
-     * Scales an image proportionally 2x
4055
-     * @link https://php.net/manual/en/imagick.magnifyimage.php
4056
-     * @return bool <b>TRUE</b> on success.
4057
-     * @throws ImagickException on error.
4058
-     */
4059
-    public function magnifyImage() {}
4060
-
4061
-    /**
4062
-     * (PECL imagick 2.0.0)<br/>
4063
-     * Replaces the colors of an image with the closest color from a reference image.
4064
-     * @link https://php.net/manual/en/imagick.mapimage.php
4065
-     * @param Imagick $map
4066
-     * @param bool $dither
4067
-     * @return bool <b>TRUE</b> on success.
4068
-     * @throws ImagickException on error.
4069
-     */
4070
-    #[Deprecated]
4071
-    public function mapImage(Imagick $map, $dither) {}
4072
-
4073
-    /**
4074
-     * (PECL imagick 2.0.0)<br/>
4075
-     * Changes the transparency value of a color
4076
-     * @link https://php.net/manual/en/imagick.mattefloodfillimage.php
4077
-     * @param float $alpha <p>
4078
-     * The level of transparency: 1.0 is fully opaque and 0.0 is fully
4079
-     * transparent.
4080
-     * </p>
4081
-     * @param float $fuzz <p>
4082
-     * The fuzz member of image defines how much tolerance is acceptable to
4083
-     * consider two colors as the same.
4084
-     * </p>
4085
-     * @param mixed $bordercolor <p>
4086
-     * An <b>ImagickPixel</b> object or string representing the border color.
4087
-     * </p>
4088
-     * @param int $x <p>
4089
-     * The starting x coordinate of the operation.
4090
-     * </p>
4091
-     * @param int $y <p>
4092
-     * The starting y coordinate of the operation.
4093
-     * </p>
4094
-     * @return bool <b>TRUE</b> on success.
4095
-     * @throws ImagickException on error.
4096
-     */
4097
-    #[Deprecated]
4098
-    public function matteFloodfillImage($alpha, $fuzz, $bordercolor, $x, $y) {}
4099
-
4100
-    /**
4101
-     * (PECL imagick 2.0.0)<br/>
4102
-     * Applies a digital filter
4103
-     * @link https://php.net/manual/en/imagick.medianfilterimage.php
4104
-     * @param float $radius <p>
4105
-     * The radius of the pixel neighborhood.
4106
-     * </p>
4107
-     * @return bool <b>TRUE</b> on success.
4108
-     * @throws ImagickException on error.
4109
-     */
4110
-    #[Deprecated]
4111
-    public function medianFilterImage($radius) {}
4112
-
4113
-    /**
4114
-     * (PECL imagick 2.0.0)<br/>
4115
-     * Negates the colors in the reference image
4116
-     * @link https://php.net/manual/en/imagick.negateimage.php
4117
-     * @param bool $gray <p>
4118
-     * Whether to only negate grayscale pixels within the image.
4119
-     * </p>
4120
-     * @param int $channel [optional] <p>
4121
-     * Provide any channel constant that is valid for your channel mode. To
4122
-     * apply to more than one channel, combine channeltype constants using
4123
-     * bitwise operators. Refer to this
4124
-     * list of channel constants.
4125
-     * </p>
4126
-     * @return bool <b>TRUE</b> on success.
4127
-     * @throws ImagickException on error.
4128
-     */
4129
-    public function negateImage($gray, $channel = Imagick::CHANNEL_ALL) {}
4130
-
4131
-    /**
4132
-     * (PECL imagick 2.0.0)<br/>
4133
-     * Change any pixel that matches color
4134
-     * @link https://php.net/manual/en/imagick.paintopaqueimage.php
4135
-     * @param mixed $target <p>
4136
-     * Change this target color to the fill color within the image. An
4137
-     * ImagickPixel object or a string representing the target color.
4138
-     * </p>
4139
-     * @param mixed $fill <p>
4140
-     * An ImagickPixel object or a string representing the fill color.
4141
-     * </p>
4142
-     * @param float $fuzz <p>
4143
-     * The fuzz member of image defines how much tolerance is acceptable to
4144
-     * consider two colors as the same.
4145
-     * </p>
4146
-     * @param int $channel [optional] <p>
4147
-     * Provide any channel constant that is valid for your channel mode. To
4148
-     * apply to more than one channel, combine channeltype constants using
4149
-     * bitwise operators. Refer to this
4150
-     * list of channel constants.
4151
-     * </p>
4152
-     * @return bool <b>TRUE</b> on success.
4153
-     * @throws ImagickException on error.
4154
-     */
4155
-    #[Deprecated]
4156
-    public function paintOpaqueImage($target, $fill, $fuzz, $channel = Imagick::CHANNEL_ALL) {}
4157
-
4158
-    /**
4159
-     * (PECL imagick 2.0.0)<br/>
4160
-     * Changes any pixel that matches color with the color defined by fill
4161
-     * @link https://php.net/manual/en/imagick.painttransparentimage.php
4162
-     * @param mixed $target <p>
4163
-     * Change this target color to specified opacity value within the image.
4164
-     * </p>
4165
-     * @param float $alpha <p>
4166
-     * The level of transparency: 1.0 is fully opaque and 0.0 is fully
4167
-     * transparent.
4168
-     * </p>
4169
-     * @param float $fuzz <p>
4170
-     * The fuzz member of image defines how much tolerance is acceptable to
4171
-     * consider two colors as the same.
4172
-     * </p>
4173
-     * @return bool <b>TRUE</b> on success.
4174
-     * @throws ImagickException on error.
4175
-     */
4176
-    #[Deprecated]
4177
-    public function paintTransparentImage($target, $alpha, $fuzz) {}
4178
-
4179
-    /**
4180
-     * (PECL imagick 2.0.0)<br/>
4181
-     * Quickly pin-point appropriate parameters for image processing
4182
-     * @link https://php.net/manual/en/imagick.previewimages.php
4183
-     * @param int $preview <p>
4184
-     * Preview type. See Preview type constants
4185
-     * </p>
4186
-     * @return bool <b>TRUE</b> on success.
4187
-     * @throws ImagickException on error.
4188
-     */
4189
-    public function previewImages($preview) {}
4190
-
4191
-    /**
4192
-     * (PECL imagick 2.0.0)<br/>
4193
-     * Adds or removes a profile from an image
4194
-     * @link https://php.net/manual/en/imagick.profileimage.php
4195
-     * @param string $name
4196
-     * @param string $profile
4197
-     * @return bool <b>TRUE</b> on success.
4198
-     * @throws ImagickException on error.
4199
-     */
4200
-    public function profileImage($name, $profile) {}
4201
-
4202
-    /**
4203
-     * (PECL imagick 2.0.0)<br/>
4204
-     * Analyzes the colors within a reference image
4205
-     * @link https://php.net/manual/en/imagick.quantizeimage.php
4206
-     * @param int $numberColors
4207
-     * @param int $colorspace
4208
-     * @param int $treedepth
4209
-     * @param bool $dither
4210
-     * @param bool $measureError
4211
-     * @return bool <b>TRUE</b> on success.
4212
-     * @throws ImagickException on error.
4213
-     */
4214
-    public function quantizeImage($numberColors, $colorspace, $treedepth, $dither, $measureError) {}
4215
-
4216
-    /**
4217
-     * (PECL imagick 2.0.0)<br/>
4218
-     * Analyzes the colors within a sequence of images
4219
-     * @link https://php.net/manual/en/imagick.quantizeimages.php
4220
-     * @param int $numberColors
4221
-     * @param int $colorspace
4222
-     * @param int $treedepth
4223
-     * @param bool $dither
4224
-     * @param bool $measureError
4225
-     * @return bool <b>TRUE</b> on success.
4226
-     * @throws ImagickException on error.
4227
-     */
4228
-    public function quantizeImages($numberColors, $colorspace, $treedepth, $dither, $measureError) {}
4229
-
4230
-    /**
4231
-     * (PECL imagick 2.0.0)<br/>
4232
-     * Smooths the contours of an image
4233
-     * @link https://php.net/manual/en/imagick.reducenoiseimage.php
4234
-     * @param float $radius
4235
-     * @return bool <b>TRUE</b> on success.
4236
-     * @throws ImagickException on error.
4237
-     */
4238
-    #[Deprecated]
4239
-    public function reduceNoiseImage($radius) {}
4240
-
4241
-    /**
4242
-     * (PECL imagick 2.0.0)<br/>
4243
-     * Removes the named image profile and returns it
4244
-     * @link https://php.net/manual/en/imagick.removeimageprofile.php
4245
-     * @param string $name
4246
-     * @return string a string containing the profile of the image.
4247
-     * @throws ImagickException on error.
4248
-     */
4249
-    public function removeImageProfile($name) {}
4250
-
4251
-    /**
4252
-     * (PECL imagick 2.0.0)<br/>
4253
-     * Separates a channel from the image
4254
-     * @link https://php.net/manual/en/imagick.separateimagechannel.php
4255
-     * @param int $channel
4256
-     * @return bool <b>TRUE</b> on success.
4257
-     * @throws ImagickException on error.
4258
-     */
4259
-    public function separateImageChannel($channel) {}
4260
-
4261
-    /**
4262
-     * (PECL imagick 2.0.0)<br/>
4263
-     * Sepia tones an image
4264
-     * @link https://php.net/manual/en/imagick.sepiatoneimage.php
4265
-     * @param float $threshold
4266
-     * @return bool <b>TRUE</b> on success.
4267
-     * @throws ImagickException on error.
4268
-     */
4269
-    public function sepiaToneImage($threshold) {}
4270
-
4271
-    /**
4272
-     * (PECL imagick 2.0.0)<br/>
4273
-     * Sets the image bias for any method that convolves an image
4274
-     * @link https://php.net/manual/en/imagick.setimagebias.php
4275
-     * @param float $bias
4276
-     * @return bool <b>TRUE</b> on success.
4277
-     */
4278
-    public function setImageBias($bias) {}
4279
-
4280
-    /**
4281
-     * (PECL imagick 2.0.0)<br/>
4282
-     * Sets the image chromaticity blue primary point
4283
-     * @link https://php.net/manual/en/imagick.setimageblueprimary.php
4284
-     * @param float $x
4285
-     * @param float $y
4286
-     * @return bool <b>TRUE</b> on success.
4287
-     * @throws ImagickException on error.
4288
-     */
4289
-    public function setImageBluePrimary($x, $y) {}
4290
-
4291
-    /**
4292
-     * (PECL imagick 2.0.0)<br/>
4293
-     * Sets the image border color
4294
-     * @link https://php.net/manual/en/imagick.setimagebordercolor.php
4295
-     * @param mixed $border <p>
4296
-     * The border color
4297
-     * </p>
4298
-     * @return bool <b>TRUE</b> on success.
4299
-     * @throws ImagickException on error.
4300
-     */
4301
-    public function setImageBorderColor($border) {}
4302
-
4303
-    /**
4304
-     * (PECL imagick 2.0.0)<br/>
4305
-     * Sets the depth of a particular image channel
4306
-     * @link https://php.net/manual/en/imagick.setimagechanneldepth.php
4307
-     * @param int $channel
4308
-     * @param int $depth
4309
-     * @return bool <b>TRUE</b> on success.
4310
-     * @throws ImagickException on error.
4311
-     */
4312
-    public function setImageChannelDepth($channel, $depth) {}
4313
-
4314
-    /**
4315
-     * (PECL imagick 2.0.0)<br/>
4316
-     * Sets the color of the specified colormap index
4317
-     * @link https://php.net/manual/en/imagick.setimagecolormapcolor.php
4318
-     * @param int $index
4319
-     * @param ImagickPixel $color
4320
-     * @return bool <b>TRUE</b> on success.
4321
-     * @throws ImagickException on error.
4322
-     */
4323
-    public function setImageColormapColor($index, ImagickPixel $color) {}
4324
-
4325
-    /**
4326
-     * (PECL imagick 2.0.0)<br/>
4327
-     * Sets the image colorspace
4328
-     * @link https://php.net/manual/en/imagick.setimagecolorspace.php
4329
-     * @param int $colorspace <p>
4330
-     * One of the COLORSPACE constants
4331
-     * </p>
4332
-     * @return bool <b>TRUE</b> on success.
4333
-     * @throws ImagickException on error.
4334
-     */
4335
-    public function setImageColorspace($colorspace) {}
4336
-
4337
-    /**
4338
-     * (PECL imagick 2.0.0)<br/>
4339
-     * Sets the image disposal method
4340
-     * @link https://php.net/manual/en/imagick.setimagedispose.php
4341
-     * @param int $dispose
4342
-     * @return bool <b>TRUE</b> on success.
4343
-     * @throws ImagickException on error.
4344
-     */
4345
-    public function setImageDispose($dispose) {}
4346
-
4347
-    /**
4348
-     * (PECL imagick 2.0.0)<br/>
4349
-     * Sets the image size
4350
-     * @link https://php.net/manual/en/imagick.setimageextent.php
4351
-     * @param int $columns
4352
-     * @param int $rows
4353
-     * @return bool <b>TRUE</b> on success.
4354
-     * @throws ImagickException on error.
4355
-     */
4356
-    public function setImageExtent($columns, $rows) {}
4357
-
4358
-    /**
4359
-     * (PECL imagick 2.0.0)<br/>
4360
-     * Sets the image chromaticity green primary point
4361
-     * @link https://php.net/manual/en/imagick.setimagegreenprimary.php
4362
-     * @param float $x
4363
-     * @param float $y
4364
-     * @return bool <b>TRUE</b> on success.
4365
-     * @throws ImagickException on error.
4366
-     */
4367
-    public function setImageGreenPrimary($x, $y) {}
4368
-
4369
-    /**
4370
-     * (PECL imagick 2.0.0)<br/>
4371
-     * Sets the image compression
4372
-     * @link https://php.net/manual/en/imagick.setimageinterlacescheme.php
4373
-     * @param int $interlace_scheme
4374
-     * @return bool <b>TRUE</b> on success.
4375
-     * @throws ImagickException on error.
4376
-     */
4377
-    public function setImageInterlaceScheme($interlace_scheme) {}
4378
-
4379
-    /**
4380
-     * (PECL imagick 2.0.0)<br/>
4381
-     * Adds a named profile to the Imagick object
4382
-     * @link https://php.net/manual/en/imagick.setimageprofile.php
4383
-     * @param string $name
4384
-     * @param string $profile
4385
-     * @return bool <b>TRUE</b> on success.
4386
-     * @throws ImagickException on error.
4387
-     */
4388
-    public function setImageProfile($name, $profile) {}
4389
-
4390
-    /**
4391
-     * (PECL imagick 2.0.0)<br/>
4392
-     * Sets the image chromaticity red primary point
4393
-     * @link https://php.net/manual/en/imagick.setimageredprimary.php
4394
-     * @param float $x
4395
-     * @param float $y
4396
-     * @return bool <b>TRUE</b> on success.
4397
-     * @throws ImagickException on error.
4398
-     */
4399
-    public function setImageRedPrimary($x, $y) {}
4400
-
4401
-    /**
4402
-     * (PECL imagick 2.0.0)<br/>
4403
-     * Sets the image rendering intent
4404
-     * @link https://php.net/manual/en/imagick.setimagerenderingintent.php
4405
-     * @param int $rendering_intent
4406
-     * @return bool <b>TRUE</b> on success.
4407
-     * @throws ImagickException on error.
4408
-     */
4409
-    public function setImageRenderingIntent($rendering_intent) {}
4410
-
4411
-    /**
4412
-     * (PECL imagick 2.0.0)<br/>
4413
-     * Sets the image virtual pixel method
4414
-     * @link https://php.net/manual/en/imagick.setimagevirtualpixelmethod.php
4415
-     * @param int $method
4416
-     * @return bool <b>TRUE</b> on success.
4417
-     * @throws ImagickException on error.
4418
-     */
4419
-    public function setImageVirtualPixelMethod($method) {}
4420
-
4421
-    /**
4422
-     * (PECL imagick 2.0.0)<br/>
4423
-     * Sets the image chromaticity white point
4424
-     * @link https://php.net/manual/en/imagick.setimagewhitepoint.php
4425
-     * @param float $x
4426
-     * @param float $y
4427
-     * @return bool <b>TRUE</b> on success.
4428
-     * @throws ImagickException on error.
4429
-     */
4430
-    public function setImageWhitePoint($x, $y) {}
4431
-
4432
-    /**
4433
-     * (PECL imagick 2.0.0)<br/>
4434
-     * Adjusts the contrast of an image
4435
-     * @link https://php.net/manual/en/imagick.sigmoidalcontrastimage.php
4436
-     * @param bool $sharpen
4437
-     * @param float $alpha
4438
-     * @param float $beta
4439
-     * @param int $channel [optional]
4440
-     * @return bool <b>TRUE</b> on success.
4441
-     * @throws ImagickException on error.
4442
-     */
4443
-    public function sigmoidalContrastImage($sharpen, $alpha, $beta, $channel = Imagick::CHANNEL_ALL) {}
4444
-
4445
-    /**
4446
-     * (PECL imagick 2.0.0)<br/>
4447
-     * Composites two images
4448
-     * @link https://php.net/manual/en/imagick.stereoimage.php
4449
-     * @param Imagick $offset_wand
4450
-     * @return bool <b>TRUE</b> on success.
4451
-     * @throws ImagickException on error.
4452
-     */
4453
-    public function stereoImage(Imagick $offset_wand) {}
4454
-
4455
-    /**
4456
-     * (PECL imagick 2.0.0)<br/>
4457
-     * Repeatedly tiles the texture image
4458
-     * @link https://php.net/manual/en/imagick.textureimage.php
4459
-     * @param Imagick $texture_wand
4460
-     * @return Imagick a new Imagick object that has the repeated texture applied.
4461
-     * @throws ImagickException on error.
4462
-     */
4463
-    public function textureImage(Imagick $texture_wand) {}
4464
-
4465
-    /**
4466
-     * pplies a color vector to each pixel in the image. The 'opacity' color is a per channel strength factor for how strongly the color should be applied.
4467
-     * If legacy is true, the behaviour of this function is incorrect, but consistent with how it behaved before Imagick version 3.4.0
4468
-     * @link https://php.net/manual/en/imagick.tintimage.php
4469
-     * @param mixed $tint
4470
-     * @param mixed $opacity
4471
-     * @param bool $legacy [optional]
4472
-     * @return bool <b>TRUE</b> on success.
4473
-     * @throws ImagickException Throws ImagickException on error
4474
-     * @since 2.0.0
4475
-     */
4476
-    public function tintImage($tint, $opacity, $legacy = false) {}
4477
-
4478
-    /**
4479
-     * (PECL imagick 2.0.0)<br/>
4480
-     * Sharpens an image
4481
-     * @link https://php.net/manual/en/imagick.unsharpmaskimage.php
4482
-     * @param float $radius
4483
-     * @param float $sigma
4484
-     * @param float $amount
4485
-     * @param float $threshold
4486
-     * @param int $channel [optional]
4487
-     * @return bool <b>TRUE</b> on success.
4488
-     * @throws ImagickException on error.
4489
-     */
4490
-    public function unsharpMaskImage($radius, $sigma, $amount, $threshold, $channel = Imagick::CHANNEL_ALL) {}
4491
-
4492
-    /**
4493
-     * (PECL imagick 2.0.0)<br/>
4494
-     * Returns a new Imagick object
4495
-     * @link https://php.net/manual/en/imagick.getimage.php
4496
-     * @return Imagick a new Imagick object with the current image sequence.
4497
-     * @throws ImagickException on error.
4498
-     */
4499
-    #[Pure]
4500
-    public function getImage() {}
4501
-
4502
-    /**
4503
-     * (PECL imagick 2.0.0)<br/>
4504
-     * Adds new image to Imagick object image list
4505
-     * @link https://php.net/manual/en/imagick.addimage.php
4506
-     * @param Imagick $source <p>
4507
-     * The source Imagick object
4508
-     * </p>
4509
-     * @return bool <b>TRUE</b> on success.
4510
-     * @throws ImagickException on error.
4511
-     */
4512
-    public function addImage(Imagick $source) {}
4513
-
4514
-    /**
4515
-     * (PECL imagick 2.0.0)<br/>
4516
-     * Replaces image in the object
4517
-     * @link https://php.net/manual/en/imagick.setimage.php
4518
-     * @param Imagick $replace <p>
4519
-     * The replace Imagick object
4520
-     * </p>
4521
-     * @return bool <b>TRUE</b> on success.
4522
-     * @throws ImagickException on error.
4523
-     */
4524
-    public function setImage(Imagick $replace) {}
4525
-
4526
-    /**
4527
-     * (PECL imagick 2.0.0)<br/>
4528
-     * Creates a new image
4529
-     * @link https://php.net/manual/en/imagick.newimage.php
4530
-     * @param int $cols <p>
4531
-     * Columns in the new image
4532
-     * </p>
4533
-     * @param int $rows <p>
4534
-     * Rows in the new image
4535
-     * </p>
4536
-     * @param mixed $background <p>
4537
-     * The background color used for this image
4538
-     * </p>
4539
-     * @param string $format [optional] <p>
4540
-     * Image format. This parameter was added in Imagick version 2.0.1.
4541
-     * </p>
4542
-     * @return bool <b>TRUE</b> on success.
4543
-     * @throws ImagickException on error.
4544
-     */
4545
-    public function newImage($cols, $rows, $background, $format = null) {}
4546
-
4547
-    /**
4548
-     * (PECL imagick 2.0.0)<br/>
4549
-     * Creates a new image
4550
-     * @link https://php.net/manual/en/imagick.newpseudoimage.php
4551
-     * @param int $columns <p>
4552
-     * columns in the new image
4553
-     * </p>
4554
-     * @param int $rows <p>
4555
-     * rows in the new image
4556
-     * </p>
4557
-     * @param string $pseudoString <p>
4558
-     * string containing pseudo image definition.
4559
-     * </p>
4560
-     * @return bool <b>TRUE</b> on success.
4561
-     * @throws ImagickException on error.
4562
-     */
4563
-    public function newPseudoImage($columns, $rows, $pseudoString) {}
4564
-
4565
-    /**
4566
-     * (PECL imagick 2.0.0)<br/>
4567
-     * Gets the object compression type
4568
-     * @link https://php.net/manual/en/imagick.getcompression.php
4569
-     * @return int the compression constant
4570
-     */
4571
-    #[Pure]
4572
-    public function getCompression() {}
4573
-
4574
-    /**
4575
-     * (PECL imagick 2.0.0)<br/>
4576
-     * Gets the object compression quality
4577
-     * @link https://php.net/manual/en/imagick.getcompressionquality.php
4578
-     * @return int integer describing the compression quality
4579
-     */
4580
-    #[Pure]
4581
-    public function getCompressionQuality() {}
4582
-
4583
-    /**
4584
-     * (PECL imagick 2.0.0)<br/>
4585
-     * Returns the ImageMagick API copyright as a string
4586
-     * @link https://php.net/manual/en/imagick.getcopyright.php
4587
-     * @return string a string containing the copyright notice of Imagemagick and
4588
-     * Magickwand C API.
4589
-     */
4590
-    public static function getCopyright() {}
4591
-
4592
-    /**
4593
-     * (PECL imagick 2.0.0)<br/>
4594
-     * The filename associated with an image sequence
4595
-     * @link https://php.net/manual/en/imagick.getfilename.php
4596
-     * @return string a string on success.
4597
-     */
4598
-    #[Pure]
4599
-    public function getFilename() {}
4600
-
4601
-    /**
4602
-     * (PECL imagick 2.0.0)<br/>
4603
-     * Returns the format of the Imagick object
4604
-     * @link https://php.net/manual/en/imagick.getformat.php
4605
-     * @return string the format of the image.
4606
-     */
4607
-    #[Pure]
4608
-    public function getFormat() {}
4609
-
4610
-    /**
4611
-     * (PECL imagick 2.0.0)<br/>
4612
-     * Returns the ImageMagick home URL
4613
-     * @link https://php.net/manual/en/imagick.gethomeurl.php
4614
-     * @return string a link to the imagemagick homepage.
4615
-     */
4616
-    public static function getHomeURL() {}
4617
-
4618
-    /**
4619
-     * (PECL imagick 2.0.0)<br/>
4620
-     * Gets the object interlace scheme
4621
-     * @link https://php.net/manual/en/imagick.getinterlacescheme.php
4622
-     * @return int Gets the wand interlace
4623
-     * scheme.
4624
-     */
4625
-    #[Pure]
4626
-    public function getInterlaceScheme() {}
4627
-
4628
-    /**
4629
-     * (PECL imagick 2.0.0)<br/>
4630
-     * Returns a value associated with the specified key
4631
-     * @link https://php.net/manual/en/imagick.getoption.php
4632
-     * @param string $key <p>
4633
-     * The name of the option
4634
-     * </p>
4635
-     * @return string a value associated with a wand and the specified key.
4636
-     */
4637
-    #[Pure]
4638
-    public function getOption($key) {}
4639
-
4640
-    /**
4641
-     * (PECL imagick 2.0.0)<br/>
4642
-     * Returns the ImageMagick package name
4643
-     * @link https://php.net/manual/en/imagick.getpackagename.php
4644
-     * @return string the ImageMagick package name as a string.
4645
-     */
4646
-    public static function getPackageName() {}
4647
-
4648
-    /**
4649
-     * (PECL imagick 2.0.0)<br/>
4650
-     * Returns the page geometry
4651
-     * @link https://php.net/manual/en/imagick.getpage.php
4652
-     * @return int[] the page geometry associated with the Imagick object in
4653
-     * an associative array with the keys "width", "height", "x", and "y",
4654
-     * throwing ImagickException on error.
4655
-     * @throws ImagickException on error
4656
-     */
4657
-    //width:int, height:int, x:int, y:int
4658
-    #[ArrayShape(["width" => "int", "height" => "int", "x" => "int", "y" => "int"])]
4659
-    #[Pure]
4660
-    public function getPage() {}
4661
-
4662
-    /**
4663
-     * (PECL imagick 2.0.0)<br/>
4664
-     * Gets the quantum depth
4665
-     * @link https://php.net/manual/en/imagick.getquantumdepth.php
4666
-     * @return array the Imagick quantum depth as a string.
4667
-     */
4668
-    // quantumDepthLong:int, quantumDepthString:string
4669
-    #[ArrayShape(["quantumDepthLong" => "int", "quantumDepthString" => "string"])]
4670
-    public static function getQuantumDepth() {}
4671
-
4672
-    /**
4673
-     * (PECL imagick 2.0.0)<br/>
4674
-     * Returns the Imagick quantum range
4675
-     * @link https://php.net/manual/en/imagick.getquantumrange.php
4676
-     * @return array the Imagick quantum range as a string.
4677
-     */
4678
-    #[ArrayShape(["quantumDepthLong" => "int", "quantumDepthString" => "string"])]
4679
-    public static function getQuantumRange() {}
4680
-
4681
-    /**
4682
-     * (PECL imagick 2.0.0)<br/>
4683
-     * Returns the ImageMagick release date
4684
-     * @link https://php.net/manual/en/imagick.getreleasedate.php
4685
-     * @return string the ImageMagick release date as a string.
4686
-     */
4687
-    public static function getReleaseDate() {}
4688
-
4689
-    /**
4690
-     * (PECL imagick 2.0.0)<br/>
4691
-     * Returns the specified resource's memory usage
4692
-     * @link https://php.net/manual/en/imagick.getresource.php
4693
-     * @param int $type <p>
4694
-     * Refer to the list of resourcetype constants.
4695
-     * </p>
4696
-     * @return int the specified resource's memory usage in megabytes.
4697
-     */
4698
-    public static function getResource($type) {}
4699
-
4700
-    /**
4701
-     * (PECL imagick 2.0.0)<br/>
4702
-     * Returns the specified resource limit
4703
-     * @link https://php.net/manual/en/imagick.getresourcelimit.php
4704
-     * @param int $type <p>
4705
-     * Refer to the list of resourcetype constants.
4706
-     * </p>
4707
-     * @return int the specified resource limit in megabytes.
4708
-     */
4709
-    public static function getResourceLimit($type) {}
4710
-
4711
-    /**
4712
-     * (PECL imagick 2.0.0)<br/>
4713
-     * Gets the horizontal and vertical sampling factor
4714
-     * @link https://php.net/manual/en/imagick.getsamplingfactors.php
4715
-     * @return array an associative array with the horizontal and vertical sampling
4716
-     * factors of the image.
4717
-     */
4718
-    #[Pure]
4719
-    public function getSamplingFactors() {}
4720
-
4721
-    /**
4722
-     * (PECL imagick 2.0.0)<br/>
4723
-     * Returns the size associated with the Imagick object
4724
-     * @link https://php.net/manual/en/imagick.getsize.php
4725
-     * @return int[] the size associated with the Imagick object as an array with the
4726
-     * keys "columns" and "rows".
4727
-     * @throws ImagickException on error.
4728
-     */
4729
-    #[ArrayShape(["columns" => "int", "rows" => "int"])]
4730
-    #[Pure]
4731
-    public function getSize() {}
4732
-
4733
-    /**
4734
-     * (PECL imagick 2.0.0)<br/>
4735
-     * Returns the ImageMagick API version
4736
-     * @link https://php.net/manual/en/imagick.getversion.php
4737
-     * @return array the ImageMagick API version as a string and as a number.
4738
-     */
4739
-    #[ArrayShape(["versionNumber" => "int", "versionString" => "string"])]
4740
-    public static function getVersion() {}
4741
-
4742
-    /**
4743
-     * (PECL imagick 2.0.0)<br/>
4744
-     * Sets the object's default background color
4745
-     * @link https://php.net/manual/en/imagick.setbackgroundcolor.php
4746
-     * @param mixed $background
4747
-     * @return bool <b>TRUE</b> on success.
4748
-     * @throws ImagickException on error.
4749
-     */
4750
-    public function setBackgroundColor($background) {}
4751
-
4752
-    /**
4753
-     * (PECL imagick 2.0.0)<br/>
4754
-     * Sets the object's default compression type
4755
-     * @link https://php.net/manual/en/imagick.setcompression.php
4756
-     * @param int $compression
4757
-     * @return bool <b>TRUE</b> on success.
4758
-     * @throws ImagickException on error.
4759
-     */
4760
-    public function setCompression($compression) {}
4761
-
4762
-    /**
4763
-     * (PECL imagick 0.9.10-0.9.9)<br/>
4764
-     * Sets the object's default compression quality
4765
-     * @link https://php.net/manual/en/imagick.setcompressionquality.php
4766
-     * @param int $quality
4767
-     * @return bool <b>TRUE</b> on success.
4768
-     * @throws ImagickException on error.
4769
-     */
4770
-    public function setCompressionQuality($quality) {}
4771
-
4772
-    /**
4773
-     * (PECL imagick 2.0.0)<br/>
4774
-     * Sets the filename before you read or write the image
4775
-     * @link https://php.net/manual/en/imagick.setfilename.php
4776
-     * @param string $filename
4777
-     * @return bool <b>TRUE</b> on success.
4778
-     * @throws ImagickException on error.
4779
-     */
4780
-    public function setFilename($filename) {}
4781
-
4782
-    /**
4783
-     * (PECL imagick 2.0.0)<br/>
4784
-     * Sets the format of the Imagick object
4785
-     * @link https://php.net/manual/en/imagick.setformat.php
4786
-     * @param string $format
4787
-     * @return bool <b>TRUE</b> on success.
4788
-     * @throws ImagickException on error.
4789
-     */
4790
-    public function setFormat($format) {}
4791
-
4792
-    /**
4793
-     * (PECL imagick 2.0.0)<br/>
4794
-     * Sets the image compression
4795
-     * @link https://php.net/manual/en/imagick.setinterlacescheme.php
4796
-     * @param int $interlace_scheme
4797
-     * @return bool <b>TRUE</b> on success.
4798
-     * @throws ImagickException on error.
4799
-     */
4800
-    public function setInterlaceScheme($interlace_scheme) {}
4801
-
4802
-    /**
4803
-     * (PECL imagick 2.0.0)<br/>
4804
-     * Set an option
4805
-     * @link https://php.net/manual/en/imagick.setoption.php
4806
-     * @param string $key
4807
-     * @param string $value
4808
-     * @return bool <b>TRUE</b> on success.
4809
-     * @throws ImagickException on error.
4810
-     */
4811
-    public function setOption($key, $value) {}
4812
-
4813
-    /**
4814
-     * (PECL imagick 2.0.0)<br/>
4815
-     * Sets the page geometry of the Imagick object
4816
-     * @link https://php.net/manual/en/imagick.setpage.php
4817
-     * @param int $width
4818
-     * @param int $height
4819
-     * @param int $x
4820
-     * @param int $y
4821
-     * @return bool <b>TRUE</b> on success.
4822
-     * @throws ImagickException on error.
4823
-     */
4824
-    public function setPage($width, $height, $x, $y) {}
4825
-
4826
-    /**
4827
-     * (PECL imagick 2.0.0)<br/>
4828
-     * Sets the limit for a particular resource in megabytes
4829
-     * @link https://php.net/manual/en/imagick.setresourcelimit.php
4830
-     * @param int $type <p>
4831
-     * Refer to the list of resourcetype constants.
4832
-     * </p>
4833
-     * @param int $limit <p>
4834
-     * The resource limit. The unit depends on the type of the resource being limited.
4835
-     * </p>
4836
-     * @return bool <b>TRUE</b> on success.
4837
-     * @throws ImagickException on error.
4838
-     */
4839
-    public static function setResourceLimit($type, $limit) {}
4840
-
4841
-    /**
4842
-     * (PECL imagick 2.0.0)<br/>
4843
-     * Sets the image resolution
4844
-     * @link https://php.net/manual/en/imagick.setresolution.php
4845
-     * @param float $x_resolution <p>
4846
-     * The horizontal resolution.
4847
-     * </p>
4848
-     * @param float $y_resolution <p>
4849
-     * The vertical resolution.
4850
-     * </p>
4851
-     * @return bool <b>TRUE</b> on success.
4852
-     * @throws ImagickException on error.
4853
-     */
4854
-    public function setResolution($x_resolution, $y_resolution) {}
4855
-
4856
-    /**
4857
-     * (PECL imagick 2.0.0)<br/>
4858
-     * Sets the image sampling factors
4859
-     * @link https://php.net/manual/en/imagick.setsamplingfactors.php
4860
-     * @param array $factors
4861
-     * @return bool <b>TRUE</b> on success.
4862
-     * @throws ImagickException on error.
4863
-     */
4864
-    public function setSamplingFactors(array $factors) {}
4865
-
4866
-    /**
4867
-     * (PECL imagick 2.0.0)<br/>
4868
-     * Sets the size of the Imagick object
4869
-     * @link https://php.net/manual/en/imagick.setsize.php
4870
-     * @param int $columns
4871
-     * @param int $rows
4872
-     * @return bool <b>TRUE</b> on success.
4873
-     * @throws ImagickException on error.
4874
-     */
4875
-    public function setSize($columns, $rows) {}
4876
-
4877
-    /**
4878
-     * (PECL imagick 2.0.0)<br/>
4879
-     * Sets the image type attribute
4880
-     * @link https://php.net/manual/en/imagick.settype.php
4881
-     * @param int $image_type
4882
-     * @return bool <b>TRUE</b> on success.
4883
-     * @throws ImagickException on error.
4884
-     */
4885
-    public function setType($image_type) {}
4886
-
4887
-    public function key() {}
4888
-
4889
-    public function next() {}
4890
-
4891
-    public function rewind() {}
4892
-
4893
-    /**
4894
-     * (PECL imagick 2.0.0)<br/>
4895
-     * Checks if the current item is valid
4896
-     * @link https://php.net/manual/en/imagick.valid.php
4897
-     * @return bool <b>TRUE</b> on success.
4898
-     * @throws ImagickException on error.
4899
-     */
4900
-    public function valid() {}
4901
-
4902
-    /**
4903
-     * (PECL imagick 2.0.0)<br/>
4904
-     * Returns a reference to the current Imagick object
4905
-     * @link https://php.net/manual/en/imagick.current.php
4906
-     * @return Imagick self on success.
4907
-     */
4908
-    public function current() {}
4909
-
4910
-    /**
4911
-     * Change the brightness and/or contrast of an image. It converts the brightness and contrast parameters into slope and intercept and calls a polynomical function to apply to the image.
4912
-     * @link https://php.net/manual/en/imagick.brightnesscontrastimage.php
4913
-     * @param float $brightness
4914
-     * @param float $contrast
4915
-     * @param int $CHANNEL [optional]
4916
-     * @return void
4917
-     * @throws ImagickException on error.
4918
-     * @since 3.3.0
4919
-     */
4920
-    public function brightnessContrastImage($brightness, $contrast, $CHANNEL = Imagick::CHANNEL_DEFAULT) {}
4921
-
4922
-    /**
4923
-     * Applies a user supplied kernel to the image according to the given morphology method.
4924
-     * @link https://php.net/manual/en/imagick.morphology.php
4925
-     * @param int $morphologyMethod Which morphology method to use one of the \Imagick::MORPHOLOGY_* constants.
4926
-     * @param int $iterations The number of iteration to apply the morphology function. A value of -1 means loop until no change found. How this is applied may depend on the morphology method. Typically this is a value of 1.
4927
-     * @param ImagickKernel $ImagickKernel
4928
-     * @param int $CHANNEL [optional]
4929
-     * @return void
4930
-     * @throws ImagickException on error.
4931
-     * @throws ImagickKernelException on error.
4932
-     * @since 3.3.0
4933
-     */
4934
-    public function morphology($morphologyMethod, $iterations, ImagickKernel $ImagickKernel, $CHANNEL = Imagick::CHANNEL_DEFAULT) {}
4935
-
4936
-    /**
4937
-     * Applies a custom convolution kernel to the image.
4938
-     * @link https://php.net/manual/en/imagick.filter.php
4939
-     * @param ImagickKernel $ImagickKernel An instance of ImagickKernel that represents either a single kernel or a linked series of kernels.
4940
-     * @param int $CHANNEL [optional] Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
4941
-     * @return void
4942
-     * @throws ImagickException on error.
4943
-     * @since 3.3.0
4944
-     */
4945
-    public function filter(ImagickKernel $ImagickKernel, $CHANNEL = Imagick::CHANNEL_DEFAULT) {}
4946
-
4947
-    /**
4948
-     * Apply color transformation to an image. The method permits saturation changes, hue rotation, luminance to alpha, and various other effects. Although variable-sized transformation matrices can be used, typically one uses a 5x5 matrix for an RGBA image and a 6x6 for CMYKA (or RGBA with offsets).
4949
-     * The matrix is similar to those used by Adobe Flash except offsets are in column 6 rather than 5 (in support of CMYKA images) and offsets are normalized (divide Flash offset by 255)
4950
-     * @link https://php.net/manual/en/imagick.colormatriximage.php
4951
-     * @param array $color_matrix
4952
-     * @return void
4953
-     * @throws ImagickException on error.
4954
-     * @since 3.3.0
4955
-     */
4956
-    public function colorMatrixImage($color_matrix = Imagick::CHANNEL_DEFAULT) {}
4957
-
4958
-    /**
4959
-     * Deletes an image property.
4960
-     * @link https://php.net/manual/en/imagick.deleteimageproperty.php
4961
-     * @param string $name The name of the property to delete.
4962
-     * @return void
4963
-     * @throws ImagickException on error.
4964
-     * @since 3.3.0
4965
-     */
4966
-    public function deleteImageProperty($name) {}
4967
-
4968
-    /**
4969
-     * Implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.
4970
-     * @link https://php.net/manual/en/imagick.forwardfouriertransformimage.php
4971
-     * @param bool $magnitude If true, return as magnitude / phase pair otherwise a real / imaginary image pair.
4972
-     * @return void
4973
-     * @throws ImagickException on error.
4974
-     * @since 3.3.0
4975
-     */
4976
-    public function forwardFourierTransformimage($magnitude) {}
4977
-
4978
-    /**
4979
-     * Gets the current image's compression type.
4980
-     * @link https://php.net/manual/en/imagick.getimagecompression.php
4981
-     * @return int
4982
-     * @since 3.3.0
4983
-     */
4984
-    #[Pure]
4985
-    public function getImageCompression() {}
4986
-
4987
-    /**
4988
-     * Get the StringRegistry entry for the named key or false if not set.
4989
-     * @link https://php.net/manual/en/imagick.getregistry.php
4990
-     * @param string $key
4991
-     * @return string|false
4992
-     * @throws ImagickException Since version >= 3.4.3. Throws an exception if the key does not exist, rather than terminating the program.
4993
-     * @since 3.3.0
4994
-     */
4995
-    public static function getRegistry($key) {}
4996
-
4997
-    /**
4998
-     * Returns the ImageMagick quantum range as an integer.
4999
-     * @link https://php.net/manual/en/imagick.getquantum.php
5000
-     * @return int
5001
-     * @since 3.3.0
5002
-     */
5003
-    public static function getQuantum() {}
5004
-
5005
-    /**
5006
-     * Replaces any embedded formatting characters with the appropriate image property and returns the interpreted text. See https://www.imagemagick.org/script/escape.php for escape sequences.
5007
-     * @link https://php.net/manual/en/imagick.identifyformat.php
5008
-     * @see https://www.imagemagick.org/script/escape.php
5009
-     * @param string $embedText A string containing formatting sequences e.g. "Trim box: %@ number of unique colors: %k".
5010
-     * @return bool
5011
-     * @throws ImagickException on error.
5012
-     * @since 3.3.0
5013
-     */
5014
-    public function identifyFormat($embedText) {}
5015
-
5016
-    /**
5017
-     * Implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.
5018
-     * @link https://php.net/manual/en/imagick.inversefouriertransformimage.php
5019
-     * @param Imagick $complement The second image to combine with this one to form either the magnitude / phase or real / imaginary image pair.
5020
-     * @param bool $magnitude If true, combine as magnitude / phase pair otherwise a real / imaginary image pair.
5021
-     * @return void
5022
-     * @throws ImagickException on error.
5023
-     * @since 3.3.0
5024
-     */
5025
-    public function inverseFourierTransformImage($complement, $magnitude) {}
5026
-
5027
-    /**
5028
-     * List all the registry settings. Returns an array of all the key/value pairs in the registry
5029
-     * @link https://php.net/manual/en/imagick.listregistry.php
5030
-     * @return array An array containing the key/values from the registry.
5031
-     * @since 3.3.0
5032
-     */
5033
-    public static function listRegistry() {}
5034
-
5035
-    /**
5036
-     * Rotational blurs an image.
5037
-     * @link https://php.net/manual/en/imagick.rotationalblurimage.php
5038
-     * @param float $angle
5039
-     * @param int $CHANNEL
5040
-     * @return void
5041
-     * @throws ImagickException on error.
5042
-     * @since 3.3.0
5043
-     */
5044
-    public function rotationalBlurImage($angle, $CHANNEL = Imagick::CHANNEL_DEFAULT) {}
5045
-
5046
-    /**
5047
-     * Selectively blur an image within a contrast threshold. It is similar to the unsharpen mask that sharpens everything with contrast above a certain threshold.
5048
-     * @link https://php.net/manual/en/imagick.selectiveblurimage.php
5049
-     * @param float $radius
5050
-     * @param float $sigma
5051
-     * @param float $threshold
5052
-     * @param int $CHANNEL Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
5053
-     * @return void
5054
-     * @throws ImagickException on error.
5055
-     * @since 3.3.0
5056
-     */
5057
-    public function selectiveBlurImage($radius, $sigma, $threshold, $CHANNEL = Imagick::CHANNEL_DEFAULT) {}
5058
-
5059
-    /**
5060
-     * Set whether antialiasing should be used for operations. On by default.
5061
-     * @param bool $antialias
5062
-     * @return int
5063
-     * @throws ImagickException on error.
5064
-     * @since 3.3.0
5065
-     */
5066
-    public function setAntiAlias($antialias) {}
5067
-
5068
-    /**
5069
-     * @link https://php.net/manual/en/imagick.setimagebiasquantum.php
5070
-     * @param string $bias
5071
-     * @return void
5072
-     * @since 3.3.0
5073
-     */
5074
-    public function setImageBiasQuantum($bias) {}
5075
-
5076
-    /**
5077
-     * Set a callback that will be called during the processing of the Imagick image.
5078
-     * @link https://php.net/manual/en/imagick.setprogressmonitor.php
5079
-     * @param callable $callback The progress function to call. It should return true if image processing should continue, or false if it should be cancelled.
5080
-     * The offset parameter indicates the progress and the span parameter indicates the total amount of work needed to be done.
5081
-     * <pre> bool callback ( mixed $offset , mixed $span ) </pre>
5082
-     * <b>Caution</b>
5083
-     * The values passed to the callback function are not consistent. In particular the span parameter can increase during image processing. Because of this calculating the percentage complete of an image operation is not trivial.
5084
-     * @return void
5085
-     * @throws ImagickException on error.
5086
-     * @since 3.3.0
5087
-     */
5088
-    public function setProgressMonitor($callback) {}
5089
-
5090
-    /**
5091
-     * Sets the ImageMagick registry entry named key to value. This is most useful for setting "temporary-path" which controls where ImageMagick creates temporary images e.g. while processing PDFs.
5092
-     * @link https://php.net/manual/en/imagick.setregistry.php
5093
-     * @param string $key
5094
-     * @param string $value
5095
-     * @return void
5096
-     * @since 3.3.0
5097
-     */
5098
-    public static function setRegistry($key, $value) {}
5099
-
5100
-    /**
5101
-     * Replace each pixel with corresponding statistic from the neighborhood of the specified width and height.
5102
-     * @link https://php.net/manual/en/imagick.statisticimage.php
5103
-     * @param int $type
5104
-     * @param int $width
5105
-     * @param int $height
5106
-     * @param int $channel [optional]
5107
-     * @return void
5108
-     * @throws ImagickException on error.
5109
-     * @since 3.3.0
5110
-     */
5111
-    public function statisticImage($type, $width, $height, $channel = Imagick::CHANNEL_DEFAULT) {}
5112
-
5113
-    /**
5114
-     * Searches for a subimage in the current image and returns a similarity image such that an exact match location is
5115
-     * completely white and if none of the pixels match, black, otherwise some gray level in-between.
5116
-     * You can also pass in the optional parameters bestMatch and similarity. After calling the function similarity will
5117
-     * be set to the 'score' of the similarity between the subimage and the matching position in the larger image,
5118
-     * bestMatch will contain an associative array with elements x, y, width, height that describe the matching region.
5119
-     *
5120
-     * @link https://php.net/manual/en/imagick.subimagematch.php
5121
-     * @param Imagick $imagick
5122
-     * @param array &$bestMatch [optional]
5123
-     * @param float &$similarity [optional] A new image that displays the amount of similarity at each pixel.
5124
-     * @param float $similarity_threshold [optional] Only used if compiled with ImageMagick (library) > 7
5125
-     * @param int $metric [optional] Only used if compiled with ImageMagick (library) > 7
5126
-     * @return Imagick
5127
-     * @throws ImagickException on error.
5128
-     * @since 3.3.0
5129
-     */
5130
-    public function subImageMatch(Imagick $imagick, array &$bestMatch, &$similarity, $similarity_threshold, $metric) {}
5131
-
5132
-    /**
5133
-     * Is an alias of Imagick::subImageMatch
5134
-     *
5135
-     * @param Imagick $imagick
5136
-     * @param array &$bestMatch [optional]
5137
-     * @param float &$similarity [optional] A new image that displays the amount of similarity at each pixel.
5138
-     * @param float $similarity_threshold [optional]
5139
-     * @param int $metric [optional]
5140
-     * @return Imagick
5141
-     * @throws ImagickException on error.
5142
-     * @see Imagick::subImageMatch() This function is an alias of subImageMatch()
5143
-     * @since 3.4.0
5144
-     */
5145
-    public function similarityImage(Imagick $imagick, array &$bestMatch, &$similarity, $similarity_threshold, $metric) {}
5146
-
5147
-    /**
5148
-     * Returns any ImageMagick  configure options that match the specified pattern (e.g. "*" for all). Options include NAME, VERSION, LIB_VERSION, etc.
5149
-     * @return string
5150
-     * @since 3.4.0
5151
-     */
5152
-    #[Pure]
5153
-    public function getConfigureOptions() {}
5154
-
5155
-    /**
5156
-     * GetFeatures() returns the ImageMagick features that have been compiled into the runtime.
5157
-     * @return string
5158
-     * @since 3.4.0
5159
-     */
5160
-    #[Pure]
5161
-    public function getFeatures() {}
5162
-
5163
-    /**
5164
-     * @return int
5165
-     * @since 3.4.0
5166
-     */
5167
-    #[Pure]
5168
-    public function getHDRIEnabled() {}
5169
-
5170
-    /**
5171
-     * Sets the image channel mask. Returns the previous set channel mask.
5172
-     * Only works with Imagick >= 7
5173
-     * @param int $channel
5174
-     * @throws ImagickException on error.
5175
-     * @since 3.4.0
5176
-     */
5177
-    public function setImageChannelMask($channel) {}
5178
-
5179
-    /**
5180
-     * Merge multiple images of the same size together with the selected operator. https://www.imagemagick.org/Usage/layers/#evaluate-sequence
5181
-     * @param int $EVALUATE_CONSTANT
5182
-     * @return bool
5183
-     * @see https://www.imagemagick.org/Usage/layers/#evaluate-sequence
5184
-     * @throws ImagickException on error.
5185
-     * @since 3.4.0
5186
-     */
5187
-    public function evaluateImages($EVALUATE_CONSTANT) {}
5188
-
5189
-    /**
5190
-     * Extracts the 'mean' from the image and adjust the image to try make set its gamma appropriately.
5191
-     * @param int $channel [optional] Default value Imagick::CHANNEL_ALL
5192
-     * @return bool
5193
-     * @throws ImagickException on error.
5194
-     * @since 3.4.1
5195
-     */
5196
-    public function autoGammaImage($channel = Imagick::CHANNEL_ALL) {}
5197
-
5198
-    /**
5199
-     * Adjusts an image so that its orientation is suitable $ for viewing (i.e. top-left orientation).
5200
-     * @return bool
5201
-     * @throws ImagickException on error.
5202
-     * @since 3.4.1
5203
-     */
5204
-    public function autoOrient() {}
5205
-
5206
-    /**
5207
-     * Composite one image onto another using the specified gravity.
5208
-     *
5209
-     * @param Imagick $imagick
5210
-     * @param int $COMPOSITE_CONSTANT
5211
-     * @param int $GRAVITY_CONSTANT
5212
-     * @return bool
5213
-     * @throws ImagickException on error.
5214
-     * @since 3.4.1
5215
-     */
5216
-    public function compositeImageGravity(Imagick $imagick, $COMPOSITE_CONSTANT, $GRAVITY_CONSTANT) {}
5217
-
5218
-    /**
5219
-     * Attempts to increase the appearance of large-scale light-dark transitions.
5220
-     *
5221
-     * @param float $radius
5222
-     * @param float $strength
5223
-     * @return bool
5224
-     * @throws ImagickException on error.
5225
-     * @since 3.4.1
5226
-     */
5227
-    public function localContrastImage($radius, $strength) {}
5228
-
5229
-    /**
5230
-     * Identifies the potential image type, returns one of the Imagick::IMGTYPE_* constants
5231
-     * @return int
5232
-     * @throws ImagickException on error.
5233
-     * @since 3.4.3
5234
-     */
5235
-    public function identifyImageType() {}
5236
-
5237
-    /**
5238
-     * Sets the image to the specified alpha level. Will replace ImagickDraw::setOpacity()
5239
-     *
5240
-     * @param float $alpha
5241
-     * @return bool
5242
-     * @throws ImagickException on error.
5243
-     * @since 3.4.3
5244
-     */
5245
-    public function setImageAlpha($alpha) {}
25
+	public const COLOR_BLACK = 11;
26
+	public const COLOR_BLUE = 12;
27
+	public const COLOR_CYAN = 13;
28
+	public const COLOR_GREEN = 14;
29
+	public const COLOR_RED = 15;
30
+	public const COLOR_YELLOW = 16;
31
+	public const COLOR_MAGENTA = 17;
32
+	public const COLOR_OPACITY = 18;
33
+	public const COLOR_ALPHA = 19;
34
+	public const COLOR_FUZZ = 20;
35
+	public const IMAGICK_EXTNUM = 30403;
36
+	public const IMAGICK_EXTVER = "3.4.3";
37
+	public const QUANTUM_RANGE = 65535;
38
+	public const USE_ZEND_MM = 0;
39
+	public const COMPOSITE_DEFAULT = 40;
40
+	public const COMPOSITE_UNDEFINED = 0;
41
+	public const COMPOSITE_NO = 1;
42
+	public const COMPOSITE_ADD = 2;
43
+	public const COMPOSITE_ATOP = 3;
44
+	public const COMPOSITE_BLEND = 4;
45
+	public const COMPOSITE_BUMPMAP = 5;
46
+	public const COMPOSITE_CLEAR = 7;
47
+	public const COMPOSITE_COLORBURN = 8;
48
+	public const COMPOSITE_COLORDODGE = 9;
49
+	public const COMPOSITE_COLORIZE = 10;
50
+	public const COMPOSITE_COPYBLACK = 11;
51
+	public const COMPOSITE_COPYBLUE = 12;
52
+	public const COMPOSITE_COPY = 13;
53
+	public const COMPOSITE_COPYCYAN = 14;
54
+	public const COMPOSITE_COPYGREEN = 15;
55
+	public const COMPOSITE_COPYMAGENTA = 16;
56
+	public const COMPOSITE_COPYOPACITY = 17;
57
+	public const COMPOSITE_COPYRED = 18;
58
+	public const COMPOSITE_COPYYELLOW = 19;
59
+	public const COMPOSITE_DARKEN = 20;
60
+	public const COMPOSITE_DSTATOP = 21;
61
+	public const COMPOSITE_DST = 22;
62
+	public const COMPOSITE_DSTIN = 23;
63
+	public const COMPOSITE_DSTOUT = 24;
64
+	public const COMPOSITE_DSTOVER = 25;
65
+	public const COMPOSITE_DIFFERENCE = 26;
66
+	public const COMPOSITE_DISPLACE = 27;
67
+	public const COMPOSITE_DISSOLVE = 28;
68
+	public const COMPOSITE_EXCLUSION = 29;
69
+	public const COMPOSITE_HARDLIGHT = 30;
70
+	public const COMPOSITE_HUE = 31;
71
+	public const COMPOSITE_IN = 32;
72
+	public const COMPOSITE_LIGHTEN = 33;
73
+	public const COMPOSITE_LUMINIZE = 35;
74
+	public const COMPOSITE_MINUS = 36;
75
+	public const COMPOSITE_MODULATE = 37;
76
+	public const COMPOSITE_MULTIPLY = 38;
77
+	public const COMPOSITE_OUT = 39;
78
+	public const COMPOSITE_OVER = 40;
79
+	public const COMPOSITE_OVERLAY = 41;
80
+	public const COMPOSITE_PLUS = 42;
81
+	public const COMPOSITE_REPLACE = 43;
82
+	public const COMPOSITE_SATURATE = 44;
83
+	public const COMPOSITE_SCREEN = 45;
84
+	public const COMPOSITE_SOFTLIGHT = 46;
85
+	public const COMPOSITE_SRCATOP = 47;
86
+	public const COMPOSITE_SRC = 48;
87
+	public const COMPOSITE_SRCIN = 49;
88
+	public const COMPOSITE_SRCOUT = 50;
89
+	public const COMPOSITE_SRCOVER = 51;
90
+	public const COMPOSITE_SUBTRACT = 52;
91
+	public const COMPOSITE_THRESHOLD = 53;
92
+	public const COMPOSITE_XOR = 54;
93
+	public const COMPOSITE_CHANGEMASK = 6;
94
+	public const COMPOSITE_LINEARLIGHT = 34;
95
+	public const COMPOSITE_DIVIDE = 55;
96
+	public const COMPOSITE_DISTORT = 56;
97
+	public const COMPOSITE_BLUR = 57;
98
+	public const COMPOSITE_PEGTOPLIGHT = 58;
99
+	public const COMPOSITE_VIVIDLIGHT = 59;
100
+	public const COMPOSITE_PINLIGHT = 60;
101
+	public const COMPOSITE_LINEARDODGE = 61;
102
+	public const COMPOSITE_LINEARBURN = 62;
103
+	public const COMPOSITE_MATHEMATICS = 63;
104
+	public const COMPOSITE_MODULUSADD = 2;
105
+	public const COMPOSITE_MODULUSSUBTRACT = 52;
106
+	public const COMPOSITE_MINUSDST = 36;
107
+	public const COMPOSITE_DIVIDEDST = 55;
108
+	public const COMPOSITE_DIVIDESRC = 64;
109
+	public const COMPOSITE_MINUSSRC = 65;
110
+	public const COMPOSITE_DARKENINTENSITY = 66;
111
+	public const COMPOSITE_LIGHTENINTENSITY = 67;
112
+	public const MONTAGEMODE_FRAME = 1;
113
+	public const MONTAGEMODE_UNFRAME = 2;
114
+	public const MONTAGEMODE_CONCATENATE = 3;
115
+	public const STYLE_NORMAL = 1;
116
+	public const STYLE_ITALIC = 2;
117
+	public const STYLE_OBLIQUE = 3;
118
+	public const STYLE_ANY = 4;
119
+	public const FILTER_UNDEFINED = 0;
120
+	public const FILTER_POINT = 1;
121
+	public const FILTER_BOX = 2;
122
+	public const FILTER_TRIANGLE = 3;
123
+	public const FILTER_HERMITE = 4;
124
+	public const FILTER_HANNING = 5;
125
+	public const FILTER_HAMMING = 6;
126
+	public const FILTER_BLACKMAN = 7;
127
+	public const FILTER_GAUSSIAN = 8;
128
+	public const FILTER_QUADRATIC = 9;
129
+	public const FILTER_CUBIC = 10;
130
+	public const FILTER_CATROM = 11;
131
+	public const FILTER_MITCHELL = 12;
132
+	public const FILTER_LANCZOS = 22;
133
+	public const FILTER_BESSEL = 13;
134
+	public const FILTER_SINC = 14;
135
+	public const FILTER_KAISER = 16;
136
+	public const FILTER_WELSH = 17;
137
+	public const FILTER_PARZEN = 18;
138
+	public const FILTER_LAGRANGE = 21;
139
+	public const FILTER_SENTINEL = 31;
140
+	public const FILTER_BOHMAN = 19;
141
+	public const FILTER_BARTLETT = 20;
142
+	public const FILTER_JINC = 13;
143
+	public const FILTER_SINCFAST = 15;
144
+	public const FILTER_ROBIDOUX = 26;
145
+	public const FILTER_LANCZOSSHARP = 23;
146
+	public const FILTER_LANCZOS2 = 24;
147
+	public const FILTER_LANCZOS2SHARP = 25;
148
+	public const FILTER_ROBIDOUXSHARP = 27;
149
+	public const FILTER_COSINE = 28;
150
+	public const FILTER_SPLINE = 29;
151
+	public const FILTER_LANCZOSRADIUS = 30;
152
+	public const IMGTYPE_UNDEFINED = 0;
153
+	public const IMGTYPE_BILEVEL = 1;
154
+	public const IMGTYPE_GRAYSCALE = 2;
155
+	public const IMGTYPE_GRAYSCALEMATTE = 3;
156
+	public const IMGTYPE_PALETTE = 4;
157
+	public const IMGTYPE_PALETTEMATTE = 5;
158
+	public const IMGTYPE_TRUECOLOR = 6;
159
+	public const IMGTYPE_TRUECOLORMATTE = 7;
160
+	public const IMGTYPE_COLORSEPARATION = 8;
161
+	public const IMGTYPE_COLORSEPARATIONMATTE = 9;
162
+	public const IMGTYPE_OPTIMIZE = 10;
163
+	public const IMGTYPE_PALETTEBILEVELMATTE = 11;
164
+	public const RESOLUTION_UNDEFINED = 0;
165
+	public const RESOLUTION_PIXELSPERINCH = 1;
166
+	public const RESOLUTION_PIXELSPERCENTIMETER = 2;
167
+	public const COMPRESSION_UNDEFINED = 0;
168
+	public const COMPRESSION_NO = 1;
169
+	public const COMPRESSION_BZIP = 2;
170
+	public const COMPRESSION_FAX = 6;
171
+	public const COMPRESSION_GROUP4 = 7;
172
+	public const COMPRESSION_JPEG = 8;
173
+	public const COMPRESSION_JPEG2000 = 9;
174
+	public const COMPRESSION_LOSSLESSJPEG = 10;
175
+	public const COMPRESSION_LZW = 11;
176
+	public const COMPRESSION_RLE = 12;
177
+	public const COMPRESSION_ZIP = 13;
178
+	public const COMPRESSION_DXT1 = 3;
179
+	public const COMPRESSION_DXT3 = 4;
180
+	public const COMPRESSION_DXT5 = 5;
181
+	public const COMPRESSION_ZIPS = 14;
182
+	public const COMPRESSION_PIZ = 15;
183
+	public const COMPRESSION_PXR24 = 16;
184
+	public const COMPRESSION_B44 = 17;
185
+	public const COMPRESSION_B44A = 18;
186
+	public const COMPRESSION_LZMA = 19;
187
+	public const COMPRESSION_JBIG1 = 20;
188
+	public const COMPRESSION_JBIG2 = 21;
189
+	public const PAINT_POINT = 1;
190
+	public const PAINT_REPLACE = 2;
191
+	public const PAINT_FLOODFILL = 3;
192
+	public const PAINT_FILLTOBORDER = 4;
193
+	public const PAINT_RESET = 5;
194
+	public const GRAVITY_NORTHWEST = 1;
195
+	public const GRAVITY_NORTH = 2;
196
+	public const GRAVITY_NORTHEAST = 3;
197
+	public const GRAVITY_WEST = 4;
198
+	public const GRAVITY_CENTER = 5;
199
+	public const GRAVITY_EAST = 6;
200
+	public const GRAVITY_SOUTHWEST = 7;
201
+	public const GRAVITY_SOUTH = 8;
202
+	public const GRAVITY_SOUTHEAST = 9;
203
+	public const GRAVITY_FORGET = 0;
204
+	public const GRAVITY_STATIC = 10;
205
+	public const STRETCH_NORMAL = 1;
206
+	public const STRETCH_ULTRACONDENSED = 2;
207
+	public const STRETCH_EXTRACONDENSED = 3;
208
+	public const STRETCH_CONDENSED = 4;
209
+	public const STRETCH_SEMICONDENSED = 5;
210
+	public const STRETCH_SEMIEXPANDED = 6;
211
+	public const STRETCH_EXPANDED = 7;
212
+	public const STRETCH_EXTRAEXPANDED = 8;
213
+	public const STRETCH_ULTRAEXPANDED = 9;
214
+	public const STRETCH_ANY = 10;
215
+	public const ALIGN_UNDEFINED = 0;
216
+	public const ALIGN_LEFT = 1;
217
+	public const ALIGN_CENTER = 2;
218
+	public const ALIGN_RIGHT = 3;
219
+	public const DECORATION_NO = 1;
220
+	public const DECORATION_UNDERLINE = 2;
221
+	public const DECORATION_OVERLINE = 3;
222
+	public const DECORATION_LINETROUGH = 4;
223
+	public const DECORATION_LINETHROUGH = 4;
224
+	public const NOISE_UNIFORM = 1;
225
+	public const NOISE_GAUSSIAN = 2;
226
+	public const NOISE_MULTIPLICATIVEGAUSSIAN = 3;
227
+	public const NOISE_IMPULSE = 4;
228
+	public const NOISE_LAPLACIAN = 5;
229
+	public const NOISE_POISSON = 6;
230
+	public const NOISE_RANDOM = 7;
231
+	public const CHANNEL_UNDEFINED = 0;
232
+	public const CHANNEL_RED = 1;
233
+	public const CHANNEL_GRAY = 1;
234
+	public const CHANNEL_CYAN = 1;
235
+	public const CHANNEL_GREEN = 2;
236
+	public const CHANNEL_MAGENTA = 2;
237
+	public const CHANNEL_BLUE = 4;
238
+	public const CHANNEL_YELLOW = 4;
239
+	public const CHANNEL_ALPHA = 8;
240
+	public const CHANNEL_OPACITY = 8;
241
+	public const CHANNEL_MATTE = 8;
242
+	public const CHANNEL_BLACK = 32;
243
+	public const CHANNEL_INDEX = 32;
244
+	public const CHANNEL_ALL = 134217727;
245
+	public const CHANNEL_DEFAULT = 134217719;
246
+	public const CHANNEL_RGBA = 15;
247
+	public const CHANNEL_TRUEALPHA = 64;
248
+	public const CHANNEL_RGBS = 128;
249
+	public const CHANNEL_GRAY_CHANNELS = 128;
250
+	public const CHANNEL_SYNC = 256;
251
+	public const CHANNEL_COMPOSITES = 47;
252
+	public const METRIC_UNDEFINED = 0;
253
+	public const METRIC_ABSOLUTEERRORMETRIC = 1;
254
+	public const METRIC_MEANABSOLUTEERROR = 2;
255
+	public const METRIC_MEANERRORPERPIXELMETRIC = 3;
256
+	public const METRIC_MEANSQUAREERROR = 4;
257
+	public const METRIC_PEAKABSOLUTEERROR = 5;
258
+	public const METRIC_PEAKSIGNALTONOISERATIO = 6;
259
+	public const METRIC_ROOTMEANSQUAREDERROR = 7;
260
+	public const METRIC_NORMALIZEDCROSSCORRELATIONERRORMETRIC = 8;
261
+	public const METRIC_FUZZERROR = 9;
262
+	public const PIXEL_CHAR = 1;
263
+	public const PIXEL_DOUBLE = 2;
264
+	public const PIXEL_FLOAT = 3;
265
+	public const PIXEL_INTEGER = 4;
266
+	public const PIXEL_LONG = 5;
267
+	public const PIXEL_QUANTUM = 6;
268
+	public const PIXEL_SHORT = 7;
269
+	public const EVALUATE_UNDEFINED = 0;
270
+	public const EVALUATE_ADD = 1;
271
+	public const EVALUATE_AND = 2;
272
+	public const EVALUATE_DIVIDE = 3;
273
+	public const EVALUATE_LEFTSHIFT = 4;
274
+	public const EVALUATE_MAX = 5;
275
+	public const EVALUATE_MIN = 6;
276
+	public const EVALUATE_MULTIPLY = 7;
277
+	public const EVALUATE_OR = 8;
278
+	public const EVALUATE_RIGHTSHIFT = 9;
279
+	public const EVALUATE_SET = 10;
280
+	public const EVALUATE_SUBTRACT = 11;
281
+	public const EVALUATE_XOR = 12;
282
+	public const EVALUATE_POW = 13;
283
+	public const EVALUATE_LOG = 14;
284
+	public const EVALUATE_THRESHOLD = 15;
285
+	public const EVALUATE_THRESHOLDBLACK = 16;
286
+	public const EVALUATE_THRESHOLDWHITE = 17;
287
+	public const EVALUATE_GAUSSIANNOISE = 18;
288
+	public const EVALUATE_IMPULSENOISE = 19;
289
+	public const EVALUATE_LAPLACIANNOISE = 20;
290
+	public const EVALUATE_MULTIPLICATIVENOISE = 21;
291
+	public const EVALUATE_POISSONNOISE = 22;
292
+	public const EVALUATE_UNIFORMNOISE = 23;
293
+	public const EVALUATE_COSINE = 24;
294
+	public const EVALUATE_SINE = 25;
295
+	public const EVALUATE_ADDMODULUS = 26;
296
+	public const EVALUATE_MEAN = 27;
297
+	public const EVALUATE_ABS = 28;
298
+	public const EVALUATE_EXPONENTIAL = 29;
299
+	public const EVALUATE_MEDIAN = 30;
300
+	public const EVALUATE_SUM = 31;
301
+	public const COLORSPACE_UNDEFINED = 0;
302
+	public const COLORSPACE_RGB = 1;
303
+	public const COLORSPACE_GRAY = 2;
304
+	public const COLORSPACE_TRANSPARENT = 3;
305
+	public const COLORSPACE_OHTA = 4;
306
+	public const COLORSPACE_LAB = 5;
307
+	public const COLORSPACE_XYZ = 6;
308
+	public const COLORSPACE_YCBCR = 7;
309
+	public const COLORSPACE_YCC = 8;
310
+	public const COLORSPACE_YIQ = 9;
311
+	public const COLORSPACE_YPBPR = 10;
312
+	public const COLORSPACE_YUV = 11;
313
+	public const COLORSPACE_CMYK = 12;
314
+	public const COLORSPACE_SRGB = 13;
315
+	public const COLORSPACE_HSB = 14;
316
+	public const COLORSPACE_HSL = 15;
317
+	public const COLORSPACE_HWB = 16;
318
+	public const COLORSPACE_REC601LUMA = 17;
319
+	public const COLORSPACE_REC709LUMA = 19;
320
+	public const COLORSPACE_LOG = 21;
321
+	public const COLORSPACE_CMY = 22;
322
+	public const COLORSPACE_LUV = 23;
323
+	public const COLORSPACE_HCL = 24;
324
+	public const COLORSPACE_LCH = 25;
325
+	public const COLORSPACE_LMS = 26;
326
+	public const COLORSPACE_LCHAB = 27;
327
+	public const COLORSPACE_LCHUV = 28;
328
+	public const COLORSPACE_SCRGB = 29;
329
+	public const COLORSPACE_HSI = 30;
330
+	public const COLORSPACE_HSV = 31;
331
+	public const COLORSPACE_HCLP = 32;
332
+	public const COLORSPACE_YDBDR = 33;
333
+	public const COLORSPACE_REC601YCBCR = 18;
334
+	public const COLORSPACE_REC709YCBCR = 20;
335
+	public const VIRTUALPIXELMETHOD_UNDEFINED = 0;
336
+	public const VIRTUALPIXELMETHOD_BACKGROUND = 1;
337
+	public const VIRTUALPIXELMETHOD_CONSTANT = 2;
338
+	public const VIRTUALPIXELMETHOD_EDGE = 4;
339
+	public const VIRTUALPIXELMETHOD_MIRROR = 5;
340
+	public const VIRTUALPIXELMETHOD_TILE = 7;
341
+	public const VIRTUALPIXELMETHOD_TRANSPARENT = 8;
342
+	public const VIRTUALPIXELMETHOD_MASK = 9;
343
+	public const VIRTUALPIXELMETHOD_BLACK = 10;
344
+	public const VIRTUALPIXELMETHOD_GRAY = 11;
345
+	public const VIRTUALPIXELMETHOD_WHITE = 12;
346
+	public const VIRTUALPIXELMETHOD_HORIZONTALTILE = 13;
347
+	public const VIRTUALPIXELMETHOD_VERTICALTILE = 14;
348
+	public const VIRTUALPIXELMETHOD_HORIZONTALTILEEDGE = 15;
349
+	public const VIRTUALPIXELMETHOD_VERTICALTILEEDGE = 16;
350
+	public const VIRTUALPIXELMETHOD_CHECKERTILE = 17;
351
+	public const PREVIEW_UNDEFINED = 0;
352
+	public const PREVIEW_ROTATE = 1;
353
+	public const PREVIEW_SHEAR = 2;
354
+	public const PREVIEW_ROLL = 3;
355
+	public const PREVIEW_HUE = 4;
356
+	public const PREVIEW_SATURATION = 5;
357
+	public const PREVIEW_BRIGHTNESS = 6;
358
+	public const PREVIEW_GAMMA = 7;
359
+	public const PREVIEW_SPIFF = 8;
360
+	public const PREVIEW_DULL = 9;
361
+	public const PREVIEW_GRAYSCALE = 10;
362
+	public const PREVIEW_QUANTIZE = 11;
363
+	public const PREVIEW_DESPECKLE = 12;
364
+	public const PREVIEW_REDUCENOISE = 13;
365
+	public const PREVIEW_ADDNOISE = 14;
366
+	public const PREVIEW_SHARPEN = 15;
367
+	public const PREVIEW_BLUR = 16;
368
+	public const PREVIEW_THRESHOLD = 17;
369
+	public const PREVIEW_EDGEDETECT = 18;
370
+	public const PREVIEW_SPREAD = 19;
371
+	public const PREVIEW_SOLARIZE = 20;
372
+	public const PREVIEW_SHADE = 21;
373
+	public const PREVIEW_RAISE = 22;
374
+	public const PREVIEW_SEGMENT = 23;
375
+	public const PREVIEW_SWIRL = 24;
376
+	public const PREVIEW_IMPLODE = 25;
377
+	public const PREVIEW_WAVE = 26;
378
+	public const PREVIEW_OILPAINT = 27;
379
+	public const PREVIEW_CHARCOALDRAWING = 28;
380
+	public const PREVIEW_JPEG = 29;
381
+	public const RENDERINGINTENT_UNDEFINED = 0;
382
+	public const RENDERINGINTENT_SATURATION = 1;
383
+	public const RENDERINGINTENT_PERCEPTUAL = 2;
384
+	public const RENDERINGINTENT_ABSOLUTE = 3;
385
+	public const RENDERINGINTENT_RELATIVE = 4;
386
+	public const INTERLACE_UNDEFINED = 0;
387
+	public const INTERLACE_NO = 1;
388
+	public const INTERLACE_LINE = 2;
389
+	public const INTERLACE_PLANE = 3;
390
+	public const INTERLACE_PARTITION = 4;
391
+	public const INTERLACE_GIF = 5;
392
+	public const INTERLACE_JPEG = 6;
393
+	public const INTERLACE_PNG = 7;
394
+	public const FILLRULE_UNDEFINED = 0;
395
+	public const FILLRULE_EVENODD = 1;
396
+	public const FILLRULE_NONZERO = 2;
397
+	public const PATHUNITS_UNDEFINED = 0;
398
+	public const PATHUNITS_USERSPACE = 1;
399
+	public const PATHUNITS_USERSPACEONUSE = 2;
400
+	public const PATHUNITS_OBJECTBOUNDINGBOX = 3;
401
+	public const LINECAP_UNDEFINED = 0;
402
+	public const LINECAP_BUTT = 1;
403
+	public const LINECAP_ROUND = 2;
404
+	public const LINECAP_SQUARE = 3;
405
+	public const LINEJOIN_UNDEFINED = 0;
406
+	public const LINEJOIN_MITER = 1;
407
+	public const LINEJOIN_ROUND = 2;
408
+	public const LINEJOIN_BEVEL = 3;
409
+	public const RESOURCETYPE_UNDEFINED = 0;
410
+	public const RESOURCETYPE_AREA = 1;
411
+	public const RESOURCETYPE_DISK = 2;
412
+	public const RESOURCETYPE_FILE = 3;
413
+	public const RESOURCETYPE_MAP = 4;
414
+	public const RESOURCETYPE_MEMORY = 5;
415
+	public const RESOURCETYPE_TIME = 7;
416
+	public const RESOURCETYPE_THROTTLE = 8;
417
+	public const RESOURCETYPE_THREAD = 6;
418
+	public const DISPOSE_UNRECOGNIZED = 0;
419
+	public const DISPOSE_UNDEFINED = 0;
420
+	public const DISPOSE_NONE = 1;
421
+	public const DISPOSE_BACKGROUND = 2;
422
+	public const DISPOSE_PREVIOUS = 3;
423
+	public const INTERPOLATE_UNDEFINED = 0;
424
+	public const INTERPOLATE_AVERAGE = 1;
425
+	public const INTERPOLATE_BICUBIC = 2;
426
+	public const INTERPOLATE_BILINEAR = 3;
427
+	public const INTERPOLATE_FILTER = 4;
428
+	public const INTERPOLATE_INTEGER = 5;
429
+	public const INTERPOLATE_MESH = 6;
430
+	public const INTERPOLATE_NEARESTNEIGHBOR = 7;
431
+	public const INTERPOLATE_SPLINE = 8;
432
+	public const LAYERMETHOD_UNDEFINED = 0;
433
+	public const LAYERMETHOD_COALESCE = 1;
434
+	public const LAYERMETHOD_COMPAREANY = 2;
435
+	public const LAYERMETHOD_COMPARECLEAR = 3;
436
+	public const LAYERMETHOD_COMPAREOVERLAY = 4;
437
+	public const LAYERMETHOD_DISPOSE = 5;
438
+	public const LAYERMETHOD_OPTIMIZE = 6;
439
+	public const LAYERMETHOD_OPTIMIZEPLUS = 8;
440
+	public const LAYERMETHOD_OPTIMIZETRANS = 9;
441
+	public const LAYERMETHOD_COMPOSITE = 12;
442
+	public const LAYERMETHOD_OPTIMIZEIMAGE = 7;
443
+	public const LAYERMETHOD_REMOVEDUPS = 10;
444
+	public const LAYERMETHOD_REMOVEZERO = 11;
445
+	public const LAYERMETHOD_TRIMBOUNDS = 16;
446
+	public const ORIENTATION_UNDEFINED = 0;
447
+	public const ORIENTATION_TOPLEFT = 1;
448
+	public const ORIENTATION_TOPRIGHT = 2;
449
+	public const ORIENTATION_BOTTOMRIGHT = 3;
450
+	public const ORIENTATION_BOTTOMLEFT = 4;
451
+	public const ORIENTATION_LEFTTOP = 5;
452
+	public const ORIENTATION_RIGHTTOP = 6;
453
+	public const ORIENTATION_RIGHTBOTTOM = 7;
454
+	public const ORIENTATION_LEFTBOTTOM = 8;
455
+	public const DISTORTION_UNDEFINED = 0;
456
+	public const DISTORTION_AFFINE = 1;
457
+	public const DISTORTION_AFFINEPROJECTION = 2;
458
+	public const DISTORTION_ARC = 9;
459
+	public const DISTORTION_BILINEAR = 6;
460
+	public const DISTORTION_PERSPECTIVE = 4;
461
+	public const DISTORTION_PERSPECTIVEPROJECTION = 5;
462
+	public const DISTORTION_SCALEROTATETRANSLATE = 3;
463
+	public const DISTORTION_POLYNOMIAL = 8;
464
+	public const DISTORTION_POLAR = 10;
465
+	public const DISTORTION_DEPOLAR = 11;
466
+	public const DISTORTION_BARREL = 14;
467
+	public const DISTORTION_SHEPARDS = 16;
468
+	public const DISTORTION_SENTINEL = 18;
469
+	public const DISTORTION_BARRELINVERSE = 15;
470
+	public const DISTORTION_BILINEARFORWARD = 6;
471
+	public const DISTORTION_BILINEARREVERSE = 7;
472
+	public const DISTORTION_RESIZE = 17;
473
+	public const DISTORTION_CYLINDER2PLANE = 12;
474
+	public const DISTORTION_PLANE2CYLINDER = 13;
475
+	public const LAYERMETHOD_MERGE = 13;
476
+	public const LAYERMETHOD_FLATTEN = 14;
477
+	public const LAYERMETHOD_MOSAIC = 15;
478
+	public const ALPHACHANNEL_ACTIVATE = 1;
479
+	public const ALPHACHANNEL_RESET = 7;
480
+	public const ALPHACHANNEL_SET = 8;
481
+	public const ALPHACHANNEL_UNDEFINED = 0;
482
+	public const ALPHACHANNEL_COPY = 3;
483
+	public const ALPHACHANNEL_DEACTIVATE = 4;
484
+	public const ALPHACHANNEL_EXTRACT = 5;
485
+	public const ALPHACHANNEL_OPAQUE = 6;
486
+	public const ALPHACHANNEL_SHAPE = 9;
487
+	public const ALPHACHANNEL_TRANSPARENT = 10;
488
+	public const SPARSECOLORMETHOD_UNDEFINED = 0;
489
+	public const SPARSECOLORMETHOD_BARYCENTRIC = 1;
490
+	public const SPARSECOLORMETHOD_BILINEAR = 7;
491
+	public const SPARSECOLORMETHOD_POLYNOMIAL = 8;
492
+	public const SPARSECOLORMETHOD_SPEPARDS = 16;
493
+	public const SPARSECOLORMETHOD_VORONOI = 18;
494
+	public const SPARSECOLORMETHOD_INVERSE = 19;
495
+	public const DITHERMETHOD_UNDEFINED = 0;
496
+	public const DITHERMETHOD_NO = 1;
497
+	public const DITHERMETHOD_RIEMERSMA = 2;
498
+	public const DITHERMETHOD_FLOYDSTEINBERG = 3;
499
+	public const FUNCTION_UNDEFINED = 0;
500
+	public const FUNCTION_POLYNOMIAL = 1;
501
+	public const FUNCTION_SINUSOID = 2;
502
+	public const ALPHACHANNEL_BACKGROUND = 2;
503
+	public const FUNCTION_ARCSIN = 3;
504
+	public const FUNCTION_ARCTAN = 4;
505
+	public const ALPHACHANNEL_FLATTEN = 11;
506
+	public const ALPHACHANNEL_REMOVE = 12;
507
+	public const STATISTIC_GRADIENT = 1;
508
+	public const STATISTIC_MAXIMUM = 2;
509
+	public const STATISTIC_MEAN = 3;
510
+	public const STATISTIC_MEDIAN = 4;
511
+	public const STATISTIC_MINIMUM = 5;
512
+	public const STATISTIC_MODE = 6;
513
+	public const STATISTIC_NONPEAK = 7;
514
+	public const STATISTIC_STANDARD_DEVIATION = 8;
515
+	public const MORPHOLOGY_CONVOLVE = 1;
516
+	public const MORPHOLOGY_CORRELATE = 2;
517
+	public const MORPHOLOGY_ERODE = 3;
518
+	public const MORPHOLOGY_DILATE = 4;
519
+	public const MORPHOLOGY_ERODE_INTENSITY = 5;
520
+	public const MORPHOLOGY_DILATE_INTENSITY = 6;
521
+	public const MORPHOLOGY_DISTANCE = 7;
522
+	public const MORPHOLOGY_OPEN = 8;
523
+	public const MORPHOLOGY_CLOSE = 9;
524
+	public const MORPHOLOGY_OPEN_INTENSITY = 10;
525
+	public const MORPHOLOGY_CLOSE_INTENSITY = 11;
526
+	public const MORPHOLOGY_SMOOTH = 12;
527
+	public const MORPHOLOGY_EDGE_IN = 13;
528
+	public const MORPHOLOGY_EDGE_OUT = 14;
529
+	public const MORPHOLOGY_EDGE = 15;
530
+	public const MORPHOLOGY_TOP_HAT = 16;
531
+	public const MORPHOLOGY_BOTTOM_HAT = 17;
532
+	public const MORPHOLOGY_HIT_AND_MISS = 18;
533
+	public const MORPHOLOGY_THINNING = 19;
534
+	public const MORPHOLOGY_THICKEN = 20;
535
+	public const MORPHOLOGY_VORONOI = 21;
536
+	public const MORPHOLOGY_ITERATIVE = 22;
537
+	public const KERNEL_UNITY = 1;
538
+	public const KERNEL_GAUSSIAN = 2;
539
+	public const KERNEL_DIFFERENCE_OF_GAUSSIANS = 3;
540
+	public const KERNEL_LAPLACIAN_OF_GAUSSIANS = 4;
541
+	public const KERNEL_BLUR = 5;
542
+	public const KERNEL_COMET = 6;
543
+	public const KERNEL_LAPLACIAN = 7;
544
+	public const KERNEL_SOBEL = 8;
545
+	public const KERNEL_FREI_CHEN = 9;
546
+	public const KERNEL_ROBERTS = 10;
547
+	public const KERNEL_PREWITT = 11;
548
+	public const KERNEL_COMPASS = 12;
549
+	public const KERNEL_KIRSCH = 13;
550
+	public const KERNEL_DIAMOND = 14;
551
+	public const KERNEL_SQUARE = 15;
552
+	public const KERNEL_RECTANGLE = 16;
553
+	public const KERNEL_OCTAGON = 17;
554
+	public const KERNEL_DISK = 18;
555
+	public const KERNEL_PLUS = 19;
556
+	public const KERNEL_CROSS = 20;
557
+	public const KERNEL_RING = 21;
558
+	public const KERNEL_PEAKS = 22;
559
+	public const KERNEL_EDGES = 23;
560
+	public const KERNEL_CORNERS = 24;
561
+	public const KERNEL_DIAGONALS = 25;
562
+	public const KERNEL_LINE_ENDS = 26;
563
+	public const KERNEL_LINE_JUNCTIONS = 27;
564
+	public const KERNEL_RIDGES = 28;
565
+	public const KERNEL_CONVEX_HULL = 29;
566
+	public const KERNEL_THIN_SE = 30;
567
+	public const KERNEL_SKELETON = 31;
568
+	public const KERNEL_CHEBYSHEV = 32;
569
+	public const KERNEL_MANHATTAN = 33;
570
+	public const KERNEL_OCTAGONAL = 34;
571
+	public const KERNEL_EUCLIDEAN = 35;
572
+	public const KERNEL_USER_DEFINED = 36;
573
+	public const KERNEL_BINOMIAL = 37;
574
+	public const DIRECTION_LEFT_TO_RIGHT = 2;
575
+	public const DIRECTION_RIGHT_TO_LEFT = 1;
576
+	public const NORMALIZE_KERNEL_NONE = 0;
577
+	public const NORMALIZE_KERNEL_VALUE = 8192;
578
+	public const NORMALIZE_KERNEL_CORRELATE = 65536;
579
+	public const NORMALIZE_KERNEL_PERCENT = 4096;
580
+
581
+	/**
582
+	 * (PECL imagick 2.0.0)<br/>
583
+	 * Removes repeated portions of images to optimize
584
+	 * @link https://php.net/manual/en/imagick.optimizeimagelayers.php
585
+	 * @return bool <b>TRUE</b> on success.
586
+	 * @throws ImagickException on error.
587
+	 */
588
+	public function optimizeImageLayers() {}
589
+
590
+	/**
591
+	 * (PECL imagick 2.0.0)<br/>
592
+	 * Returns the maximum bounding region between images
593
+	 * @link https://php.net/manual/en/imagick.compareimagelayers.php
594
+	 * @param int $method <p>
595
+	 * One of the layer method constants.
596
+	 * </p>
597
+	 * @return Imagick <b>TRUE</b> on success.
598
+	 * @throws ImagickException on error.
599
+	 */
600
+	public function compareImageLayers($method) {}
601
+
602
+	/**
603
+	 * (PECL imagick 2.0.0)<br/>
604
+	 * Quickly fetch attributes
605
+	 * @link https://php.net/manual/en/imagick.pingimageblob.php
606
+	 * @param string $image <p>
607
+	 * A string containing the image.
608
+	 * </p>
609
+	 * @return bool <b>TRUE</b> on success.
610
+	 * @throws ImagickException on error.
611
+	 */
612
+	public function pingImageBlob($image) {}
613
+
614
+	/**
615
+	 * (PECL imagick 2.0.0)<br/>
616
+	 * Get basic image attributes in a lightweight manner
617
+	 * @link https://php.net/manual/en/imagick.pingimagefile.php
618
+	 * @param resource $filehandle <p>
619
+	 * An open filehandle to the image.
620
+	 * </p>
621
+	 * @param string $fileName [optional] <p>
622
+	 * Optional filename for this image.
623
+	 * </p>
624
+	 * @return bool <b>TRUE</b> on success.
625
+	 * @throws ImagickException on error.
626
+	 */
627
+	public function pingImageFile($filehandle, $fileName = null) {}
628
+
629
+	/**
630
+	 * (PECL imagick 2.0.0)<br/>
631
+	 * Creates a vertical mirror image
632
+	 * @link https://php.net/manual/en/imagick.transposeimage.php
633
+	 * @return bool <b>TRUE</b> on success.
634
+	 * @throws ImagickException on error.
635
+	 */
636
+	public function transposeImage() {}
637
+
638
+	/**
639
+	 * (PECL imagick 2.0.0)<br/>
640
+	 * Creates a horizontal mirror image
641
+	 * @link https://php.net/manual/en/imagick.transverseimage.php
642
+	 * @return bool <b>TRUE</b> on success.
643
+	 * @throws ImagickException on error.
644
+	 */
645
+	public function transverseImage() {}
646
+
647
+	/**
648
+	 * (PECL imagick 2.0.0)<br/>
649
+	 * Remove edges from the image
650
+	 * @link https://php.net/manual/en/imagick.trimimage.php
651
+	 * @param float $fuzz <p>
652
+	 * By default target must match a particular pixel color exactly.
653
+	 * However, in many cases two colors may differ by a small amount.
654
+	 * The fuzz member of image defines how much tolerance is acceptable
655
+	 * to consider two colors as the same. This parameter represents the variation
656
+	 * on the quantum range.
657
+	 * </p>
658
+	 * @return bool <b>TRUE</b> on success.
659
+	 * @throws ImagickException on error.
660
+	 */
661
+	public function trimImage($fuzz) {}
662
+
663
+	/**
664
+	 * (PECL imagick 2.0.0)<br/>
665
+	 * Applies wave filter to the image
666
+	 * @link https://php.net/manual/en/imagick.waveimage.php
667
+	 * @param float $amplitude <p>
668
+	 * The amplitude of the wave.
669
+	 * </p>
670
+	 * @param float $length <p>
671
+	 * The length of the wave.
672
+	 * </p>
673
+	 * @return bool <b>TRUE</b> on success.
674
+	 * @throws ImagickException on error.
675
+	 */
676
+	public function waveImage($amplitude, $length) {}
677
+
678
+	/**
679
+	 * (PECL imagick 2.0.0)<br/>
680
+	 * Adds vignette filter to the image
681
+	 * @link https://php.net/manual/en/imagick.vignetteimage.php
682
+	 * @param float $blackPoint <p>
683
+	 * The black point.
684
+	 * </p>
685
+	 * @param float $whitePoint <p>
686
+	 * The white point
687
+	 * </p>
688
+	 * @param int $x <p>
689
+	 * X offset of the ellipse
690
+	 * </p>
691
+	 * @param int $y <p>
692
+	 * Y offset of the ellipse
693
+	 * </p>
694
+	 * @return bool <b>TRUE</b> on success.
695
+	 * @throws ImagickException on error.
696
+	 */
697
+	public function vignetteImage($blackPoint, $whitePoint, $x, $y) {}
698
+
699
+	/**
700
+	 * (PECL imagick 2.0.0)<br/>
701
+	 * Discards all but one of any pixel color
702
+	 * @link https://php.net/manual/en/imagick.uniqueimagecolors.php
703
+	 * @return bool <b>TRUE</b> on success.
704
+	 * @throws ImagickException on error.
705
+	 */
706
+	public function uniqueImageColors() {}
707
+
708
+	/**
709
+	 * (PECL imagick 2.0.0)<br/>
710
+	 * Return if the image has a matte channel
711
+	 * @link https://php.net/manual/en/imagick.getimagematte.php
712
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
713
+	 * @throws ImagickException on error.
714
+	 */
715
+	#[Deprecated]
716
+	#[Pure]
717
+	public function getImageMatte() {}
718
+
719
+	/**
720
+	 * (PECL imagick 2.0.0)<br/>
721
+	 * Sets the image matte channel
722
+	 * @link https://php.net/manual/en/imagick.setimagematte.php
723
+	 * @param bool $matte <p>
724
+	 * True activates the matte channel and false disables it.
725
+	 * </p>
726
+	 * @return bool <b>TRUE</b> on success.
727
+	 * @throws ImagickException on error.
728
+	 */
729
+	public function setImageMatte($matte) {}
730
+
731
+	/**
732
+	 * Adaptively resize image with data dependent triangulation
733
+	 *
734
+	 * If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.<br>
735
+	 * If false, the calculations should produce the same results as ImageMagick CLI does.<br>
736
+	 * <br>
737
+	 * <b>Note:</b> The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched.
738
+	 * In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
739
+	 * @link https://php.net/manual/en/imagick.adaptiveresizeimage.php
740
+	 * @param int $columns The number of columns in the scaled image.
741
+	 * @param int $rows The number of rows in the scaled image.
742
+	 * @param bool $bestfit [optional] Whether to fit the image inside a bounding box.<br>
743
+	 *                                 The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
744
+	 * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
745
+	 * @return bool TRUE on success
746
+	 * @throws ImagickException Throws ImagickException on error
747
+	 * @since 2.0.0
748
+	 */
749
+	public function adaptiveResizeImage($columns, $rows, $bestfit = false, $legacy = false) {}
750
+
751
+	/**
752
+	 * (PECL imagick 2.0.0)<br/>
753
+	 * Simulates a pencil sketch
754
+	 * @link https://php.net/manual/en/imagick.sketchimage.php
755
+	 * @param float $radius <p>
756
+	 * The radius of the Gaussian, in pixels, not counting the center pixel
757
+	 * </p>
758
+	 * @param float $sigma <p>
759
+	 * The standard deviation of the Gaussian, in pixels.
760
+	 * </p>
761
+	 * @param float $angle <p>
762
+	 * Apply the effect along this angle.
763
+	 * </p>
764
+	 * @return bool <b>TRUE</b> on success.
765
+	 * @throws ImagickException on error.
766
+	 */
767
+	public function sketchImage($radius, $sigma, $angle) {}
768
+
769
+	/**
770
+	 * (PECL imagick 2.0.0)<br/>
771
+	 * Creates a 3D effect
772
+	 * @link https://php.net/manual/en/imagick.shadeimage.php
773
+	 * @param bool $gray <p>
774
+	 * A value other than zero shades the intensity of each pixel.
775
+	 * </p>
776
+	 * @param float $azimuth <p>
777
+	 * Defines the light source direction.
778
+	 * </p>
779
+	 * @param float $elevation <p>
780
+	 * Defines the light source direction.
781
+	 * </p>
782
+	 * @return bool <b>TRUE</b> on success.
783
+	 * @throws ImagickException on error.
784
+	 */
785
+	public function shadeImage($gray, $azimuth, $elevation) {}
786
+
787
+	/**
788
+	 * (PECL imagick 2.0.0)<br/>
789
+	 * Returns the size offset
790
+	 * @link https://php.net/manual/en/imagick.getsizeoffset.php
791
+	 * @return int the size offset associated with the Imagick object.
792
+	 * @throws ImagickException on error.
793
+	 */
794
+	#[Pure]
795
+	public function getSizeOffset() {}
796
+
797
+	/**
798
+	 * (PECL imagick 2.0.0)<br/>
799
+	 * Sets the size and offset of the Imagick object
800
+	 * @link https://php.net/manual/en/imagick.setsizeoffset.php
801
+	 * @param int $columns <p>
802
+	 * The width in pixels.
803
+	 * </p>
804
+	 * @param int $rows <p>
805
+	 * The height in pixels.
806
+	 * </p>
807
+	 * @param int $offset <p>
808
+	 * The image offset.
809
+	 * </p>
810
+	 * @return bool <b>TRUE</b> on success.
811
+	 * @throws ImagickException on error.
812
+	 */
813
+	public function setSizeOffset($columns, $rows, $offset) {}
814
+
815
+	/**
816
+	 * (PECL imagick 2.0.0)<br/>
817
+	 * Adds adaptive blur filter to image
818
+	 * @link https://php.net/manual/en/imagick.adaptiveblurimage.php
819
+	 * @param float $radius <p>
820
+	 * The radius of the Gaussian, in pixels, not counting the center pixel.
821
+	 * Provide a value of 0 and the radius will be chosen automagically.
822
+	 * </p>
823
+	 * @param float $sigma <p>
824
+	 * The standard deviation of the Gaussian, in pixels.
825
+	 * </p>
826
+	 * @param int $channel [optional] <p>
827
+	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
828
+	 * </p>
829
+	 * @return bool <b>TRUE</b> on success.
830
+	 * @throws ImagickException on error.
831
+	 */
832
+	public function adaptiveBlurImage($radius, $sigma, $channel = Imagick::CHANNEL_DEFAULT) {}
833
+
834
+	/**
835
+	 * (PECL imagick 2.0.0)<br/>
836
+	 * Enhances the contrast of a color image
837
+	 * @link https://php.net/manual/en/imagick.contraststretchimage.php
838
+	 * @param float $black_point <p>
839
+	 * The black point.
840
+	 * </p>
841
+	 * @param float $white_point <p>
842
+	 * The white point.
843
+	 * </p>
844
+	 * @param int $channel [optional] <p>
845
+	 * Provide any channel constant that is valid for your channel mode. To
846
+	 * apply to more than one channel, combine channeltype constants using
847
+	 * bitwise operators. <b>Imagick::CHANNEL_ALL</b>. Refer to this
848
+	 * list of channel constants.
849
+	 * </p>
850
+	 * @return bool <b>TRUE</b> on success.
851
+	 * @throws ImagickException on error.
852
+	 */
853
+	public function contrastStretchImage($black_point, $white_point, $channel = Imagick::CHANNEL_ALL) {}
854
+
855
+	/**
856
+	 * (PECL imagick 2.0.0)<br/>
857
+	 * Adaptively sharpen the image
858
+	 * @link https://php.net/manual/en/imagick.adaptivesharpenimage.php
859
+	 * @param float $radius <p>
860
+	 * The radius of the Gaussian, in pixels, not counting the center pixel. Use 0 for auto-select.
861
+	 * </p>
862
+	 * @param float $sigma <p>
863
+	 * The standard deviation of the Gaussian, in pixels.
864
+	 * </p>
865
+	 * @param int $channel [optional] <p>
866
+	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
867
+	 * </p>
868
+	 * @return bool <b>TRUE</b> on success.
869
+	 * @throws ImagickException on error.
870
+	 */
871
+	public function adaptiveSharpenImage($radius, $sigma, $channel = Imagick::CHANNEL_DEFAULT) {}
872
+
873
+	/**
874
+	 * (PECL imagick 2.0.0)<br/>
875
+	 * Creates a high-contrast, two-color image
876
+	 * @link https://php.net/manual/en/imagick.randomthresholdimage.php
877
+	 * @param float $low <p>
878
+	 * The low point
879
+	 * </p>
880
+	 * @param float $high <p>
881
+	 * The high point
882
+	 * </p>
883
+	 * @param int $channel [optional] <p>
884
+	 * Provide any channel constant that is valid for your channel mode. To
885
+	 * apply to more than one channel, combine channeltype constants using
886
+	 * bitwise operators. Refer to this
887
+	 * list of channel constants.
888
+	 * </p>
889
+	 * @return bool <b>TRUE</b> on success.
890
+	 * @throws ImagickException on error.
891
+	 */
892
+	public function randomThresholdImage($low, $high, $channel = Imagick::CHANNEL_ALL) {}
893
+
894
+	/**
895
+	 * @param $xRounding
896
+	 * @param $yRounding
897
+	 * @param $strokeWidth [optional]
898
+	 * @param $displace [optional]
899
+	 * @param $sizeCorrection [optional]
900
+	 * @throws ImagickException on error.
901
+	 */
902
+	public function roundCornersImage($xRounding, $yRounding, $strokeWidth, $displace, $sizeCorrection) {}
903
+
904
+	/**
905
+	 * (PECL imagick 2.0.0)<br/>
906
+	 * Rounds image corners
907
+	 * Alias to {@see Imagick::roundCornersImage}
908
+	 * @link https://php.net/manual/en/imagick.roundcorners.php
909
+	 * @param float $x_rounding <p>
910
+	 * x rounding
911
+	 * </p>
912
+	 * @param float $y_rounding <p>
913
+	 * y rounding
914
+	 * </p>
915
+	 * @param float $stroke_width [optional] <p>
916
+	 * stroke width
917
+	 * </p>
918
+	 * @param float $displace [optional] <p>
919
+	 * image displace
920
+	 * </p>
921
+	 * @param float $size_correction [optional] <p>
922
+	 * size correction
923
+	 * </p>
924
+	 * @return bool <b>TRUE</b> on success.
925
+	 * @throws ImagickException on error.
926
+	 */
927
+	#[Deprecated(replacement: "%class%->roundCornersImage(%parametersList%)")]
928
+	public function roundCorners($x_rounding, $y_rounding, $stroke_width = 10.0, $displace = 5.0, $size_correction = -6.0) {}
929
+
930
+	/**
931
+	 * (PECL imagick 2.0.0)<br/>
932
+	 * Set the iterator position
933
+	 * @link https://php.net/manual/en/imagick.setiteratorindex.php
934
+	 * @param int $index <p>
935
+	 * The position to set the iterator to
936
+	 * </p>
937
+	 * @return bool <b>TRUE</b> on success.
938
+	 * @throws ImagickException on error.
939
+	 */
940
+	public function setIteratorIndex($index) {}
941
+
942
+	/**
943
+	 * (PECL imagick 2.0.0)<br/>
944
+	 * Gets the index of the current active image
945
+	 * @link https://php.net/manual/en/imagick.getiteratorindex.php
946
+	 * @return int an integer containing the index of the image in the stack.
947
+	 */
948
+	#[Pure]
949
+	public function getIteratorIndex() {}
950
+
951
+	/**
952
+	 * (PECL imagick 2.0.0)<br/>
953
+	 * Convenience method for setting crop size and the image geometry
954
+	 * @link https://php.net/manual/en/imagick.transformimage.php
955
+	 * @param string $crop <p>
956
+	 * A crop geometry string. This geometry defines a subregion of the image to crop.
957
+	 * </p>
958
+	 * @param string $geometry <p>
959
+	 * An image geometry string. This geometry defines the final size of the image.
960
+	 * </p>
961
+	 * @return Imagick <b>TRUE</b> on success.
962
+	 * @throws ImagickException on error.
963
+	 */
964
+	public function transformImage($crop, $geometry) {}
965
+
966
+	/**
967
+	 * (PECL imagick 2.0.0)<br/>
968
+	 * Sets the image opacity level
969
+	 * @link https://php.net/manual/en/imagick.setimageopacity.php
970
+	 * @param float $opacity <p>
971
+	 * The level of transparency: 1.0 is fully opaque and 0.0 is fully
972
+	 * transparent.
973
+	 * </p>
974
+	 * @return bool <b>TRUE</b> on success.
975
+	 * @throws ImagickException on error.
976
+	 */
977
+	public function setImageOpacity($opacity) {}
978
+
979
+	/**
980
+	 * (PECL imagick 2.2.2)<br/>
981
+	 * Performs an ordered dither
982
+	 * @link https://php.net/manual/en/imagick.orderedposterizeimage.php
983
+	 * @param string $threshold_map <p>
984
+	 * A string containing the name of the threshold dither map to use
985
+	 * </p>
986
+	 * @param int $channel [optional] <p>
987
+	 * Provide any channel constant that is valid for your channel mode. To
988
+	 * apply to more than one channel, combine channeltype constants using
989
+	 * bitwise operators. Refer to this
990
+	 * list of channel constants.
991
+	 * </p>
992
+	 * @return bool <b>TRUE</b> on success.
993
+	 * @throws ImagickException on error.
994
+	 */
995
+	public function orderedPosterizeImage($threshold_map, $channel = Imagick::CHANNEL_ALL) {}
996
+
997
+	/**
998
+	 * (PECL imagick 2.0.0)<br/>
999
+	 * Simulates a Polaroid picture
1000
+	 * @link https://php.net/manual/en/imagick.polaroidimage.php
1001
+	 * @param ImagickDraw $properties <p>
1002
+	 * The polaroid properties
1003
+	 * </p>
1004
+	 * @param float $angle <p>
1005
+	 * The polaroid angle
1006
+	 * </p>
1007
+	 * @return bool <b>TRUE</b> on success.
1008
+	 * @throws ImagickException on error.
1009
+	 */
1010
+	public function polaroidImage(ImagickDraw $properties, $angle) {}
1011
+
1012
+	/**
1013
+	 * (PECL imagick 2.0.0)<br/>
1014
+	 * Returns the named image property
1015
+	 * @link https://php.net/manual/en/imagick.getimageproperty.php
1016
+	 * @param string $name <p>
1017
+	 * name of the property (for example Exif:DateTime)
1018
+	 * </p>
1019
+	 * @return string|false a string containing the image property, false if a
1020
+	 * property with the given name does not exist.
1021
+	 * @throws ImagickException on error.
1022
+	 */
1023
+	#[Pure]
1024
+	public function getImageProperty($name) {}
1025
+
1026
+	/**
1027
+	 * (PECL imagick 2.0.0)<br/>
1028
+	 * Sets an image property
1029
+	 * @link https://php.net/manual/en/imagick.setimageproperty.php
1030
+	 * @param string $name
1031
+	 * @param string $value
1032
+	 * @return bool <b>TRUE</b> on success.
1033
+	 * @throws ImagickException on error.
1034
+	 */
1035
+	public function setImageProperty($name, $value) {}
1036
+
1037
+	/**
1038
+	 * (PECL imagick 2.0.0)<br/>
1039
+	 * Sets the image interpolate pixel method
1040
+	 * @link https://php.net/manual/en/imagick.setimageinterpolatemethod.php
1041
+	 * @param int $method <p>
1042
+	 * The method is one of the <b>Imagick::INTERPOLATE_*</b> constants
1043
+	 * </p>
1044
+	 * @return bool <b>TRUE</b> on success.
1045
+	 * @throws ImagickException on error.
1046
+	 */
1047
+	public function setImageInterpolateMethod($method) {}
1048
+
1049
+	/**
1050
+	 * (PECL imagick 2.0.0)<br/>
1051
+	 * Returns the interpolation method
1052
+	 * @link https://php.net/manual/en/imagick.getimageinterpolatemethod.php
1053
+	 * @return int the interpolate method on success.
1054
+	 * @throws ImagickException on error.
1055
+	 */
1056
+	#[Pure]
1057
+	public function getImageInterpolateMethod() {}
1058
+
1059
+	/**
1060
+	 * (PECL imagick 2.0.0)<br/>
1061
+	 * Stretches with saturation the image intensity
1062
+	 * @link https://php.net/manual/en/imagick.linearstretchimage.php
1063
+	 * @param float $blackPoint <p>
1064
+	 * The image black point
1065
+	 * </p>
1066
+	 * @param float $whitePoint <p>
1067
+	 * The image white point
1068
+	 * </p>
1069
+	 * @return bool <b>TRUE</b> on success.
1070
+	 * @throws ImagickException on error.
1071
+	 */
1072
+	public function linearStretchImage($blackPoint, $whitePoint) {}
1073
+
1074
+	/**
1075
+	 * (PECL imagick 2.0.0)<br/>
1076
+	 * Returns the image length in bytes
1077
+	 * @link https://php.net/manual/en/imagick.getimagelength.php
1078
+	 * @return int an int containing the current image size.
1079
+	 * @throws ImagickException on error.
1080
+	 */
1081
+	#[Pure]
1082
+	public function getImageLength() {}
1083
+
1084
+	/**
1085
+	 * (No version information available, might only be in SVN)<br/>
1086
+	 * Set image size
1087
+	 * @link https://php.net/manual/en/imagick.extentimage.php
1088
+	 * @param int $width <p>
1089
+	 * The new width
1090
+	 * </p>
1091
+	 * @param int $height <p>
1092
+	 * The new height
1093
+	 * </p>
1094
+	 * @param int $x <p>
1095
+	 * X position for the new size
1096
+	 * </p>
1097
+	 * @param int $y <p>
1098
+	 * Y position for the new size
1099
+	 * </p>
1100
+	 * @return bool <b>TRUE</b> on success.
1101
+	 * @throws ImagickException on error.
1102
+	 */
1103
+	public function extentImage($width, $height, $x, $y) {}
1104
+
1105
+	/**
1106
+	 * (PECL imagick 2.0.0)<br/>
1107
+	 * Gets the image orientation
1108
+	 * @link https://php.net/manual/en/imagick.getimageorientation.php
1109
+	 * @return int an int on success.
1110
+	 * @throws ImagickException on error.
1111
+	 */
1112
+	#[Pure]
1113
+	public function getImageOrientation() {}
1114
+
1115
+	/**
1116
+	 * (PECL imagick 2.0.0)<br/>
1117
+	 * Sets the image orientation
1118
+	 * @link https://php.net/manual/en/imagick.setimageorientation.php
1119
+	 * @param int $orientation <p>
1120
+	 * One of the orientation constants
1121
+	 * </p>
1122
+	 * @return bool <b>TRUE</b> on success.
1123
+	 * @throws ImagickException on error.
1124
+	 */
1125
+	public function setImageOrientation($orientation) {}
1126
+
1127
+	/**
1128
+	 * (PECL imagick 2.1.0)<br/>
1129
+	 * Changes the color value of any pixel that matches target
1130
+	 * @link https://php.net/manual/en/imagick.paintfloodfillimage.php
1131
+	 * @param mixed $fill <p>
1132
+	 * ImagickPixel object or a string containing the fill color
1133
+	 * </p>
1134
+	 * @param float $fuzz <p>
1135
+	 * The amount of fuzz. For example, set fuzz to 10 and the color red at
1136
+	 * intensities of 100 and 102 respectively are now interpreted as the
1137
+	 * same color for the purposes of the floodfill.
1138
+	 * </p>
1139
+	 * @param mixed $bordercolor <p>
1140
+	 * ImagickPixel object or a string containing the border color
1141
+	 * </p>
1142
+	 * @param int $x <p>
1143
+	 * X start position of the floodfill
1144
+	 * </p>
1145
+	 * @param int $y <p>
1146
+	 * Y start position of the floodfill
1147
+	 * </p>
1148
+	 * @param int $channel [optional] <p>
1149
+	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
1150
+	 * </p>
1151
+	 * @return bool <b>TRUE</b> on success.
1152
+	 * @throws ImagickException on error.
1153
+	 */
1154
+	#[Deprecated]
1155
+	public function paintFloodfillImage($fill, $fuzz, $bordercolor, $x, $y, $channel = Imagick::CHANNEL_ALL) {}
1156
+
1157
+	/**
1158
+	 * (PECL imagick 2.0.0)<br/>
1159
+	 * Replaces colors in the image from a color lookup table. Optional second parameter to replace colors in a specific channel. This method is available if Imagick has been compiled against ImageMagick version 6.3.6 or newer.
1160
+	 * @link https://php.net/manual/en/imagick.clutimage.php
1161
+	 * @param Imagick $lookup_table <p>
1162
+	 * Imagick object containing the color lookup table
1163
+	 * </p>
1164
+	 * @param int $channel [optional] <p>
1165
+	 * The Channeltype
1166
+	 * constant. When not supplied, default channels are replaced.
1167
+	 * </p>
1168
+	 * @return bool <b>TRUE</b> on success.
1169
+	 * @throws ImagickException on error.
1170
+	 * @since 2.0.0
1171
+	 */
1172
+	public function clutImage(Imagick $lookup_table, $channel = Imagick::CHANNEL_DEFAULT) {}
1173
+
1174
+	/**
1175
+	 * (PECL imagick 2.0.0)<br/>
1176
+	 * Returns the image properties
1177
+	 * @link https://php.net/manual/en/imagick.getimageproperties.php
1178
+	 * @param string $pattern [optional] <p>
1179
+	 * The pattern for property names.
1180
+	 * </p>
1181
+	 * @param bool $only_names [optional] <p>
1182
+	 * Whether to return only property names. If <b>FALSE</b> then also the values are returned
1183
+	 * </p>
1184
+	 * @return array an array containing the image properties or property names.
1185
+	 * @throws ImagickException on error.
1186
+	 */
1187
+	#[Pure]
1188
+	public function getImageProperties($pattern = "*", $only_names = true) {}
1189
+
1190
+	/**
1191
+	 * (PECL imagick 2.2.0)<br/>
1192
+	 * Returns the image profiles
1193
+	 * @link https://php.net/manual/en/imagick.getimageprofiles.php
1194
+	 * @param string $pattern [optional] <p>
1195
+	 * The pattern for profile names.
1196
+	 * </p>
1197
+	 * @param bool $include_values [optional] <p>
1198
+	 * Whether to return only profile names. If <b>FALSE</b> then only profile names will be returned.
1199
+	 * </p>
1200
+	 * @return array an array containing the image profiles or profile names.
1201
+	 * @throws ImagickException on error.
1202
+	 */
1203
+	#[Pure]
1204
+	public function getImageProfiles($pattern = "*", $include_values = true) {}
1205
+
1206
+	/**
1207
+	 * (PECL imagick 2.0.1)<br/>
1208
+	 * Distorts an image using various distortion methods
1209
+	 * @link https://php.net/manual/en/imagick.distortimage.php
1210
+	 * @param int $method <p>
1211
+	 * The method of image distortion. See distortion constants
1212
+	 * </p>
1213
+	 * @param array $arguments <p>
1214
+	 * The arguments for this distortion method
1215
+	 * </p>
1216
+	 * @param bool $bestfit <p>
1217
+	 * Attempt to resize destination to fit distorted source
1218
+	 * </p>
1219
+	 * @return bool <b>TRUE</b> on success.
1220
+	 * @throws ImagickException on error.
1221
+	 */
1222
+	public function distortImage($method, array $arguments, $bestfit) {}
1223
+
1224
+	/**
1225
+	 * (No version information available, might only be in SVN)<br/>
1226
+	 * Writes an image to a filehandle
1227
+	 * @link https://php.net/manual/en/imagick.writeimagefile.php
1228
+	 * @param resource $filehandle <p>
1229
+	 * Filehandle where to write the image
1230
+	 * </p>
1231
+	 * @return bool <b>TRUE</b> on success.
1232
+	 * @throws ImagickException on error.
1233
+	 */
1234
+	public function writeImageFile($filehandle) {}
1235
+
1236
+	/**
1237
+	 * (No version information available, might only be in SVN)<br/>
1238
+	 * Writes frames to a filehandle
1239
+	 * @link https://php.net/manual/en/imagick.writeimagesfile.php
1240
+	 * @param resource $filehandle <p>
1241
+	 * Filehandle where to write the images
1242
+	 * </p>
1243
+	 * @return bool <b>TRUE</b> on success.
1244
+	 * @throws ImagickException on error.
1245
+	 */
1246
+	public function writeImagesFile($filehandle) {}
1247
+
1248
+	/**
1249
+	 * (No version information available, might only be in SVN)<br/>
1250
+	 * Reset image page
1251
+	 * @link https://php.net/manual/en/imagick.resetimagepage.php
1252
+	 * @param string $page <p>
1253
+	 * The page definition. For example 7168x5147+0+0
1254
+	 * </p>
1255
+	 * @return bool <b>TRUE</b> on success.
1256
+	 * @throws ImagickException on error.
1257
+	 */
1258
+	public function resetImagePage($page) {}
1259
+
1260
+	/**
1261
+	 * (No version information available, might only be in SVN)<br/>
1262
+	 * Sets image clip mask
1263
+	 * @link https://php.net/manual/en/imagick.setimageclipmask.php
1264
+	 * @param Imagick $clip_mask <p>
1265
+	 * The Imagick object containing the clip mask
1266
+	 * </p>
1267
+	 * @return bool <b>TRUE</b> on success.
1268
+	 */
1269
+	public function setImageClipMask(Imagick $clip_mask) {}
1270
+
1271
+	/**
1272
+	 * (No version information available, might only be in SVN)<br/>
1273
+	 * Gets image clip mask
1274
+	 * @link https://php.net/manual/en/imagick.getimageclipmask.php
1275
+	 * @return Imagick an Imagick object containing the clip mask.
1276
+	 * @throws ImagickException on error.
1277
+	 */
1278
+	#[Pure]
1279
+	public function getImageClipMask() {}
1280
+
1281
+	/**
1282
+	 * (No version information available, might only be in SVN)<br/>
1283
+	 * Animates an image or images
1284
+	 * @link https://php.net/manual/en/imagick.animateimages.php
1285
+	 * @param string $x_server <p>
1286
+	 * X server address
1287
+	 * </p>
1288
+	 * @return bool <b>TRUE</b> on success.
1289
+	 * @throws ImagickException on error.
1290
+	 */
1291
+	public function animateImages($x_server) {}
1292
+
1293
+	/**
1294
+	 * (No version information available, might only be in SVN)<br/>
1295
+	 * Recolors image
1296
+	 * @link https://php.net/manual/en/imagick.recolorimage.php
1297
+	 * @param array $matrix <p>
1298
+	 * The matrix containing the color values
1299
+	 * </p>
1300
+	 * @return bool <b>TRUE</b> on success.
1301
+	 * @throws ImagickException on error.
1302
+	 */
1303
+	#[Deprecated]
1304
+	public function recolorImage(array $matrix) {}
1305
+
1306
+	/**
1307
+	 * (PECL imagick 2.1.0)<br/>
1308
+	 * Sets font
1309
+	 * @link https://php.net/manual/en/imagick.setfont.php
1310
+	 * @param string $font <p>
1311
+	 * Font name or a filename
1312
+	 * </p>
1313
+	 * @return bool <b>TRUE</b> on success.
1314
+	 * @throws ImagickException on error.
1315
+	 */
1316
+	public function setFont($font) {}
1317
+
1318
+	/**
1319
+	 * (PECL imagick 2.1.0)<br/>
1320
+	 * Gets font
1321
+	 * @link https://php.net/manual/en/imagick.getfont.php
1322
+	 * @return string|false the string containing the font name or <b>FALSE</b> if not font is set.
1323
+	 */
1324
+	#[Pure]
1325
+	public function getFont() {}
1326
+
1327
+	/**
1328
+	 * (PECL imagick 2.1.0)<br/>
1329
+	 * Sets point size
1330
+	 * @link https://php.net/manual/en/imagick.setpointsize.php
1331
+	 * @param float $point_size <p>
1332
+	 * Point size
1333
+	 * </p>
1334
+	 * @return bool <b>TRUE</b> on success.
1335
+	 * @throws ImagickException on error.
1336
+	 */
1337
+	public function setPointSize($point_size) {}
1338
+
1339
+	/**
1340
+	 * (No version information available, might only be in SVN)<br/>
1341
+	 * Gets point size
1342
+	 * @link https://php.net/manual/en/imagick.getpointsize.php
1343
+	 * @return float a float containing the point size.
1344
+	 */
1345
+	#[Pure]
1346
+	public function getPointSize() {}
1347
+
1348
+	/**
1349
+	 * (PECL imagick 2.1.0)<br/>
1350
+	 * Merges image layers
1351
+	 * @link https://php.net/manual/en/imagick.mergeimagelayers.php
1352
+	 * @param int $layer_method <p>
1353
+	 * One of the <b>Imagick::LAYERMETHOD_*</b> constants
1354
+	 * </p>
1355
+	 * @return Imagick Returns an Imagick object containing the merged image.
1356
+	 * @throws ImagickException
1357
+	 */
1358
+	public function mergeImageLayers($layer_method) {}
1359
+
1360
+	/**
1361
+	 * (No version information available, might only be in SVN)<br/>
1362
+	 * Sets image alpha channel
1363
+	 * @link https://php.net/manual/en/imagick.setimagealphachannel.php
1364
+	 * @param int $mode <p>
1365
+	 * One of the <b>Imagick::ALPHACHANNEL_*</b> constants
1366
+	 * </p>
1367
+	 * @return bool <b>TRUE</b> on success.
1368
+	 * @throws ImagickException on error.
1369
+	 */
1370
+	public function setImageAlphaChannel($mode) {}
1371
+
1372
+	/**
1373
+	 * (No version information available, might only be in SVN)<br/>
1374
+	 * Changes the color value of any pixel that matches target
1375
+	 * @link https://php.net/manual/en/imagick.floodfillpaintimage.php
1376
+	 * @param mixed $fill <p>
1377
+	 * ImagickPixel object or a string containing the fill color
1378
+	 * </p>
1379
+	 * @param float $fuzz <p>
1380
+	 * The amount of fuzz. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
1381
+	 * </p>
1382
+	 * @param mixed $target <p>
1383
+	 * ImagickPixel object or a string containing the target color to paint
1384
+	 * </p>
1385
+	 * @param int $x <p>
1386
+	 * X start position of the floodfill
1387
+	 * </p>
1388
+	 * @param int $y <p>
1389
+	 * Y start position of the floodfill
1390
+	 * </p>
1391
+	 * @param bool $invert <p>
1392
+	 * If <b>TRUE</b> paints any pixel that does not match the target color.
1393
+	 * </p>
1394
+	 * @param int $channel [optional] <p>
1395
+	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
1396
+	 * </p>
1397
+	 * @return bool <b>TRUE</b> on success.
1398
+	 * @throws ImagickException on error.
1399
+	 */
1400
+	public function floodFillPaintImage($fill, $fuzz, $target, $x, $y, $invert, $channel = Imagick::CHANNEL_DEFAULT) {}
1401
+
1402
+	/**
1403
+	 * (No version information available, might only be in SVN)<br/>
1404
+	 * Changes the color value of any pixel that matches target
1405
+	 * @link https://php.net/manual/en/imagick.opaquepaintimage.php
1406
+	 * @param mixed $target <p>
1407
+	 * ImagickPixel object or a string containing the color to change
1408
+	 * </p>
1409
+	 * @param mixed $fill <p>
1410
+	 * The replacement color
1411
+	 * </p>
1412
+	 * @param float $fuzz <p>
1413
+	 * The amount of fuzz. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
1414
+	 * </p>
1415
+	 * @param bool $invert <p>
1416
+	 * If <b>TRUE</b> paints any pixel that does not match the target color.
1417
+	 * </p>
1418
+	 * @param int $channel [optional] <p>
1419
+	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
1420
+	 * </p>
1421
+	 * @return bool <b>TRUE</b> on success.
1422
+	 * @throws ImagickException on error.
1423
+	 */
1424
+	public function opaquePaintImage($target, $fill, $fuzz, $invert, $channel = Imagick::CHANNEL_DEFAULT) {}
1425
+
1426
+	/**
1427
+	 * (No version information available, might only be in SVN)<br/>
1428
+	 * Paints pixels transparent
1429
+	 * @link https://php.net/manual/en/imagick.transparentpaintimage.php
1430
+	 * @param mixed $target <p>
1431
+	 * The target color to paint
1432
+	 * </p>
1433
+	 * @param float $alpha <p>
1434
+	 * The level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.
1435
+	 * </p>
1436
+	 * @param float $fuzz <p>
1437
+	 * The amount of fuzz. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
1438
+	 * </p>
1439
+	 * @param bool $invert <p>
1440
+	 * If <b>TRUE</b> paints any pixel that does not match the target color.
1441
+	 * </p>
1442
+	 * @return bool <b>TRUE</b> on success.
1443
+	 * @throws ImagickException on error.
1444
+	 */
1445
+	public function transparentPaintImage($target, $alpha, $fuzz, $invert) {}
1446
+
1447
+	/**
1448
+	 * (No version information available, might only be in SVN)<br/>
1449
+	 * Animates an image or images
1450
+	 * @link https://php.net/manual/en/imagick.liquidrescaleimage.php
1451
+	 * @param int $width <p>
1452
+	 * The width of the target size
1453
+	 * </p>
1454
+	 * @param int $height <p>
1455
+	 * The height of the target size
1456
+	 * </p>
1457
+	 * @param float $delta_x <p>
1458
+	 * How much the seam can traverse on x-axis.
1459
+	 * Passing 0 causes the seams to be straight.
1460
+	 * </p>
1461
+	 * @param float $rigidity <p>
1462
+	 * Introduces a bias for non-straight seams. This parameter is
1463
+	 * typically 0.
1464
+	 * </p>
1465
+	 * @return bool <b>TRUE</b> on success.
1466
+	 * @throws ImagickException on error.
1467
+	 */
1468
+	public function liquidRescaleImage($width, $height, $delta_x, $rigidity) {}
1469
+
1470
+	/**
1471
+	 * (No version information available, might only be in SVN)<br/>
1472
+	 * Enciphers an image
1473
+	 * @link https://php.net/manual/en/imagick.encipherimage.php
1474
+	 * @param string $passphrase <p>
1475
+	 * The passphrase
1476
+	 * </p>
1477
+	 * @return bool <b>TRUE</b> on success.
1478
+	 * @throws ImagickException on error.
1479
+	 */
1480
+	public function encipherImage($passphrase) {}
1481
+
1482
+	/**
1483
+	 * (No version information available, might only be in SVN)<br/>
1484
+	 * Deciphers an image
1485
+	 * @link https://php.net/manual/en/imagick.decipherimage.php
1486
+	 * @param string $passphrase <p>
1487
+	 * The passphrase
1488
+	 * </p>
1489
+	 * @return bool <b>TRUE</b> on success.
1490
+	 * @throws ImagickException on error.
1491
+	 */
1492
+	public function decipherImage($passphrase) {}
1493
+
1494
+	/**
1495
+	 * (No version information available, might only be in SVN)<br/>
1496
+	 * Sets the gravity
1497
+	 * @link https://php.net/manual/en/imagick.setgravity.php
1498
+	 * @param int $gravity <p>
1499
+	 * The gravity property. Refer to the list of
1500
+	 * gravity constants.
1501
+	 * </p>
1502
+	 * @return bool No value is returned.
1503
+	 * @throws ImagickException on error.
1504
+	 */
1505
+	public function setGravity($gravity) {}
1506
+
1507
+	/**
1508
+	 * (No version information available, might only be in SVN)<br/>
1509
+	 * Gets the gravity
1510
+	 * @link https://php.net/manual/en/imagick.getgravity.php
1511
+	 * @return int the gravity property. Refer to the list of
1512
+	 * gravity constants.
1513
+	 */
1514
+	#[Pure]
1515
+	public function getGravity() {}
1516
+
1517
+	/**
1518
+	 * (PECL imagick 2.2.1)<br/>
1519
+	 * Gets channel range
1520
+	 * @link https://php.net/manual/en/imagick.getimagechannelrange.php
1521
+	 * @param int $channel <p>
1522
+	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
1523
+	 * </p>
1524
+	 * @return float[] an array containing minima and maxima values of the channel(s).
1525
+	 * @throws ImagickException on error.
1526
+	 */
1527
+	#[ArrayShape(["minima" => "float", "maxima" => "float"])]
1528
+	#[Pure]
1529
+	public function getImageChannelRange($channel) {}
1530
+
1531
+	/**
1532
+	 * (No version information available, might only be in SVN)<br/>
1533
+	 * Gets the image alpha channel
1534
+	 * @link https://php.net/manual/en/imagick.getimagealphachannel.php
1535
+	 * @return int a constant defining the current alpha channel value. Refer to this
1536
+	 * list of alpha channel constants.
1537
+	 * @throws ImagickException on error.
1538
+	 */
1539
+	#[Pure]
1540
+	public function getImageAlphaChannel() {}
1541
+
1542
+	/**
1543
+	 * (No version information available, might only be in SVN)<br/>
1544
+	 * Gets channel distortions
1545
+	 * @link https://php.net/manual/en/imagick.getimagechanneldistortions.php
1546
+	 * @param Imagick $reference <p>
1547
+	 * Imagick object containing the reference image
1548
+	 * </p>
1549
+	 * @param int $metric <p>
1550
+	 * Refer to this list of metric type constants.
1551
+	 * </p>
1552
+	 * @param int $channel [optional] <p>
1553
+	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
1554
+	 * </p>
1555
+	 * @return float a float describing the channel distortion.
1556
+	 * @throws ImagickException on error.
1557
+	 */
1558
+	#[Pure]
1559
+	public function getImageChannelDistortions(Imagick $reference, $metric, $channel = Imagick::CHANNEL_DEFAULT) {}
1560
+
1561
+	/**
1562
+	 * (No version information available, might only be in SVN)<br/>
1563
+	 * Sets the image gravity
1564
+	 * @link https://php.net/manual/en/imagick.setimagegravity.php
1565
+	 * @param int $gravity <p>
1566
+	 * The gravity property. Refer to the list of
1567
+	 * gravity constants.
1568
+	 * </p>
1569
+	 * @return bool No value is returned.
1570
+	 * @throws ImagickException on error.
1571
+	 */
1572
+	public function setImageGravity($gravity) {}
1573
+
1574
+	/**
1575
+	 * (No version information available, might only be in SVN)<br/>
1576
+	 * Gets the image gravity
1577
+	 * @link https://php.net/manual/en/imagick.getimagegravity.php
1578
+	 * @return int the images gravity property. Refer to the list of
1579
+	 * gravity constants.
1580
+	 * @throws ImagickException on error.
1581
+	 */
1582
+	#[Pure]
1583
+	public function getImageGravity() {}
1584
+
1585
+	/**
1586
+	 * (No version information available, might only be in SVN)<br/>
1587
+	 * Imports image pixels
1588
+	 * @link https://php.net/manual/en/imagick.importimagepixels.php
1589
+	 * @param int $x <p>
1590
+	 * The image x position
1591
+	 * </p>
1592
+	 * @param int $y <p>
1593
+	 * The image y position
1594
+	 * </p>
1595
+	 * @param int $width <p>
1596
+	 * The image width
1597
+	 * </p>
1598
+	 * @param int $height <p>
1599
+	 * The image height
1600
+	 * </p>
1601
+	 * @param string $map <p>
1602
+	 * Map of pixel ordering as a string. This can be for example RGB.
1603
+	 * The value can be any combination or order of R = red, G = green, B = blue, A = alpha (0 is transparent),
1604
+	 * O = opacity (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad.
1605
+	 * </p>
1606
+	 * @param int $storage <p>
1607
+	 * The pixel storage method.
1608
+	 * Refer to this list of pixel constants.
1609
+	 * </p>
1610
+	 * @param array $pixels <p>
1611
+	 * The array of pixels
1612
+	 * </p>
1613
+	 * @return bool <b>TRUE</b> on success.
1614
+	 * @throws ImagickException on error.
1615
+	 */
1616
+	public function importImagePixels($x, $y, $width, $height, $map, $storage, array $pixels) {}
1617
+
1618
+	/**
1619
+	 * (No version information available, might only be in SVN)<br/>
1620
+	 * Removes skew from the image
1621
+	 * @link https://php.net/manual/en/imagick.deskewimage.php
1622
+	 * @param float $threshold <p>
1623
+	 * Deskew threshold
1624
+	 * </p>
1625
+	 * @return bool
1626
+	 * @throws ImagickException on error.
1627
+	 */
1628
+	public function deskewImage($threshold) {}
1629
+
1630
+	/**
1631
+	 * (No version information available, might only be in SVN)<br/>
1632
+	 * Segments an image
1633
+	 * @link https://php.net/manual/en/imagick.segmentimage.php
1634
+	 * @param int $COLORSPACE <p>
1635
+	 * One of the COLORSPACE constants.
1636
+	 * </p>
1637
+	 * @param float $cluster_threshold <p>
1638
+	 * A percentage describing minimum number of pixels
1639
+	 * contained in hexedra before it is considered valid.
1640
+	 * </p>
1641
+	 * @param float $smooth_threshold <p>
1642
+	 * Eliminates noise from the histogram.
1643
+	 * </p>
1644
+	 * @param bool $verbose [optional] <p>
1645
+	 * Whether to output detailed information about recognised classes.
1646
+	 * </p>
1647
+	 * @return bool
1648
+	 * @throws ImagickException on error.
1649
+	 */
1650
+	public function segmentImage($COLORSPACE, $cluster_threshold, $smooth_threshold, $verbose = false) {}
1651
+
1652
+	/**
1653
+	 * (No version information available, might only be in SVN)<br/>
1654
+	 * Interpolates colors
1655
+	 * @link https://php.net/manual/en/imagick.sparsecolorimage.php
1656
+	 * @param int $SPARSE_METHOD <p>
1657
+	 * Refer to this list of sparse method constants
1658
+	 * </p>
1659
+	 * @param array $arguments <p>
1660
+	 * An array containing the coordinates.
1661
+	 * The array is in format array(1,1, 2,45)
1662
+	 * </p>
1663
+	 * @param int $channel [optional]
1664
+	 * @return bool <b>TRUE</b> on success.
1665
+	 * @throws ImagickException on error.
1666
+	 */
1667
+	public function sparseColorImage($SPARSE_METHOD, array $arguments, $channel = Imagick::CHANNEL_DEFAULT) {}
1668
+
1669
+	/**
1670
+	 * (No version information available, might only be in SVN)<br/>
1671
+	 * Remaps image colors
1672
+	 * @link https://php.net/manual/en/imagick.remapimage.php
1673
+	 * @param Imagick $replacement <p>
1674
+	 * An Imagick object containing the replacement colors
1675
+	 * </p>
1676
+	 * @param int $DITHER <p>
1677
+	 * Refer to this list of dither method constants
1678
+	 * </p>
1679
+	 * @return bool <b>TRUE</b> on success.
1680
+	 * @throws ImagickException on error.
1681
+	 */
1682
+	public function remapImage(Imagick $replacement, $DITHER) {}
1683
+
1684
+	/**
1685
+	 * (No version information available, might only be in SVN)<br/>
1686
+	 * Exports raw image pixels
1687
+	 * @link https://php.net/manual/en/imagick.exportimagepixels.php
1688
+	 * @param int $x <p>
1689
+	 * X-coordinate of the exported area
1690
+	 * </p>
1691
+	 * @param int $y <p>
1692
+	 * Y-coordinate of the exported area
1693
+	 * </p>
1694
+	 * @param int $width <p>
1695
+	 * Width of the exported aread
1696
+	 * </p>
1697
+	 * @param int $height <p>
1698
+	 * Height of the exported area
1699
+	 * </p>
1700
+	 * @param string $map <p>
1701
+	 * Ordering of the exported pixels. For example "RGB".
1702
+	 * Valid characters for the map are R, G, B, A, O, C, Y, M, K, I and P.
1703
+	 * </p>
1704
+	 * @param int $STORAGE <p>
1705
+	 * Refer to this list of pixel type constants
1706
+	 * </p>
1707
+	 * @return int[] an array containing the pixels values.
1708
+	 * @throws ImagickException on error.
1709
+	 */
1710
+	public function exportImagePixels($x, $y, $width, $height, $map, $STORAGE) {}
1711
+
1712
+	/**
1713
+	 * (No version information available, might only be in SVN)<br/>
1714
+	 * The getImageChannelKurtosis purpose
1715
+	 * @link https://php.net/manual/en/imagick.getimagechannelkurtosis.php
1716
+	 * @param int $channel [optional] <p>
1717
+	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
1718
+	 * </p>
1719
+	 * @return float[] an array with kurtosis and skewness
1720
+	 * members.
1721
+	 * @throws ImagickException on error.
1722
+	 */
1723
+	#[ArrayShape(["kurtosis" => "float", "skewness" => "float"])]
1724
+	#[Pure]
1725
+	public function getImageChannelKurtosis($channel = Imagick::CHANNEL_DEFAULT) {}
1726
+
1727
+	/**
1728
+	 * (No version information available, might only be in SVN)<br/>
1729
+	 * Applies a function on the image
1730
+	 * @link https://php.net/manual/en/imagick.functionimage.php
1731
+	 * @param int $function <p>
1732
+	 * Refer to this list of function constants
1733
+	 * </p>
1734
+	 * @param array $arguments <p>
1735
+	 * Array of arguments to pass to this function.
1736
+	 * </p>
1737
+	 * @param int $channel [optional]
1738
+	 * @return bool <b>TRUE</b> on success.
1739
+	 * @throws ImagickException on error.
1740
+	 */
1741
+	public function functionImage($function, array $arguments, $channel = Imagick::CHANNEL_DEFAULT) {}
1742
+
1743
+	/**
1744
+	 * Transform image colorspace
1745
+	 * @param $COLORSPACE
1746
+	 * @return bool <b>TRUE</b> on success.
1747
+	 * @throws ImagickException on error.
1748
+	 */
1749
+	public function transformImageColorspace($COLORSPACE) {}
1750
+
1751
+	/**
1752
+	 * (No version information available, might only be in SVN)<br/>
1753
+	 * Replaces colors in the image
1754
+	 * @link https://php.net/manual/en/imagick.haldclutimage.php
1755
+	 * @param Imagick $clut <p>
1756
+	 * Imagick object containing the Hald lookup image.
1757
+	 * </p>
1758
+	 * @param int $channel [optional] <p>
1759
+	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
1760
+	 * </p>
1761
+	 * @return bool <b>TRUE</b> on success.
1762
+	 * @throws ImagickException on error.
1763
+	 */
1764
+	public function haldClutImage(Imagick $clut, $channel = Imagick::CHANNEL_DEFAULT) {}
1765
+
1766
+	/**
1767
+	 * Adjusts the levels of a particular image channel by scaling the minimum and maximum values to the full quantum range.
1768
+	 * @param $CHANNEL [optional]
1769
+	 * @return bool <b>TRUE</b> on success.
1770
+	 * @throws ImagickException on error.
1771
+	 */
1772
+	public function autoLevelImage($CHANNEL) {}
1773
+
1774
+	/**
1775
+	 * @link https://www.php.net/manual/en/imagick.blueshiftimage.php
1776
+	 * @param float $factor [optional]
1777
+	 * @return bool
1778
+	 * @throws ImagickException on error.
1779
+	 */
1780
+	public function blueShiftImage($factor) {}
1781
+
1782
+	/**
1783
+	 * (No version information available, might only be in SVN)<br/>
1784
+	 * Get image artifact
1785
+	 * @link https://php.net/manual/en/imagick.getimageartifact.php
1786
+	 * @param string $artifact <p>
1787
+	 * The name of the artifact
1788
+	 * </p>
1789
+	 * @return string the artifact value on success.
1790
+	 * @throws ImagickException on error.
1791
+	 */
1792
+	#[Pure]
1793
+	public function getImageArtifact($artifact) {}
1794
+
1795
+	/**
1796
+	 * (No version information available, might only be in SVN)<br/>
1797
+	 * Set image artifact
1798
+	 * @link https://php.net/manual/en/imagick.setimageartifact.php
1799
+	 * @param string $artifact <p>
1800
+	 * The name of the artifact
1801
+	 * </p>
1802
+	 * @param string $value <p>
1803
+	 * The value of the artifact
1804
+	 * </p>
1805
+	 * @return bool <b>TRUE</b> on success.
1806
+	 * @throws ImagickException on error.
1807
+	 */
1808
+	public function setImageArtifact($artifact, $value) {}
1809
+
1810
+	/**
1811
+	 * (No version information available, might only be in SVN)<br/>
1812
+	 * Delete image artifact
1813
+	 * @link https://php.net/manual/en/imagick.deleteimageartifact.php
1814
+	 * @param string $artifact <p>
1815
+	 * The name of the artifact to delete
1816
+	 * </p>
1817
+	 * @return bool <b>TRUE</b> on success.
1818
+	 * @throws ImagickException on error.
1819
+	 */
1820
+	public function deleteImageArtifact($artifact) {}
1821
+
1822
+	/**
1823
+	 * (PECL imagick 0.9.10-0.9.9)<br/>
1824
+	 * Gets the colorspace
1825
+	 * @link https://php.net/manual/en/imagick.getcolorspace.php
1826
+	 * @return int an integer which can be compared against COLORSPACE constants.
1827
+	 */
1828
+	#[Pure]
1829
+	public function getColorspace() {}
1830
+
1831
+	/**
1832
+	 * (No version information available, might only be in SVN)<br/>
1833
+	 * Set colorspace
1834
+	 * @link https://php.net/manual/en/imagick.setcolorspace.php
1835
+	 * @param int $COLORSPACE <p>
1836
+	 * One of the COLORSPACE constants
1837
+	 * </p>
1838
+	 * @return bool <b>TRUE</b> on success.
1839
+	 */
1840
+	public function setColorspace($COLORSPACE) {}
1841
+
1842
+	/**
1843
+	 * @param $CHANNEL [optional]
1844
+	 * @throws ImagickException on error.
1845
+	 */
1846
+	public function clampImage($CHANNEL) {}
1847
+
1848
+	/**
1849
+	 * @param bool $stack
1850
+	 * @param int $offset
1851
+	 * @return Imagick
1852
+	 * @throws ImagickException on error.
1853
+	 */
1854
+	public function smushImages($stack, $offset) {}
1855
+
1856
+	/**
1857
+	 * (PECL imagick 2.0.0)<br/>
1858
+	 * The Imagick constructor
1859
+	 * @link https://php.net/manual/en/imagick.construct.php
1860
+	 * @param mixed $files <p>
1861
+	 * The path to an image to load or an array of paths. Paths can include
1862
+	 * wildcards for file names, or can be URLs.
1863
+	 * </p>
1864
+	 * @throws ImagickException Throws ImagickException on error.
1865
+	 */
1866
+	public function __construct($files = null) {}
1867
+
1868
+	/**
1869
+	 * @return string
1870
+	 */
1871
+	public function __toString() {}
1872
+
1873
+	public function count() {}
1874
+
1875
+	/**
1876
+	 * (PECL imagick 2.0.0)<br/>
1877
+	 * Returns a MagickPixelIterator
1878
+	 * @link https://php.net/manual/en/imagick.getpixeliterator.php
1879
+	 * @return ImagickPixelIterator an ImagickPixelIterator on success.
1880
+	 * @throws ImagickException on error.
1881
+	 * @throws ImagickPixelIteratorException on error.
1882
+	 */
1883
+	#[Pure]
1884
+	public function getPixelIterator() {}
1885
+
1886
+	/**
1887
+	 * (PECL imagick 2.0.0)<br/>
1888
+	 * Get an ImagickPixelIterator for an image section
1889
+	 * @link https://php.net/manual/en/imagick.getpixelregioniterator.php
1890
+	 * @param int $x <p>
1891
+	 * The x-coordinate of the region.
1892
+	 * </p>
1893
+	 * @param int $y <p>
1894
+	 * The y-coordinate of the region.
1895
+	 * </p>
1896
+	 * @param int $columns <p>
1897
+	 * The width of the region.
1898
+	 * </p>
1899
+	 * @param int $rows <p>
1900
+	 * The height of the region.
1901
+	 * </p>
1902
+	 * @return ImagickPixelIterator an ImagickPixelIterator for an image section.
1903
+	 * @throws ImagickException on error.
1904
+	 * @throws ImagickPixelIteratorException on error.
1905
+	 */
1906
+	#[Pure]
1907
+	public function getPixelRegionIterator($x, $y, $columns, $rows) {}
1908
+
1909
+	/**
1910
+	 * (PECL imagick 0.9.0-0.9.9)<br/>
1911
+	 * Reads image from filename
1912
+	 * @link https://php.net/manual/en/imagick.readimage.php
1913
+	 * @param string $filename
1914
+	 * @return bool <b>TRUE</b> on success.
1915
+	 * @throws ImagickException Throws ImagickException on error.
1916
+	 */
1917
+	public function readImage($filename) {}
1918
+
1919
+	/**
1920
+	 * @param $filenames
1921
+	 * @throws ImagickException Throws ImagickException on error.
1922
+	 */
1923
+	public function readImages($filenames) {}
1924
+
1925
+	/**
1926
+	 * (PECL imagick 2.0.0)<br/>
1927
+	 * Reads image from a binary string
1928
+	 * @link https://php.net/manual/en/imagick.readimageblob.php
1929
+	 * @param string $image
1930
+	 * @param string $filename [optional]
1931
+	 * @return bool <b>TRUE</b> on success.
1932
+	 * @throws ImagickException Throws ImagickException on error.
1933
+	 */
1934
+	public function readImageBlob($image, $filename = null) {}
1935
+
1936
+	/**
1937
+	 * (PECL imagick 2.0.0)<br/>
1938
+	 * Sets the format of a particular image
1939
+	 * @link https://php.net/manual/en/imagick.setimageformat.php
1940
+	 * @param string $format <p>
1941
+	 * String presentation of the image format. Format support
1942
+	 * depends on the ImageMagick installation.
1943
+	 * </p>
1944
+	 * @return bool <b>TRUE</b> on success.
1945
+	 * @throws ImagickException on error.
1946
+	 */
1947
+	public function setImageFormat($format) {}
1948
+
1949
+	/**
1950
+	 * Scales the size of an image to the given dimensions. Passing zero as either of the arguments will preserve dimension while scaling.<br>
1951
+	 * If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.<br>
1952
+	 * If false, the calculations should produce the same results as ImageMagick CLI does.
1953
+	 * @link https://php.net/manual/en/imagick.scaleimage.php
1954
+	 * @param int $cols
1955
+	 * @param int $rows
1956
+	 * @param bool $bestfit [optional] The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
1957
+	 * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
1958
+	 * @return bool <b>TRUE</b> on success.
1959
+	 * @throws ImagickException Throws ImagickException on error
1960
+	 * @since 2.0.0
1961
+	 */
1962
+	public function scaleImage($cols, $rows, $bestfit = false, $legacy = false) {}
1963
+
1964
+	/**
1965
+	 * (PECL imagick 0.9.0-0.9.9)<br/>
1966
+	 * Writes an image to the specified filename
1967
+	 * @link https://php.net/manual/en/imagick.writeimage.php
1968
+	 * @param string $filename [optional] <p>
1969
+	 * Filename where to write the image. The extension of the filename
1970
+	 * defines the type of the file.
1971
+	 * Format can be forced regardless of file extension using format: prefix,
1972
+	 * for example "jpg:test.png".
1973
+	 * </p>
1974
+	 * @return bool <b>TRUE</b> on success.
1975
+	 * @throws ImagickException on error.
1976
+	 */
1977
+	public function writeImage($filename = null) {}
1978
+
1979
+	/**
1980
+	 * (PECL imagick 0.9.0-0.9.9)<br/>
1981
+	 * Writes an image or image sequence
1982
+	 * @link https://php.net/manual/en/imagick.writeimages.php
1983
+	 * @param string $filename
1984
+	 * @param bool $adjoin
1985
+	 * @return bool <b>TRUE</b> on success.
1986
+	 * @throws ImagickException on error.
1987
+	 */
1988
+	public function writeImages($filename, $adjoin) {}
1989
+
1990
+	/**
1991
+	 * (PECL imagick 2.0.0)<br/>
1992
+	 * Adds blur filter to image
1993
+	 * @link https://php.net/manual/en/imagick.blurimage.php
1994
+	 * @param float $radius <p>
1995
+	 * Blur radius
1996
+	 * </p>
1997
+	 * @param float $sigma <p>
1998
+	 * Standard deviation
1999
+	 * </p>
2000
+	 * @param int $channel [optional] <p>
2001
+	 * The Channeltype
2002
+	 * constant. When not supplied, all channels are blurred.
2003
+	 * </p>
2004
+	 * @return bool <b>TRUE</b> on success.
2005
+	 * @throws ImagickException on error.
2006
+	 */
2007
+	public function blurImage($radius, $sigma, $channel = null) {}
2008
+
2009
+	/**
2010
+	 * Changes the size of an image to the given dimensions and removes any associated profiles.<br>
2011
+	 * If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.<br>
2012
+	 * If false, the calculations should produce the same results as ImageMagick CLI does.<br>
2013
+	 * <br>
2014
+	 * <b>Note:</b> The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
2015
+	 * @link https://php.net/manual/en/imagick.thumbnailimage.php
2016
+	 * @param int $columns <p>
2017
+	 * Image width
2018
+	 * </p>
2019
+	 * @param int $rows <p>
2020
+	 * Image height
2021
+	 * </p>
2022
+	 * @param bool $bestfit [optional] <p>
2023
+	 * Whether to force maximum values
2024
+	 * </p>
2025
+	 * The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
2026
+	 * @param bool $fill [optional]
2027
+	 * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
2028
+	 * @return bool <b>TRUE</b> on success.
2029
+	 * @throws ImagickException on error.
2030
+	 * @since 2.0.0
2031
+	 */
2032
+	public function thumbnailImage($columns, $rows, $bestfit = false, $fill = false, $legacy = false) {}
2033
+
2034
+	/**
2035
+	 * Creates a cropped thumbnail at the requested size.
2036
+	 * If legacy is true, uses the incorrect behaviour that was present until Imagick 3.4.0.
2037
+	 * If false it uses the correct behaviour.
2038
+	 * @link https://php.net/manual/en/imagick.cropthumbnailimage.php
2039
+	 * @param int $width The width of the thumbnail
2040
+	 * @param int $height The Height of the thumbnail
2041
+	 * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
2042
+	 * @return bool TRUE on succes
2043
+	 * @throws ImagickException Throws ImagickException on error
2044
+	 * @since 2.0.0
2045
+	 */
2046
+	public function cropThumbnailImage($width, $height, $legacy = false) {}
2047
+
2048
+	/**
2049
+	 * (PECL imagick 2.0.0)<br/>
2050
+	 * Returns the filename of a particular image in a sequence
2051
+	 * @link https://php.net/manual/en/imagick.getimagefilename.php
2052
+	 * @return string a string with the filename of the image.
2053
+	 * @throws ImagickException on error.
2054
+	 */
2055
+	#[Pure]
2056
+	public function getImageFilename() {}
2057
+
2058
+	/**
2059
+	 * (PECL imagick 2.0.0)<br/>
2060
+	 * Sets the filename of a particular image
2061
+	 * @link https://php.net/manual/en/imagick.setimagefilename.php
2062
+	 * @param string $filename
2063
+	 * @return bool <b>TRUE</b> on success.
2064
+	 * @throws ImagickException on error.
2065
+	 */
2066
+	public function setImageFilename($filename) {}
2067
+
2068
+	/**
2069
+	 * (PECL imagick 2.0.0)<br/>
2070
+	 * Returns the format of a particular image in a sequence
2071
+	 * @link https://php.net/manual/en/imagick.getimageformat.php
2072
+	 * @return string a string containing the image format on success.
2073
+	 * @throws ImagickException on error.
2074
+	 */
2075
+	#[Pure]
2076
+	public function getImageFormat() {}
2077
+
2078
+	/**
2079
+	 * @link https://secure.php.net/manual/en/imagick.getimagemimetype.php
2080
+	 * @return string Returns the image mime-type.
2081
+	 * @throws ImagickException on error.
2082
+	 */
2083
+	#[Pure]
2084
+	public function getImageMimeType() {}
2085
+
2086
+	/**
2087
+	 * (PECL imagick 2.0.0)<br/>
2088
+	 * Removes an image from the image list
2089
+	 * @link https://php.net/manual/en/imagick.removeimage.php
2090
+	 * @return bool <b>TRUE</b> on success.
2091
+	 * @throws ImagickException on error.
2092
+	 */
2093
+	public function removeImage() {}
2094
+
2095
+	/**
2096
+	 * (PECL imagick 2.0.0)<br/>
2097
+	 * Destroys the Imagick object
2098
+	 * @link https://php.net/manual/en/imagick.destroy.php
2099
+	 * @return bool <b>TRUE</b> on success.
2100
+	 */
2101
+	public function destroy() {}
2102
+
2103
+	/**
2104
+	 * (PECL imagick 2.0.0)<br/>
2105
+	 * Clears all resources associated to Imagick object
2106
+	 * @link https://php.net/manual/en/imagick.clear.php
2107
+	 * @return bool <b>TRUE</b> on success.
2108
+	 */
2109
+	public function clear() {}
2110
+
2111
+	/**
2112
+	 * (PECL imagick 2.0.0)<br/>
2113
+	 * Returns the image length in bytes
2114
+	 * @link https://php.net/manual/en/imagick.getimagesize.php
2115
+	 * @return int an int containing the current image size.
2116
+	 * @throws ImagickException on error.
2117
+	 */
2118
+	#[Deprecated(replacement: "%class%->getImageLength()")]
2119
+	#[Pure]
2120
+	public function getImageSize() {}
2121
+
2122
+	/**
2123
+	 * (PECL imagick 2.0.0)<br/>
2124
+	 * Returns the image sequence as a blob
2125
+	 * @link https://php.net/manual/en/imagick.getimageblob.php
2126
+	 * @return string a string containing the image.
2127
+	 * @throws ImagickException on error.
2128
+	 */
2129
+	#[Pure]
2130
+	public function getImageBlob() {}
2131
+
2132
+	/**
2133
+	 * (PECL imagick 2.0.0)<br/>
2134
+	 * Returns all image sequences as a blob
2135
+	 * @link https://php.net/manual/en/imagick.getimagesblob.php
2136
+	 * @return string a string containing the images. On failure, throws ImagickException on failure
2137
+	 * @throws ImagickException on failure
2138
+	 */
2139
+	#[Pure]
2140
+	public function getImagesBlob() {}
2141
+
2142
+	/**
2143
+	 * (PECL imagick 2.0.0)<br/>
2144
+	 * Sets the Imagick iterator to the first image
2145
+	 * @link https://php.net/manual/en/imagick.setfirstiterator.php
2146
+	 * @return bool <b>TRUE</b> on success.
2147
+	 */
2148
+	public function setFirstIterator() {}
2149
+
2150
+	/**
2151
+	 * (PECL imagick 2.0.1)<br/>
2152
+	 * Sets the Imagick iterator to the last image
2153
+	 * @link https://php.net/manual/en/imagick.setlastiterator.php
2154
+	 * @return bool <b>TRUE</b> on success.
2155
+	 */
2156
+	public function setLastIterator() {}
2157
+
2158
+	public function resetIterator() {}
2159
+
2160
+	/**
2161
+	 * (PECL imagick 2.0.0)<br/>
2162
+	 * Move to the previous image in the object
2163
+	 * @link https://php.net/manual/en/imagick.previousimage.php
2164
+	 * @return bool <b>TRUE</b> on success.
2165
+	 */
2166
+	public function previousImage() {}
2167
+
2168
+	/**
2169
+	 * (PECL imagick 2.0.0)<br/>
2170
+	 * Moves to the next image
2171
+	 * @link https://php.net/manual/en/imagick.nextimage.php
2172
+	 * @return bool <b>TRUE</b> on success.
2173
+	 */
2174
+	public function nextImage() {}
2175
+
2176
+	/**
2177
+	 * (PECL imagick 2.0.0)<br/>
2178
+	 * Checks if the object has a previous image
2179
+	 * @link https://php.net/manual/en/imagick.haspreviousimage.php
2180
+	 * @return bool <b>TRUE</b> if the object has more images when traversing the list in the
2181
+	 * reverse direction, returns <b>FALSE</b> if there are none.
2182
+	 */
2183
+	public function hasPreviousImage() {}
2184
+
2185
+	/**
2186
+	 * (PECL imagick 2.0.0)<br/>
2187
+	 * Checks if the object has more images
2188
+	 * @link https://php.net/manual/en/imagick.hasnextimage.php
2189
+	 * @return bool <b>TRUE</b> if the object has more images when traversing the list in the
2190
+	 * forward direction, returns <b>FALSE</b> if there are none.
2191
+	 */
2192
+	public function hasNextImage() {}
2193
+
2194
+	/**
2195
+	 * (PECL imagick 2.0.0)<br/>
2196
+	 * Set the iterator position
2197
+	 * @link https://php.net/manual/en/imagick.setimageindex.php
2198
+	 * @param int $index <p>
2199
+	 * The position to set the iterator to
2200
+	 * </p>
2201
+	 * @return bool <b>TRUE</b> on success.
2202
+	 * @throws ImagickException on error.
2203
+	 */
2204
+	#[Deprecated]
2205
+	public function setImageIndex($index) {}
2206
+
2207
+	/**
2208
+	 * (PECL imagick 2.0.0)<br/>
2209
+	 * Gets the index of the current active image
2210
+	 * @link https://php.net/manual/en/imagick.getimageindex.php
2211
+	 * @return int an integer containing the index of the image in the stack.
2212
+	 */
2213
+	#[Deprecated]
2214
+	#[Pure]
2215
+	public function getImageIndex() {}
2216
+
2217
+	/**
2218
+	 * (PECL imagick 2.0.0)<br/>
2219
+	 * Adds a comment to your image
2220
+	 * @link https://php.net/manual/en/imagick.commentimage.php
2221
+	 * @param string $comment <p>
2222
+	 * The comment to add
2223
+	 * </p>
2224
+	 * @return bool <b>TRUE</b> on success.
2225
+	 * @throws ImagickException on error.
2226
+	 */
2227
+	public function commentImage($comment) {}
2228
+
2229
+	/**
2230
+	 * (PECL imagick 2.0.0)<br/>
2231
+	 * Extracts a region of the image
2232
+	 * @link https://php.net/manual/en/imagick.cropimage.php
2233
+	 * @param int $width <p>
2234
+	 * The width of the crop
2235
+	 * </p>
2236
+	 * @param int $height <p>
2237
+	 * The height of the crop
2238
+	 * </p>
2239
+	 * @param int $x <p>
2240
+	 * The X coordinate of the cropped region's top left corner
2241
+	 * </p>
2242
+	 * @param int $y <p>
2243
+	 * The Y coordinate of the cropped region's top left corner
2244
+	 * </p>
2245
+	 * @return bool <b>TRUE</b> on success.
2246
+	 * @throws ImagickException on error.
2247
+	 */
2248
+	public function cropImage($width, $height, $x, $y) {}
2249
+
2250
+	/**
2251
+	 * (PECL imagick 2.0.0)<br/>
2252
+	 * Adds a label to an image
2253
+	 * @link https://php.net/manual/en/imagick.labelimage.php
2254
+	 * @param string $label <p>
2255
+	 * The label to add
2256
+	 * </p>
2257
+	 * @return bool <b>TRUE</b> on success.
2258
+	 * @throws ImagickException on error.
2259
+	 */
2260
+	public function labelImage($label) {}
2261
+
2262
+	/**
2263
+	 * (PECL imagick 2.0.0)<br/>
2264
+	 * Gets the width and height as an associative array
2265
+	 * @link https://php.net/manual/en/imagick.getimagegeometry.php
2266
+	 * @return int[] an array with the width/height of the image.
2267
+	 * @throws ImagickException on error.
2268
+	 */
2269
+	#[ArrayShape(["width" => "int", "height" => "int"])]
2270
+	#[Pure]
2271
+	public function getImageGeometry() {}
2272
+
2273
+	/**
2274
+	 * (PECL imagick 2.0.0)<br/>
2275
+	 * Renders the ImagickDraw object on the current image
2276
+	 * @link https://php.net/manual/en/imagick.drawimage.php
2277
+	 * @param ImagickDraw $draw <p>
2278
+	 * The drawing operations to render on the image.
2279
+	 * </p>
2280
+	 * @return bool <b>TRUE</b> on success.
2281
+	 * @throws ImagickException on error.
2282
+	 */
2283
+	public function drawImage(ImagickDraw $draw) {}
2284
+
2285
+	/**
2286
+	 * (No version information available, might only be in SVN)<br/>
2287
+	 * Sets the image compression quality
2288
+	 * @link https://php.net/manual/en/imagick.setimagecompressionquality.php
2289
+	 * @param int $quality <p>
2290
+	 * The image compression quality as an integer
2291
+	 * </p>
2292
+	 * @return bool <b>TRUE</b> on success.
2293
+	 * @throws ImagickException on error.
2294
+	 */
2295
+	public function setImageCompressionQuality($quality) {}
2296
+
2297
+	/**
2298
+	 * (PECL imagick 2.2.2)<br/>
2299
+	 * Gets the current image's compression quality
2300
+	 * @link https://php.net/manual/en/imagick.getimagecompressionquality.php
2301
+	 * @return int integer describing the images compression quality
2302
+	 */
2303
+	#[Pure]
2304
+	public function getImageCompressionQuality() {}
2305
+
2306
+	/**
2307
+	 * (PECL imagick 2.0.0)<br/>
2308
+	 * Annotates an image with text
2309
+	 * @link https://php.net/manual/en/imagick.annotateimage.php
2310
+	 * @param ImagickDraw $draw_settings <p>
2311
+	 * The ImagickDraw object that contains settings for drawing the text
2312
+	 * </p>
2313
+	 * @param float $x <p>
2314
+	 * Horizontal offset in pixels to the left of text
2315
+	 * </p>
2316
+	 * @param float $y <p>
2317
+	 * Vertical offset in pixels to the baseline of text
2318
+	 * </p>
2319
+	 * @param float $angle <p>
2320
+	 * The angle at which to write the text
2321
+	 * </p>
2322
+	 * @param string $text <p>
2323
+	 * The string to draw
2324
+	 * </p>
2325
+	 * @return bool <b>TRUE</b> on success.
2326
+	 * @throws ImagickException on error.
2327
+	 */
2328
+	public function annotateImage(ImagickDraw $draw_settings, $x, $y, $angle, $text) {}
2329
+
2330
+	/**
2331
+	 * (PECL imagick 2.0.0)<br/>
2332
+	 * Composite one image onto another
2333
+	 * @link https://php.net/manual/en/imagick.compositeimage.php
2334
+	 * @param Imagick $composite_object <p>
2335
+	 * Imagick object which holds the composite image
2336
+	 * </p>
2337
+	 * @param int $composite Composite operator
2338
+	 * @param int $x <p>
2339
+	 * The column offset of the composited image
2340
+	 * </p>
2341
+	 * @param int $y <p>
2342
+	 * The row offset of the composited image
2343
+	 * </p>
2344
+	 * @param int $channel [optional] <p>
2345
+	 * Provide any channel constant that is valid for your channel mode. To
2346
+	 * apply to more than one channel, combine channeltype constants using
2347
+	 * bitwise operators. Refer to this list of channel constants.
2348
+	 * </p>
2349
+	 * @return bool <b>TRUE</b> on success.
2350
+	 * @throws ImagickException on error.
2351
+	 */
2352
+	public function compositeImage(Imagick $composite_object, $composite, $x, $y, $channel = Imagick::CHANNEL_ALL) {}
2353
+
2354
+	/**
2355
+	 * (PECL imagick 2.0.0)<br/>
2356
+	 * Control the brightness, saturation, and hue
2357
+	 * @link https://php.net/manual/en/imagick.modulateimage.php
2358
+	 * @param float $brightness
2359
+	 * @param float $saturation
2360
+	 * @param float $hue
2361
+	 * @return bool <b>TRUE</b> on success.
2362
+	 * @throws ImagickException on error.
2363
+	 */
2364
+	public function modulateImage($brightness, $saturation, $hue) {}
2365
+
2366
+	/**
2367
+	 * (PECL imagick 2.0.0)<br/>
2368
+	 * Gets the number of unique colors in the image
2369
+	 * @link https://php.net/manual/en/imagick.getimagecolors.php
2370
+	 * @return int <b>TRUE</b> on success.
2371
+	 * @throws ImagickException on error.
2372
+	 */
2373
+	#[Pure]
2374
+	public function getImageColors() {}
2375
+
2376
+	/**
2377
+	 * (PECL imagick 2.0.0)<br/>
2378
+	 * Creates a composite image
2379
+	 * @link https://php.net/manual/en/imagick.montageimage.php
2380
+	 * @param ImagickDraw $draw <p>
2381
+	 * The font name, size, and color are obtained from this object.
2382
+	 * </p>
2383
+	 * @param string $tile_geometry <p>
2384
+	 * The number of tiles per row and page (e.g. 6x4+0+0).
2385
+	 * </p>
2386
+	 * @param string $thumbnail_geometry <p>
2387
+	 * Preferred image size and border size of each thumbnail
2388
+	 * (e.g. 120x120+4+3&#x3E;).
2389
+	 * </p>
2390
+	 * @param int $mode <p>
2391
+	 * Thumbnail framing mode, see Montage Mode constants.
2392
+	 * </p>
2393
+	 * @param string $frame <p>
2394
+	 * Surround the image with an ornamental border (e.g. 15x15+3+3). The
2395
+	 * frame color is that of the thumbnail's matte color.
2396
+	 * </p>
2397
+	 * @return Imagick <b>TRUE</b> on success.
2398
+	 * @throws ImagickException on error.
2399
+	 */
2400
+	public function montageImage(ImagickDraw $draw, $tile_geometry, $thumbnail_geometry, $mode, $frame) {}
2401
+
2402
+	/**
2403
+	 * (PECL imagick 2.0.0)<br/>
2404
+	 * Identifies an image and fetches attributes
2405
+	 * @link https://php.net/manual/en/imagick.identifyimage.php
2406
+	 * @param bool $appendRawOutput [optional]
2407
+	 * @return array Identifies an image and returns the attributes. Attributes include
2408
+	 * the image width, height, size, and others.
2409
+	 * @throws ImagickException on error.
2410
+	 */
2411
+	public function identifyImage($appendRawOutput = false) {}
2412
+
2413
+	/**
2414
+	 * (PECL imagick 2.0.0)<br/>
2415
+	 * Changes the value of individual pixels based on a threshold
2416
+	 * @link https://php.net/manual/en/imagick.thresholdimage.php
2417
+	 * @param float $threshold
2418
+	 * @param int $channel [optional]
2419
+	 * @return bool <b>TRUE</b> on success.
2420
+	 * @throws ImagickException on error.
2421
+	 */
2422
+	public function thresholdImage($threshold, $channel = Imagick::CHANNEL_ALL) {}
2423
+
2424
+	/**
2425
+	 * (PECL imagick 2.0.0)<br/>
2426
+	 * Selects a threshold for each pixel based on a range of intensity
2427
+	 * @link https://php.net/manual/en/imagick.adaptivethresholdimage.php
2428
+	 * @param int $width <p>
2429
+	 * Width of the local neighborhood.
2430
+	 * </p>
2431
+	 * @param int $height <p>
2432
+	 * Height of the local neighborhood.
2433
+	 * </p>
2434
+	 * @param int $offset <p>
2435
+	 * The mean offset
2436
+	 * </p>
2437
+	 * @return bool <b>TRUE</b> on success.
2438
+	 * @throws ImagickException on error.
2439
+	 */
2440
+	public function adaptiveThresholdImage($width, $height, $offset) {}
2441
+
2442
+	/**
2443
+	 * (PECL imagick 2.0.0)<br/>
2444
+	 * Forces all pixels below the threshold into black
2445
+	 * @link https://php.net/manual/en/imagick.blackthresholdimage.php
2446
+	 * @param mixed $threshold <p>
2447
+	 * The threshold below which everything turns black
2448
+	 * </p>
2449
+	 * @return bool <b>TRUE</b> on success.
2450
+	 * @throws ImagickException on error.
2451
+	 */
2452
+	public function blackThresholdImage($threshold) {}
2453
+
2454
+	/**
2455
+	 * (PECL imagick 2.0.0)<br/>
2456
+	 * Force all pixels above the threshold into white
2457
+	 * @link https://php.net/manual/en/imagick.whitethresholdimage.php
2458
+	 * @param mixed $threshold
2459
+	 * @return bool <b>TRUE</b> on success.
2460
+	 * @throws ImagickException on error.
2461
+	 */
2462
+	public function whiteThresholdImage($threshold) {}
2463
+
2464
+	/**
2465
+	 * (PECL imagick 2.0.0)<br/>
2466
+	 * Append a set of images
2467
+	 * @link https://php.net/manual/en/imagick.appendimages.php
2468
+	 * @param bool $stack [optional] <p>
2469
+	 * Whether to stack the images vertically.
2470
+	 * By default (or if <b>FALSE</b> is specified) images are stacked left-to-right.
2471
+	 * If <i>stack</i> is <b>TRUE</b>, images are stacked top-to-bottom.
2472
+	 * </p>
2473
+	 * @return Imagick Imagick instance on success.
2474
+	 * @throws ImagickException on error.
2475
+	 */
2476
+	public function appendImages($stack = false) {}
2477
+
2478
+	/**
2479
+	 * (PECL imagick 2.0.0)<br/>
2480
+	 * Simulates a charcoal drawing
2481
+	 * @link https://php.net/manual/en/imagick.charcoalimage.php
2482
+	 * @param float $radius <p>
2483
+	 * The radius of the Gaussian, in pixels, not counting the center pixel
2484
+	 * </p>
2485
+	 * @param float $sigma <p>
2486
+	 * The standard deviation of the Gaussian, in pixels
2487
+	 * </p>
2488
+	 * @return bool <b>TRUE</b> on success.
2489
+	 * @throws ImagickException on error.
2490
+	 */
2491
+	public function charcoalImage($radius, $sigma) {}
2492
+
2493
+	/**
2494
+	 * (PECL imagick 2.0.0)<br/>
2495
+	 * Enhances the contrast of a color image
2496
+	 * @link https://php.net/manual/en/imagick.normalizeimage.php
2497
+	 * @param int $channel [optional] <p>
2498
+	 * Provide any channel constant that is valid for your channel mode. To
2499
+	 * apply to more than one channel, combine channeltype constants using
2500
+	 * bitwise operators. Refer to this
2501
+	 * list of channel constants.
2502
+	 * </p>
2503
+	 * @return bool <b>TRUE</b> on success.
2504
+	 * @throws ImagickException on error.
2505
+	 */
2506
+	public function normalizeImage($channel = Imagick::CHANNEL_ALL) {}
2507
+
2508
+	/**
2509
+	 * (PECL imagick 2.0.0)<br/>
2510
+	 * Simulates an oil painting
2511
+	 * @link https://php.net/manual/en/imagick.oilpaintimage.php
2512
+	 * @param float $radius <p>
2513
+	 * The radius of the circular neighborhood.
2514
+	 * </p>
2515
+	 * @return bool <b>TRUE</b> on success.
2516
+	 * @throws ImagickException on error.
2517
+	 */
2518
+	public function oilPaintImage($radius) {}
2519
+
2520
+	/**
2521
+	 * (PECL imagick 2.0.0)<br/>
2522
+	 * Reduces the image to a limited number of color level
2523
+	 * @link https://php.net/manual/en/imagick.posterizeimage.php
2524
+	 * @param int $levels
2525
+	 * @param bool $dither
2526
+	 * @return bool <b>TRUE</b> on success.
2527
+	 * @throws ImagickException on error.
2528
+	 */
2529
+	public function posterizeImage($levels, $dither) {}
2530
+
2531
+	/**
2532
+	 * (PECL imagick 2.0.0)<br/>
2533
+	 * Radial blurs an image
2534
+	 * @link https://php.net/manual/en/imagick.radialblurimage.php
2535
+	 * @param float $angle
2536
+	 * @param int $channel [optional]
2537
+	 * @return bool <b>TRUE</b> on success.
2538
+	 * @throws ImagickException on error.
2539
+	 */
2540
+	public function radialBlurImage($angle, $channel = Imagick::CHANNEL_ALL) {}
2541
+
2542
+	/**
2543
+	 * (PECL imagick 2.0.0)<br/>
2544
+	 * Creates a simulated 3d button-like effect
2545
+	 * @link https://php.net/manual/en/imagick.raiseimage.php
2546
+	 * @param int $width
2547
+	 * @param int $height
2548
+	 * @param int $x
2549
+	 * @param int $y
2550
+	 * @param bool $raise
2551
+	 * @return bool <b>TRUE</b> on success.
2552
+	 * @throws ImagickException on error.
2553
+	 */
2554
+	public function raiseImage($width, $height, $x, $y, $raise) {}
2555
+
2556
+	/**
2557
+	 * (PECL imagick 2.0.0)<br/>
2558
+	 * Resample image to desired resolution
2559
+	 * @link https://php.net/manual/en/imagick.resampleimage.php
2560
+	 * @param float $x_resolution
2561
+	 * @param float $y_resolution
2562
+	 * @param int $filter
2563
+	 * @param float $blur
2564
+	 * @return bool <b>TRUE</b> on success.
2565
+	 * @throws ImagickException on error.
2566
+	 */
2567
+	public function resampleImage($x_resolution, $y_resolution, $filter, $blur) {}
2568
+
2569
+	/**
2570
+	 * Scales an image to the desired dimensions with one of these filters:<br>
2571
+	 * If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.<br>
2572
+	 * If false, the calculations should produce the same results as ImageMagick CLI does.<br>
2573
+	 * <br>
2574
+	 * <b>Note:</b> The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched.<br>
2575
+	 * In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
2576
+	 * @link https://php.net/manual/en/imagick.resizeimage.php
2577
+	 * @param int $columns Width of the image
2578
+	 * @param int $rows Height of the image
2579
+	 * @param int $filter Refer to the list of filter constants.
2580
+	 * @param float $blur The blur factor where > 1 is blurry, < 1 is sharp.
2581
+	 * @param bool $bestfit [optional] Added since 2.1.0. Added optional fit parameter. This method now supports proportional scaling. Pass zero as either parameter for proportional scaling
2582
+	 * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
2583
+	 * @return bool TRUE on success
2584
+	 * @throws ImagickException on error.
2585
+	 * @since 2.0.0
2586
+	 */
2587
+	public function resizeImage($columns, $rows, $filter, $blur, $bestfit = false, $legacy = false) {}
2588
+
2589
+	/**
2590
+	 * (PECL imagick 2.0.0)<br/>
2591
+	 * Offsets an image
2592
+	 * @link https://php.net/manual/en/imagick.rollimage.php
2593
+	 * @param int $x <p>
2594
+	 * The X offset.
2595
+	 * </p>
2596
+	 * @param int $y <p>
2597
+	 * The Y offset.
2598
+	 * </p>
2599
+	 * @return bool <b>TRUE</b> on success.
2600
+	 * @throws ImagickException on error.
2601
+	 */
2602
+	public function rollImage($x, $y) {}
2603
+
2604
+	/**
2605
+	 * (PECL imagick 2.0.0)<br/>
2606
+	 * Rotates an image
2607
+	 * @link https://php.net/manual/en/imagick.rotateimage.php
2608
+	 * @param mixed $background <p>
2609
+	 * The background color
2610
+	 * </p>
2611
+	 * @param float $degrees <p>
2612
+	 * The number of degrees to rotate the image
2613
+	 * </p>
2614
+	 * @return bool <b>TRUE</b> on success.
2615
+	 * @throws ImagickException on error.
2616
+	 */
2617
+	public function rotateImage($background, $degrees) {}
2618
+
2619
+	/**
2620
+	 * (PECL imagick 2.0.0)<br/>
2621
+	 * Scales an image with pixel sampling
2622
+	 * @link https://php.net/manual/en/imagick.sampleimage.php
2623
+	 * @param int $columns
2624
+	 * @param int $rows
2625
+	 * @return bool <b>TRUE</b> on success.
2626
+	 * @throws ImagickException on error.
2627
+	 */
2628
+	public function sampleImage($columns, $rows) {}
2629
+
2630
+	/**
2631
+	 * (PECL imagick 2.0.0)<br/>
2632
+	 * Applies a solarizing effect to the image
2633
+	 * @link https://php.net/manual/en/imagick.solarizeimage.php
2634
+	 * @param int $threshold
2635
+	 * @return bool <b>TRUE</b> on success.
2636
+	 * @throws ImagickException on error.
2637
+	 */
2638
+	public function solarizeImage($threshold) {}
2639
+
2640
+	/**
2641
+	 * (PECL imagick 2.0.0)<br/>
2642
+	 * Simulates an image shadow
2643
+	 * @link https://php.net/manual/en/imagick.shadowimage.php
2644
+	 * @param float $opacity
2645
+	 * @param float $sigma
2646
+	 * @param int $x
2647
+	 * @param int $y
2648
+	 * @return bool <b>TRUE</b> on success.
2649
+	 * @throws ImagickException on error.
2650
+	 */
2651
+	public function shadowImage($opacity, $sigma, $x, $y) {}
2652
+
2653
+	/**
2654
+	 * @param string $key
2655
+	 * @param string $value
2656
+	 * @return bool
2657
+	 * @throws ImagickException on error.
2658
+	 */
2659
+	#[Deprecated]
2660
+	public function setImageAttribute($key, $value) {}
2661
+
2662
+	/**
2663
+	 * (PECL imagick 2.0.0)<br/>
2664
+	 * Sets the image background color
2665
+	 * @link https://php.net/manual/en/imagick.setimagebackgroundcolor.php
2666
+	 * @param mixed $background
2667
+	 * @return bool <b>TRUE</b> on success.
2668
+	 * @throws ImagickException on error.
2669
+	 */
2670
+	public function setImageBackgroundColor($background) {}
2671
+
2672
+	/**
2673
+	 * (PECL imagick 2.0.0)<br/>
2674
+	 * Sets the image composite operator
2675
+	 * @link https://php.net/manual/en/imagick.setimagecompose.php
2676
+	 * @param int $compose
2677
+	 * @return bool <b>TRUE</b> on success.
2678
+	 * @throws ImagickException on error.
2679
+	 */
2680
+	public function setImageCompose($compose) {}
2681
+
2682
+	/**
2683
+	 * (PECL imagick 2.0.0)<br/>
2684
+	 * Sets the image compression
2685
+	 * @link https://php.net/manual/en/imagick.setimagecompression.php
2686
+	 * @param int $compression <p>
2687
+	 * One of the <b>COMPRESSION</b> constants
2688
+	 * </p>
2689
+	 * @return bool <b>TRUE</b> on success.
2690
+	 * @throws ImagickException on error.
2691
+	 */
2692
+	public function setImageCompression($compression) {}
2693
+
2694
+	/**
2695
+	 * (PECL imagick 2.0.0)<br/>
2696
+	 * Sets the image delay
2697
+	 * @link https://php.net/manual/en/imagick.setimagedelay.php
2698
+	 * @param int $delay <p>
2699
+	 * The amount of time expressed in 'ticks' that the image should be
2700
+	 * displayed for. For animated GIFs there are 100 ticks per second, so a
2701
+	 * value of 20 would be 20/100 of a second aka 1/5th of a second.
2702
+	 * </p>
2703
+	 * @return bool <b>TRUE</b> on success.
2704
+	 * @throws ImagickException on error.
2705
+	 */
2706
+	public function setImageDelay($delay) {}
2707
+
2708
+	/**
2709
+	 * (PECL imagick 2.0.0)<br/>
2710
+	 * Sets the image depth
2711
+	 * @link https://php.net/manual/en/imagick.setimagedepth.php
2712
+	 * @param int $depth
2713
+	 * @return bool <b>TRUE</b> on success.
2714
+	 * @throws ImagickException on error.
2715
+	 */
2716
+	public function setImageDepth($depth) {}
2717
+
2718
+	/**
2719
+	 * (PECL imagick 2.0.0)<br/>
2720
+	 * Sets the image gamma
2721
+	 * @link https://php.net/manual/en/imagick.setimagegamma.php
2722
+	 * @param float $gamma
2723
+	 * @return bool <b>TRUE</b> on success.
2724
+	 * @throws ImagickException on error.
2725
+	 */
2726
+	public function setImageGamma($gamma) {}
2727
+
2728
+	/**
2729
+	 * (PECL imagick 2.0.0)<br/>
2730
+	 * Sets the image iterations
2731
+	 * @link https://php.net/manual/en/imagick.setimageiterations.php
2732
+	 * @param int $iterations <p>
2733
+	 * The number of iterations the image should loop over. Set to '0' to loop
2734
+	 * continuously.
2735
+	 * </p>
2736
+	 * @return bool <b>TRUE</b> on success.
2737
+	 * @throws ImagickException on error.
2738
+	 */
2739
+	public function setImageIterations($iterations) {}
2740
+
2741
+	/**
2742
+	 * (PECL imagick 2.0.0)<br/>
2743
+	 * Sets the image matte color
2744
+	 * @link https://php.net/manual/en/imagick.setimagemattecolor.php
2745
+	 * @param mixed $matte
2746
+	 * @return bool <b>TRUE</b> on success.
2747
+	 * @throws ImagickException on error.
2748
+	 */
2749
+	public function setImageMatteColor($matte) {}
2750
+
2751
+	/**
2752
+	 * (PECL imagick 2.0.0)<br/>
2753
+	 * Sets the page geometry of the image
2754
+	 * @link https://php.net/manual/en/imagick.setimagepage.php
2755
+	 * @param int $width
2756
+	 * @param int $height
2757
+	 * @param int $x
2758
+	 * @param int $y
2759
+	 * @return bool <b>TRUE</b> on success.
2760
+	 * @throws ImagickException on error.
2761
+	 */
2762
+	public function setImagePage($width, $height, $x, $y) {}
2763
+
2764
+	/**
2765
+	 * @param $filename
2766
+	 * @throws ImagickException on error.
2767
+	 */
2768
+	public function setImageProgressMonitor($filename) {}
2769
+
2770
+	/**
2771
+	 * (PECL imagick 2.0.0)<br/>
2772
+	 * Sets the image resolution
2773
+	 * @link https://php.net/manual/en/imagick.setimageresolution.php
2774
+	 * @param float $x_resolution
2775
+	 * @param float $y_resolution
2776
+	 * @return bool <b>TRUE</b> on success.
2777
+	 * @throws ImagickException on error.
2778
+	 */
2779
+	public function setImageResolution($x_resolution, $y_resolution) {}
2780
+
2781
+	/**
2782
+	 * (PECL imagick 2.0.0)<br/>
2783
+	 * Sets the image scene
2784
+	 * @link https://php.net/manual/en/imagick.setimagescene.php
2785
+	 * @param int $scene
2786
+	 * @return bool <b>TRUE</b> on success.
2787
+	 * @throws ImagickException on error.
2788
+	 */
2789
+	public function setImageScene($scene) {}
2790
+
2791
+	/**
2792
+	 * (PECL imagick 2.0.0)<br/>
2793
+	 * Sets the image ticks-per-second
2794
+	 * @link https://php.net/manual/en/imagick.setimagetickspersecond.php
2795
+	 * @param int $ticks_per_second <p>
2796
+	 * The duration for which an image should be displayed expressed in ticks
2797
+	 * per second.
2798
+	 * </p>
2799
+	 * @return bool <b>TRUE</b> on success.
2800
+	 * @throws ImagickException on error.
2801
+	 */
2802
+	public function setImageTicksPerSecond($ticks_per_second) {}
2803
+
2804
+	/**
2805
+	 * (PECL imagick 2.0.0)<br/>
2806
+	 * Sets the image type
2807
+	 * @link https://php.net/manual/en/imagick.setimagetype.php
2808
+	 * @param int $image_type
2809
+	 * @return bool <b>TRUE</b> on success.
2810
+	 * @throws ImagickException on error.
2811
+	 */
2812
+	public function setImageType($image_type) {}
2813
+
2814
+	/**
2815
+	 * (PECL imagick 2.0.0)<br/>
2816
+	 * Sets the image units of resolution
2817
+	 * @link https://php.net/manual/en/imagick.setimageunits.php
2818
+	 * @param int $units
2819
+	 * @return bool <b>TRUE</b> on success.
2820
+	 * @throws ImagickException on error.
2821
+	 */
2822
+	public function setImageUnits($units) {}
2823
+
2824
+	/**
2825
+	 * (PECL imagick 2.0.0)<br/>
2826
+	 * Sharpens an image
2827
+	 * @link https://php.net/manual/en/imagick.sharpenimage.php
2828
+	 * @param float $radius
2829
+	 * @param float $sigma
2830
+	 * @param int $channel [optional]
2831
+	 * @return bool <b>TRUE</b> on success.
2832
+	 * @throws ImagickException on error.
2833
+	 */
2834
+	public function sharpenImage($radius, $sigma, $channel = Imagick::CHANNEL_ALL) {}
2835
+
2836
+	/**
2837
+	 * (PECL imagick 2.0.0)<br/>
2838
+	 * Shaves pixels from the image edges
2839
+	 * @link https://php.net/manual/en/imagick.shaveimage.php
2840
+	 * @param int $columns
2841
+	 * @param int $rows
2842
+	 * @return bool <b>TRUE</b> on success.
2843
+	 * @throws ImagickException on error.
2844
+	 */
2845
+	public function shaveImage($columns, $rows) {}
2846
+
2847
+	/**
2848
+	 * (PECL imagick 2.0.0)<br/>
2849
+	 * Creating a parallelogram
2850
+	 * @link https://php.net/manual/en/imagick.shearimage.php
2851
+	 * @param mixed $background <p>
2852
+	 * The background color
2853
+	 * </p>
2854
+	 * @param float $x_shear <p>
2855
+	 * The number of degrees to shear on the x axis
2856
+	 * </p>
2857
+	 * @param float $y_shear <p>
2858
+	 * The number of degrees to shear on the y axis
2859
+	 * </p>
2860
+	 * @return bool <b>TRUE</b> on success.
2861
+	 * @throws ImagickException on error.
2862
+	 */
2863
+	public function shearImage($background, $x_shear, $y_shear) {}
2864
+
2865
+	/**
2866
+	 * (PECL imagick 2.0.0)<br/>
2867
+	 * Splices a solid color into the image
2868
+	 * @link https://php.net/manual/en/imagick.spliceimage.php
2869
+	 * @param int $width
2870
+	 * @param int $height
2871
+	 * @param int $x
2872
+	 * @param int $y
2873
+	 * @return bool <b>TRUE</b> on success.
2874
+	 * @throws ImagickException on error.
2875
+	 */
2876
+	public function spliceImage($width, $height, $x, $y) {}
2877
+
2878
+	/**
2879
+	 * (PECL imagick 2.0.0)<br/>
2880
+	 * Fetch basic attributes about the image
2881
+	 * @link https://php.net/manual/en/imagick.pingimage.php
2882
+	 * @param string $filename <p>
2883
+	 * The filename to read the information from.
2884
+	 * </p>
2885
+	 * @return bool <b>TRUE</b> on success.
2886
+	 * @throws ImagickException on error.
2887
+	 */
2888
+	public function pingImage($filename) {}
2889
+
2890
+	/**
2891
+	 * (PECL imagick 2.0.0)<br/>
2892
+	 * Reads image from open filehandle
2893
+	 * @link https://php.net/manual/en/imagick.readimagefile.php
2894
+	 * @param resource $filehandle
2895
+	 * @param string $fileName [optional]
2896
+	 * @return bool <b>TRUE</b> on success.
2897
+	 * @throws ImagickException on error.
2898
+	 */
2899
+	public function readImageFile($filehandle, $fileName = null) {}
2900
+
2901
+	/**
2902
+	 * (PECL imagick 2.0.0)<br/>
2903
+	 * Displays an image
2904
+	 * @link https://php.net/manual/en/imagick.displayimage.php
2905
+	 * @param string $servername <p>
2906
+	 * The X server name
2907
+	 * </p>
2908
+	 * @return bool <b>TRUE</b> on success.
2909
+	 * @throws ImagickException on error.
2910
+	 */
2911
+	public function displayImage($servername) {}
2912
+
2913
+	/**
2914
+	 * (PECL imagick 2.0.0)<br/>
2915
+	 * Displays an image or image sequence
2916
+	 * @link https://php.net/manual/en/imagick.displayimages.php
2917
+	 * @param string $servername <p>
2918
+	 * The X server name
2919
+	 * </p>
2920
+	 * @return bool <b>TRUE</b> on success.
2921
+	 * @throws ImagickException on error.
2922
+	 */
2923
+	public function displayImages($servername) {}
2924
+
2925
+	/**
2926
+	 * (PECL imagick 2.0.0)<br/>
2927
+	 * Randomly displaces each pixel in a block
2928
+	 * @link https://php.net/manual/en/imagick.spreadimage.php
2929
+	 * @param float $radius
2930
+	 * @return bool <b>TRUE</b> on success.
2931
+	 * @throws ImagickException on error.
2932
+	 */
2933
+	public function spreadImage($radius) {}
2934
+
2935
+	/**
2936
+	 * (PECL imagick 2.0.0)<br/>
2937
+	 * Swirls the pixels about the center of the image
2938
+	 * @link https://php.net/manual/en/imagick.swirlimage.php
2939
+	 * @param float $degrees
2940
+	 * @return bool <b>TRUE</b> on success.
2941
+	 * @throws ImagickException on error.
2942
+	 */
2943
+	public function swirlImage($degrees) {}
2944
+
2945
+	/**
2946
+	 * (PECL imagick 2.0.0)<br/>
2947
+	 * Strips an image of all profiles and comments
2948
+	 * @link https://php.net/manual/en/imagick.stripimage.php
2949
+	 * @return bool <b>TRUE</b> on success.
2950
+	 * @throws ImagickException on error.
2951
+	 */
2952
+	public function stripImage() {}
2953
+
2954
+	/**
2955
+	 * (PECL imagick 2.0.0)<br/>
2956
+	 * Returns formats supported by Imagick
2957
+	 * @link https://php.net/manual/en/imagick.queryformats.php
2958
+	 * @param string $pattern [optional]
2959
+	 * @return array an array containing the formats supported by Imagick.
2960
+	 */
2961
+	public static function queryFormats($pattern = "*") {}
2962
+
2963
+	/**
2964
+	 * (PECL imagick 2.0.0)<br/>
2965
+	 * Returns the configured fonts
2966
+	 * @link https://php.net/manual/en/imagick.queryfonts.php
2967
+	 * @param string $pattern [optional] <p>
2968
+	 * The query pattern
2969
+	 * </p>
2970
+	 * @return array an array containing the configured fonts.
2971
+	 */
2972
+	public static function queryFonts($pattern = "*") {}
2973
+
2974
+	/**
2975
+	 * (PECL imagick 2.0.0)<br/>
2976
+	 * Returns an array representing the font metrics
2977
+	 * @link https://php.net/manual/en/imagick.queryfontmetrics.php
2978
+	 * @param ImagickDraw $properties <p>
2979
+	 * ImagickDraw object containing font properties
2980
+	 * </p>
2981
+	 * @param string $text <p>
2982
+	 * The text
2983
+	 * </p>
2984
+	 * @param bool $multiline [optional] <p>
2985
+	 * Multiline parameter. If left empty it is autodetected
2986
+	 * </p>
2987
+	 * @return array a multi-dimensional array representing the font metrics.
2988
+	 * @throws ImagickException on error.
2989
+	 */
2990
+	public function queryFontMetrics(ImagickDraw $properties, $text, $multiline = null) {}
2991
+
2992
+	/**
2993
+	 * (PECL imagick 2.0.0)<br/>
2994
+	 * Hides a digital watermark within the image
2995
+	 * @link https://php.net/manual/en/imagick.steganoimage.php
2996
+	 * @param Imagick $watermark_wand
2997
+	 * @param int $offset
2998
+	 * @return Imagick <b>TRUE</b> on success.
2999
+	 * @throws ImagickException on error.
3000
+	 */
3001
+	public function steganoImage(Imagick $watermark_wand, $offset) {}
3002
+
3003
+	/**
3004
+	 * (PECL imagick 2.0.0)<br/>
3005
+	 * Adds random noise to the image
3006
+	 * @link https://php.net/manual/en/imagick.addnoiseimage.php
3007
+	 * @param int $noise_type <p>
3008
+	 * The type of the noise. Refer to this list of
3009
+	 * noise constants.
3010
+	 * </p>
3011
+	 * @param int $channel [optional] <p>
3012
+	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
3013
+	 * </p>
3014
+	 * @return bool <b>TRUE</b> on success.
3015
+	 * @throws ImagickException on error.
3016
+	 */
3017
+	public function addNoiseImage($noise_type, $channel = Imagick::CHANNEL_DEFAULT) {}
3018
+
3019
+	/**
3020
+	 * (PECL imagick 2.0.0)<br/>
3021
+	 * Simulates motion blur
3022
+	 * @link https://php.net/manual/en/imagick.motionblurimage.php
3023
+	 * @param float $radius <p>
3024
+	 * The radius of the Gaussian, in pixels, not counting the center pixel.
3025
+	 * </p>
3026
+	 * @param float $sigma <p>
3027
+	 * The standard deviation of the Gaussian, in pixels.
3028
+	 * </p>
3029
+	 * @param float $angle <p>
3030
+	 * Apply the effect along this angle.
3031
+	 * </p>
3032
+	 * @param int $channel [optional] <p>
3033
+	 * Provide any channel constant that is valid for your channel mode. To
3034
+	 * apply to more than one channel, combine channeltype constants using
3035
+	 * bitwise operators. Refer to this
3036
+	 * list of channel constants.
3037
+	 * The channel argument affects only if Imagick is compiled against ImageMagick version
3038
+	 * 6.4.4 or greater.
3039
+	 * </p>
3040
+	 * @return bool <b>TRUE</b> on success.
3041
+	 * @throws ImagickException on error.
3042
+	 */
3043
+	public function motionBlurImage($radius, $sigma, $angle, $channel = Imagick::CHANNEL_DEFAULT) {}
3044
+
3045
+	/**
3046
+	 * (PECL imagick 2.0.0)<br/>
3047
+	 * Forms a mosaic from images
3048
+	 * @link https://php.net/manual/en/imagick.mosaicimages.php
3049
+	 * @return Imagick <b>TRUE</b> on success.
3050
+	 * @throws ImagickException on error.
3051
+	 */
3052
+	#[Deprecated]
3053
+	public function mosaicImages() {}
3054
+
3055
+	/**
3056
+	 * (PECL imagick 2.0.0)<br/>
3057
+	 * Method morphs a set of images
3058
+	 * @link https://php.net/manual/en/imagick.morphimages.php
3059
+	 * @param int $number_frames <p>
3060
+	 * The number of in-between images to generate.
3061
+	 * </p>
3062
+	 * @return Imagick This method returns a new Imagick object on success.
3063
+	 * Throw an <b>ImagickException</b> on error.
3064
+	 * @throws ImagickException on error
3065
+	 * @throws ImagickException on error.
3066
+	 */
3067
+	public function morphImages($number_frames) {}
3068
+
3069
+	/**
3070
+	 * (PECL imagick 2.0.0)<br/>
3071
+	 * Scales an image proportionally to half its size
3072
+	 * @link https://php.net/manual/en/imagick.minifyimage.php
3073
+	 * @return bool <b>TRUE</b> on success.
3074
+	 * @throws ImagickException on error.
3075
+	 */
3076
+	public function minifyImage() {}
3077
+
3078
+	/**
3079
+	 * (PECL imagick 2.0.0)<br/>
3080
+	 * Transforms an image
3081
+	 * @link https://php.net/manual/en/imagick.affinetransformimage.php
3082
+	 * @param ImagickDraw $matrix <p>
3083
+	 * The affine matrix
3084
+	 * </p>
3085
+	 * @return bool <b>TRUE</b> on success.
3086
+	 * @throws ImagickException on error.
3087
+	 */
3088
+	public function affineTransformImage(ImagickDraw $matrix) {}
3089
+
3090
+	/**
3091
+	 * (PECL imagick 2.0.0)<br/>
3092
+	 * Average a set of images
3093
+	 * @link https://php.net/manual/en/imagick.averageimages.php
3094
+	 * @return Imagick a new Imagick object on success.
3095
+	 * @throws ImagickException on error.
3096
+	 */
3097
+	#[Deprecated]
3098
+	public function averageImages() {}
3099
+
3100
+	/**
3101
+	 * (PECL imagick 2.0.0)<br/>
3102
+	 * Surrounds the image with a border
3103
+	 * @link https://php.net/manual/en/imagick.borderimage.php
3104
+	 * @param mixed $bordercolor <p>
3105
+	 * ImagickPixel object or a string containing the border color
3106
+	 * </p>
3107
+	 * @param int $width <p>
3108
+	 * Border width
3109
+	 * </p>
3110
+	 * @param int $height <p>
3111
+	 * Border height
3112
+	 * </p>
3113
+	 * @return bool <b>TRUE</b> on success.
3114
+	 * @throws ImagickException on error.
3115
+	 */
3116
+	public function borderImage($bordercolor, $width, $height) {}
3117
+
3118
+	/**
3119
+	 * (PECL imagick 2.0.0)<br/>
3120
+	 * Removes a region of an image and trims
3121
+	 * @link https://php.net/manual/en/imagick.chopimage.php
3122
+	 * @param int $width <p>
3123
+	 * Width of the chopped area
3124
+	 * </p>
3125
+	 * @param int $height <p>
3126
+	 * Height of the chopped area
3127
+	 * </p>
3128
+	 * @param int $x <p>
3129
+	 * X origo of the chopped area
3130
+	 * </p>
3131
+	 * @param int $y <p>
3132
+	 * Y origo of the chopped area
3133
+	 * </p>
3134
+	 * @return bool <b>TRUE</b> on success.
3135
+	 * @throws ImagickException on error.
3136
+	 */
3137
+	public function chopImage($width, $height, $x, $y) {}
3138
+
3139
+	/**
3140
+	 * (PECL imagick 2.0.0)<br/>
3141
+	 * Clips along the first path from the 8BIM profile
3142
+	 * @link https://php.net/manual/en/imagick.clipimage.php
3143
+	 * @return bool <b>TRUE</b> on success.
3144
+	 * @throws ImagickException on error.
3145
+	 */
3146
+	public function clipImage() {}
3147
+
3148
+	/**
3149
+	 * (PECL imagick 2.0.0)<br/>
3150
+	 * Clips along the named paths from the 8BIM profile
3151
+	 * @link https://php.net/manual/en/imagick.clippathimage.php
3152
+	 * @param string $pathname <p>
3153
+	 * The name of the path
3154
+	 * </p>
3155
+	 * @param bool $inside <p>
3156
+	 * If <b>TRUE</b> later operations take effect inside clipping path.
3157
+	 * Otherwise later operations take effect outside clipping path.
3158
+	 * </p>
3159
+	 * @return bool <b>TRUE</b> on success.
3160
+	 * @throws ImagickException on error.
3161
+	 */
3162
+	public function clipPathImage($pathname, $inside) {}
3163
+
3164
+	/**
3165
+	 * Alias to {@see Imagick::clipPathImage}
3166
+	 * @param string $pathname
3167
+	 * @param string $inside
3168
+	 * @throws ImagickException on error.
3169
+	 */
3170
+	public function clipImagePath($pathname, $inside) {}
3171
+
3172
+	/**
3173
+	 * (PECL imagick 2.0.0)<br/>
3174
+	 * Composites a set of images
3175
+	 * @link https://php.net/manual/en/imagick.coalesceimages.php
3176
+	 * @return Imagick a new Imagick object on success.
3177
+	 * @throws ImagickException on error.
3178
+	 */
3179
+	public function coalesceImages() {}
3180
+
3181
+	/**
3182
+	 * (PECL imagick 2.0.0)<br/>
3183
+	 * Changes the color value of any pixel that matches target
3184
+	 * @link https://php.net/manual/en/imagick.colorfloodfillimage.php
3185
+	 * @param mixed $fill <p>
3186
+	 * ImagickPixel object containing the fill color
3187
+	 * </p>
3188
+	 * @param float $fuzz <p>
3189
+	 * The amount of fuzz. For example, set fuzz to 10 and the color red at
3190
+	 * intensities of 100 and 102 respectively are now interpreted as the
3191
+	 * same color for the purposes of the floodfill.
3192
+	 * </p>
3193
+	 * @param mixed $bordercolor <p>
3194
+	 * ImagickPixel object containing the border color
3195
+	 * </p>
3196
+	 * @param int $x <p>
3197
+	 * X start position of the floodfill
3198
+	 * </p>
3199
+	 * @param int $y <p>
3200
+	 * Y start position of the floodfill
3201
+	 * </p>
3202
+	 * @return bool <b>TRUE</b> on success.
3203
+	 * @throws ImagickException on error.
3204
+	 */
3205
+	#[Deprecated]
3206
+	public function colorFloodfillImage($fill, $fuzz, $bordercolor, $x, $y) {}
3207
+
3208
+	/**
3209
+	 * Blends the fill color with each pixel in the image. The 'opacity' color is a per channel strength factor for how strongly the color should be applied.<br>
3210
+	 * If legacy is true, the behaviour of this function is incorrect, but consistent with how it behaved before Imagick version 3.4.0
3211
+	 * @link https://php.net/manual/en/imagick.colorizeimage.php
3212
+	 * @param mixed $colorize <p>
3213
+	 * ImagickPixel object or a string containing the colorize color
3214
+	 * </p>
3215
+	 * @param mixed $opacity <p>
3216
+	 * ImagickPixel object or an float containing the opacity value.
3217
+	 * 1.0 is fully opaque and 0.0 is fully transparent.
3218
+	 * </p>
3219
+	 * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
3220
+	 * @return bool <b>TRUE</b> on success.
3221
+	 * @throws ImagickException Throws ImagickException on error
3222
+	 * @since 2.0.0
3223
+	 */
3224
+	public function colorizeImage($colorize, $opacity, $legacy = false) {}
3225
+
3226
+	/**
3227
+	 * (PECL imagick 2.0.0)<br/>
3228
+	 * Returns the difference in one or more images
3229
+	 * @link https://php.net/manual/en/imagick.compareimagechannels.php
3230
+	 * @param Imagick $image <p>
3231
+	 * Imagick object containing the image to compare.
3232
+	 * </p>
3233
+	 * @param int $channelType <p>
3234
+	 * Provide any channel constant that is valid for your channel mode. To
3235
+	 * apply to more than one channel, combine channeltype constants using
3236
+	 * bitwise operators. Refer to this
3237
+	 * list of channel constants.
3238
+	 * </p>
3239
+	 * @param int $metricType <p>
3240
+	 * One of the metric type constants.
3241
+	 * </p>
3242
+	 * @return array Array consisting of new_wand and
3243
+	 * distortion.
3244
+	 * @throws ImagickException on error.
3245
+	 */
3246
+	public function compareImageChannels(Imagick $image, $channelType, $metricType) {}
3247
+
3248
+	/**
3249
+	 * (PECL imagick 2.0.0)<br/>
3250
+	 * Compares an image to a reconstructed image
3251
+	 * @link https://php.net/manual/en/imagick.compareimages.php
3252
+	 * @param Imagick $compare <p>
3253
+	 * An image to compare to.
3254
+	 * </p>
3255
+	 * @param int $metric <p>
3256
+	 * Provide a valid metric type constant. Refer to this
3257
+	 * list of metric constants.
3258
+	 * </p>
3259
+	 * @return array Array consisting of an Imagick object of the
3260
+	 * reconstructed image and a float representing the difference.
3261
+	 * @throws ImagickException Throws ImagickException on error.
3262
+	 */
3263
+	public function compareImages(Imagick $compare, $metric) {}
3264
+
3265
+	/**
3266
+	 * (PECL imagick 2.0.0)<br/>
3267
+	 * Change the contrast of the image
3268
+	 * @link https://php.net/manual/en/imagick.contrastimage.php
3269
+	 * @param bool $sharpen <p>
3270
+	 * The sharpen value
3271
+	 * </p>
3272
+	 * @return bool <b>TRUE</b> on success.
3273
+	 * @throws ImagickException on error.
3274
+	 */
3275
+	public function contrastImage($sharpen) {}
3276
+
3277
+	/**
3278
+	 * (PECL imagick 2.0.0)<br/>
3279
+	 * Combines one or more images into a single image
3280
+	 * @link https://php.net/manual/en/imagick.combineimages.php
3281
+	 * @param int $channelType <p>
3282
+	 * Provide any channel constant that is valid for your channel mode. To
3283
+	 * apply to more than one channel, combine channeltype constants using
3284
+	 * bitwise operators. Refer to this
3285
+	 * list of channel constants.
3286
+	 * </p>
3287
+	 * @return Imagick <b>TRUE</b> on success.
3288
+	 * @throws ImagickException on error.
3289
+	 */
3290
+	public function combineImages($channelType) {}
3291
+
3292
+	/**
3293
+	 * (PECL imagick 2.0.0)<br/>
3294
+	 * Applies a custom convolution kernel to the image
3295
+	 * @link https://php.net/manual/en/imagick.convolveimage.php
3296
+	 * @param array $kernel <p>
3297
+	 * The convolution kernel
3298
+	 * </p>
3299
+	 * @param int $channel [optional] <p>
3300
+	 * Provide any channel constant that is valid for your channel mode. To
3301
+	 * apply to more than one channel, combine channeltype constants using
3302
+	 * bitwise operators. Refer to this
3303
+	 * list of channel constants.
3304
+	 * </p>
3305
+	 * @return bool <b>TRUE</b> on success.
3306
+	 * @throws ImagickException on error.
3307
+	 */
3308
+	public function convolveImage(array $kernel, $channel = Imagick::CHANNEL_ALL) {}
3309
+
3310
+	/**
3311
+	 * (PECL imagick 2.0.0)<br/>
3312
+	 * Displaces an image's colormap
3313
+	 * @link https://php.net/manual/en/imagick.cyclecolormapimage.php
3314
+	 * @param int $displace <p>
3315
+	 * The amount to displace the colormap.
3316
+	 * </p>
3317
+	 * @return bool <b>TRUE</b> on success.
3318
+	 * @throws ImagickException on error.
3319
+	 */
3320
+	public function cycleColormapImage($displace) {}
3321
+
3322
+	/**
3323
+	 * (PECL imagick 2.0.0)<br/>
3324
+	 * Returns certain pixel differences between images
3325
+	 * @link https://php.net/manual/en/imagick.deconstructimages.php
3326
+	 * @return Imagick a new Imagick object on success.
3327
+	 * @throws ImagickException on error.
3328
+	 */
3329
+	public function deconstructImages() {}
3330
+
3331
+	/**
3332
+	 * (PECL imagick 2.0.0)<br/>
3333
+	 * Reduces the speckle noise in an image
3334
+	 * @link https://php.net/manual/en/imagick.despeckleimage.php
3335
+	 * @return bool <b>TRUE</b> on success.
3336
+	 * @throws ImagickException on error.
3337
+	 */
3338
+	public function despeckleImage() {}
3339
+
3340
+	/**
3341
+	 * (PECL imagick 2.0.0)<br/>
3342
+	 * Enhance edges within the image
3343
+	 * @link https://php.net/manual/en/imagick.edgeimage.php
3344
+	 * @param float $radius <p>
3345
+	 * The radius of the operation.
3346
+	 * </p>
3347
+	 * @return bool <b>TRUE</b> on success.
3348
+	 * @throws ImagickException on error.
3349
+	 */
3350
+	public function edgeImage($radius) {}
3351
+
3352
+	/**
3353
+	 * (PECL imagick 2.0.0)<br/>
3354
+	 * Returns a grayscale image with a three-dimensional effect
3355
+	 * @link https://php.net/manual/en/imagick.embossimage.php
3356
+	 * @param float $radius <p>
3357
+	 * The radius of the effect
3358
+	 * </p>
3359
+	 * @param float $sigma <p>
3360
+	 * The sigma of the effect
3361
+	 * </p>
3362
+	 * @return bool <b>TRUE</b> on success.
3363
+	 * @throws ImagickException on error.
3364
+	 */
3365
+	public function embossImage($radius, $sigma) {}
3366
+
3367
+	/**
3368
+	 * (PECL imagick 2.0.0)<br/>
3369
+	 * Improves the quality of a noisy image
3370
+	 * @link https://php.net/manual/en/imagick.enhanceimage.php
3371
+	 * @return bool <b>TRUE</b> on success.
3372
+	 * @throws ImagickException on error.
3373
+	 */
3374
+	public function enhanceImage() {}
3375
+
3376
+	/**
3377
+	 * (PECL imagick 2.0.0)<br/>
3378
+	 * Equalizes the image histogram
3379
+	 * @link https://php.net/manual/en/imagick.equalizeimage.php
3380
+	 * @return bool <b>TRUE</b> on success.
3381
+	 * @throws ImagickException on error.
3382
+	 */
3383
+	public function equalizeImage() {}
3384
+
3385
+	/**
3386
+	 * (PECL imagick 2.0.0)<br/>
3387
+	 * Applies an expression to an image
3388
+	 * @link https://php.net/manual/en/imagick.evaluateimage.php
3389
+	 * @param int $op <p>
3390
+	 * The evaluation operator
3391
+	 * </p>
3392
+	 * @param float $constant <p>
3393
+	 * The value of the operator
3394
+	 * </p>
3395
+	 * @param int $channel [optional] <p>
3396
+	 * Provide any channel constant that is valid for your channel mode. To
3397
+	 * apply to more than one channel, combine channeltype constants using
3398
+	 * bitwise operators. Refer to this
3399
+	 * list of channel constants.
3400
+	 * </p>
3401
+	 * @return bool <b>TRUE</b> on success.
3402
+	 * @throws ImagickException on error.
3403
+	 */
3404
+	public function evaluateImage($op, $constant, $channel = Imagick::CHANNEL_ALL) {}
3405
+
3406
+	/**
3407
+	 * Merges a sequence of images. This is useful for combining Photoshop layers into a single image.
3408
+	 * This is replaced by:
3409
+	 * <pre>
3410
+	 * $im = $im->mergeImageLayers(\Imagick::LAYERMETHOD_FLATTEN)
3411
+	 * </pre>
3412
+	 * @link https://php.net/manual/en/imagick.flattenimages.php
3413
+	 * @return Imagick Returns an Imagick object containing the merged image.
3414
+	 * @throws ImagickException Throws ImagickException on error.
3415
+	 * @since 2.0.0
3416
+	 */
3417
+	#[Deprecated]
3418
+	public function flattenImages() {}
3419
+
3420
+	/**
3421
+	 * (PECL imagick 2.0.0)<br/>
3422
+	 * Creates a vertical mirror image
3423
+	 * @link https://php.net/manual/en/imagick.flipimage.php
3424
+	 * @return bool <b>TRUE</b> on success.
3425
+	 * @throws ImagickException on error.
3426
+	 */
3427
+	public function flipImage() {}
3428
+
3429
+	/**
3430
+	 * (PECL imagick 2.0.0)<br/>
3431
+	 * Creates a horizontal mirror image
3432
+	 * @link https://php.net/manual/en/imagick.flopimage.php
3433
+	 * @return bool <b>TRUE</b> on success.
3434
+	 * @throws ImagickException on error.
3435
+	 */
3436
+	public function flopImage() {}
3437
+
3438
+	/**
3439
+	 * (PECL imagick 2.0.0)<br/>
3440
+	 * Adds a simulated three-dimensional border
3441
+	 * @link https://php.net/manual/en/imagick.frameimage.php
3442
+	 * @param mixed $matte_color <p>
3443
+	 * ImagickPixel object or a string representing the matte color
3444
+	 * </p>
3445
+	 * @param int $width <p>
3446
+	 * The width of the border
3447
+	 * </p>
3448
+	 * @param int $height <p>
3449
+	 * The height of the border
3450
+	 * </p>
3451
+	 * @param int $inner_bevel <p>
3452
+	 * The inner bevel width
3453
+	 * </p>
3454
+	 * @param int $outer_bevel <p>
3455
+	 * The outer bevel width
3456
+	 * </p>
3457
+	 * @return bool <b>TRUE</b> on success.
3458
+	 * @throws ImagickException on error.
3459
+	 */
3460
+	public function frameImage($matte_color, $width, $height, $inner_bevel, $outer_bevel) {}
3461
+
3462
+	/**
3463
+	 * (PECL imagick 2.0.0)<br/>
3464
+	 * Evaluate expression for each pixel in the image
3465
+	 * @link https://php.net/manual/en/imagick.fximage.php
3466
+	 * @param string $expression <p>
3467
+	 * The expression.
3468
+	 * </p>
3469
+	 * @param int $channel [optional] <p>
3470
+	 * Provide any channel constant that is valid for your channel mode. To
3471
+	 * apply to more than one channel, combine channeltype constants using
3472
+	 * bitwise operators. Refer to this
3473
+	 * list of channel constants.
3474
+	 * </p>
3475
+	 * @return Imagick <b>TRUE</b> on success.
3476
+	 * @throws ImagickException on error.
3477
+	 */
3478
+	public function fxImage($expression, $channel = Imagick::CHANNEL_ALL) {}
3479
+
3480
+	/**
3481
+	 * (PECL imagick 2.0.0)<br/>
3482
+	 * Gamma-corrects an image
3483
+	 * @link https://php.net/manual/en/imagick.gammaimage.php
3484
+	 * @param float $gamma <p>
3485
+	 * The amount of gamma-correction.
3486
+	 * </p>
3487
+	 * @param int $channel [optional] <p>
3488
+	 * Provide any channel constant that is valid for your channel mode. To
3489
+	 * apply to more than one channel, combine channeltype constants using
3490
+	 * bitwise operators. Refer to this
3491
+	 * list of channel constants.
3492
+	 * </p>
3493
+	 * @return bool <b>TRUE</b> on success.
3494
+	 * @throws ImagickException on error.
3495
+	 */
3496
+	public function gammaImage($gamma, $channel = Imagick::CHANNEL_ALL) {}
3497
+
3498
+	/**
3499
+	 * (PECL imagick 2.0.0)<br/>
3500
+	 * Blurs an image
3501
+	 * @link https://php.net/manual/en/imagick.gaussianblurimage.php
3502
+	 * @param float $radius <p>
3503
+	 * The radius of the Gaussian, in pixels, not counting the center pixel.
3504
+	 * </p>
3505
+	 * @param float $sigma <p>
3506
+	 * The standard deviation of the Gaussian, in pixels.
3507
+	 * </p>
3508
+	 * @param int $channel [optional] <p>
3509
+	 * Provide any channel constant that is valid for your channel mode. To
3510
+	 * apply to more than one channel, combine channeltype constants using
3511
+	 * bitwise operators. Refer to this
3512
+	 * list of channel constants.
3513
+	 * </p>
3514
+	 * @return bool <b>TRUE</b> on success.
3515
+	 * @throws ImagickException on error.
3516
+	 */
3517
+	public function gaussianBlurImage($radius, $sigma, $channel = Imagick::CHANNEL_ALL) {}
3518
+
3519
+	/**
3520
+	 * @link https://www.php.net/manual/en/imagick.getimageattribute.php
3521
+	 * @param string $key <p>The key of the attribute to get.</p>
3522
+	 * @return string
3523
+	 */
3524
+	#[Deprecated]
3525
+	#[Pure]
3526
+	public function getImageAttribute($key) {}
3527
+
3528
+	/**
3529
+	 * (PECL imagick 2.0.0)<br/>
3530
+	 * Returns the image background color
3531
+	 * @link https://php.net/manual/en/imagick.getimagebackgroundcolor.php
3532
+	 * @return ImagickPixel an ImagickPixel set to the background color of the image.
3533
+	 * @throws ImagickException on error.
3534
+	 */
3535
+	#[Pure]
3536
+	public function getImageBackgroundColor() {}
3537
+
3538
+	/**
3539
+	 * (PECL imagick 2.0.0)<br/>
3540
+	 * Returns the chromaticy blue primary point
3541
+	 * @link https://php.net/manual/en/imagick.getimageblueprimary.php
3542
+	 * @return float[] Array consisting of "x" and "y" coordinates of point.
3543
+	 * @throws ImagickException on error.
3544
+	 */
3545
+	#[ArrayShape(["x" => "float", "y" => "float"])]
3546
+	#[Pure]
3547
+	public function getImageBluePrimary() {}
3548
+
3549
+	/**
3550
+	 * (PECL imagick 2.0.0)<br/>
3551
+	 * Returns the image border color
3552
+	 * @link https://php.net/manual/en/imagick.getimagebordercolor.php
3553
+	 * @return ImagickPixel <b>TRUE</b> on success.
3554
+	 * @throws ImagickException on error.
3555
+	 */
3556
+	#[Pure]
3557
+	public function getImageBorderColor() {}
3558
+
3559
+	/**
3560
+	 * (PECL imagick 2.0.0)<br/>
3561
+	 * Gets the depth for a particular image channel
3562
+	 * @link https://php.net/manual/en/imagick.getimagechanneldepth.php
3563
+	 * @param int $channel <p>
3564
+	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
3565
+	 * </p>
3566
+	 * @return int <b>TRUE</b> on success.
3567
+	 * @throws ImagickException on error.
3568
+	 */
3569
+	#[Pure]
3570
+	public function getImageChannelDepth($channel) {}
3571
+
3572
+	/**
3573
+	 * (PECL imagick 2.0.0)<br/>
3574
+	 * Compares image channels of an image to a reconstructed image
3575
+	 * @link https://php.net/manual/en/imagick.getimagechanneldistortion.php
3576
+	 * @param Imagick $reference <p>
3577
+	 * Imagick object to compare to.
3578
+	 * </p>
3579
+	 * @param int $channel <p>
3580
+	 * Provide any channel constant that is valid for your channel mode. To
3581
+	 * apply to more than one channel, combine channeltype constants using
3582
+	 * bitwise operators. Refer to this
3583
+	 * list of channel constants.
3584
+	 * </p>
3585
+	 * @param int $metric <p>
3586
+	 * One of the metric type constants.
3587
+	 * </p>
3588
+	 * @return float <b>TRUE</b> on success.
3589
+	 * @throws ImagickException on error.
3590
+	 */
3591
+	#[Pure]
3592
+	public function getImageChannelDistortion(Imagick $reference, $channel, $metric) {}
3593
+
3594
+	/**
3595
+	 * (PECL imagick 2.0.0)<br/>
3596
+	 * Gets the extrema for one or more image channels
3597
+	 * @link https://php.net/manual/en/imagick.getimagechannelextrema.php
3598
+	 * @param int $channel <p>
3599
+	 * Provide any channel constant that is valid for your channel mode. To
3600
+	 * apply to more than one channel, combine channeltype constants using
3601
+	 * bitwise operators. Refer to this
3602
+	 * list of channel constants.
3603
+	 * </p>
3604
+	 * @return int[]
3605
+	 * @throws ImagickException on error.
3606
+	 */
3607
+	#[ArrayShape(["minima" => "int", "maxima" => "int"])]
3608
+	#[Deprecated]
3609
+	#[Pure]
3610
+	public function getImageChannelExtrema($channel) {}
3611
+
3612
+	/**
3613
+	 * (PECL imagick 2.0.0)<br/>
3614
+	 * Gets the mean and standard deviation
3615
+	 * @link https://php.net/manual/en/imagick.getimagechannelmean.php
3616
+	 * @param int $channel <p>
3617
+	 * Provide any channel constant that is valid for your channel mode. To
3618
+	 * apply to more than one channel, combine channeltype constants using
3619
+	 * bitwise operators. Refer to this
3620
+	 * list of channel constants.
3621
+	 * </p>
3622
+	 * @return float[]
3623
+	 * @throws ImagickException on error.
3624
+	 */
3625
+	#[ArrayShape(["mean" => "float", "standardDeviation" => "float"])]
3626
+	#[Pure]
3627
+	public function getImageChannelMean($channel) {}
3628
+
3629
+	/**
3630
+	 * (PECL imagick 2.0.0)<br/>
3631
+	 * Returns statistics for each channel in the image
3632
+	 * @link https://php.net/manual/en/imagick.getimagechannelstatistics.php
3633
+	 * @return array
3634
+	 * @throws ImagickException on error.
3635
+	 */
3636
+	#[Pure]
3637
+	public function getImageChannelStatistics() {}
3638
+
3639
+	/**
3640
+	 * (PECL imagick 2.0.0)<br/>
3641
+	 * Returns the color of the specified colormap index
3642
+	 * @link https://php.net/manual/en/imagick.getimagecolormapcolor.php
3643
+	 * @param int $index <p>
3644
+	 * The offset into the image colormap.
3645
+	 * </p>
3646
+	 * @return ImagickPixel <b>TRUE</b> on success.
3647
+	 * @throws ImagickException on error.
3648
+	 */
3649
+	#[Pure]
3650
+	public function getImageColormapColor($index) {}
3651
+
3652
+	/**
3653
+	 * (PECL imagick 2.0.0)<br/>
3654
+	 * Gets the image colorspace
3655
+	 * @link https://php.net/manual/en/imagick.getimagecolorspace.php
3656
+	 * @return int <b>TRUE</b> on success.
3657
+	 * @throws ImagickException on error.
3658
+	 */
3659
+	#[Pure]
3660
+	public function getImageColorspace() {}
3661
+
3662
+	/**
3663
+	 * (PECL imagick 2.0.0)<br/>
3664
+	 * Returns the composite operator associated with the image
3665
+	 * @link https://php.net/manual/en/imagick.getimagecompose.php
3666
+	 * @return int <b>TRUE</b> on success.
3667
+	 * @throws ImagickException on error.
3668
+	 */
3669
+	#[Pure]
3670
+	public function getImageCompose() {}
3671
+
3672
+	/**
3673
+	 * (PECL imagick 2.0.0)<br/>
3674
+	 * Gets the image delay
3675
+	 * @link https://php.net/manual/en/imagick.getimagedelay.php
3676
+	 * @return int the image delay.
3677
+	 * @throws ImagickException on error.
3678
+	 */
3679
+	#[Pure]
3680
+	public function getImageDelay() {}
3681
+
3682
+	/**
3683
+	 * (PECL imagick 0.9.1-0.9.9)<br/>
3684
+	 * Gets the image depth
3685
+	 * @link https://php.net/manual/en/imagick.getimagedepth.php
3686
+	 * @return int The image depth.
3687
+	 * @throws ImagickException on error.
3688
+	 */
3689
+	#[Pure]
3690
+	public function getImageDepth() {}
3691
+
3692
+	/**
3693
+	 * (PECL imagick 2.0.0)<br/>
3694
+	 * Compares an image to a reconstructed image
3695
+	 * @link https://php.net/manual/en/imagick.getimagedistortion.php
3696
+	 * @param Imagick $reference <p>
3697
+	 * Imagick object to compare to.
3698
+	 * </p>
3699
+	 * @param int $metric <p>
3700
+	 * One of the metric type constants.
3701
+	 * </p>
3702
+	 * @return float the distortion metric used on the image (or the best guess
3703
+	 * thereof).
3704
+	 * @throws ImagickException on error.
3705
+	 */
3706
+	#[Pure]
3707
+	public function getImageDistortion(Imagick $reference, $metric) {}
3708
+
3709
+	/**
3710
+	 * (PECL imagick 2.0.0)<br/>
3711
+	 * Gets the extrema for the image
3712
+	 * @link https://php.net/manual/en/imagick.getimageextrema.php
3713
+	 * @return int[] an associative array with the keys "min" and "max".
3714
+	 * @throws ImagickException on error.
3715
+	 */
3716
+	#[ArrayShape(["min" => "int", "max" => "int"])]
3717
+	#[Deprecated]
3718
+	#[Pure]
3719
+	public function getImageExtrema() {}
3720
+
3721
+	/**
3722
+	 * (PECL imagick 2.0.0)<br/>
3723
+	 * Gets the image disposal method
3724
+	 * @link https://php.net/manual/en/imagick.getimagedispose.php
3725
+	 * @return int the dispose method on success.
3726
+	 * @throws ImagickException on error.
3727
+	 */
3728
+	#[Pure]
3729
+	public function getImageDispose() {}
3730
+
3731
+	/**
3732
+	 * (PECL imagick 2.0.0)<br/>
3733
+	 * Gets the image gamma
3734
+	 * @link https://php.net/manual/en/imagick.getimagegamma.php
3735
+	 * @return float the image gamma on success.
3736
+	 * @throws ImagickException on error.
3737
+	 */
3738
+	#[Pure]
3739
+	public function getImageGamma() {}
3740
+
3741
+	/**
3742
+	 * (PECL imagick 2.0.0)<br/>
3743
+	 * Returns the chromaticy green primary point
3744
+	 * @link https://php.net/manual/en/imagick.getimagegreenprimary.php
3745
+	 * @return float[] an array with the keys "x" and "y" on success, throws an ImagickException on failure.
3746
+	 * @throws ImagickException on failure
3747
+	 * @throws ImagickException on error.
3748
+	 */
3749
+	#[ArrayShape(["x" => "float", "y" => "float"])]
3750
+	#[Pure]
3751
+	public function getImageGreenPrimary() {}
3752
+
3753
+	/**
3754
+	 * (PECL imagick 2.0.0)<br/>
3755
+	 * Returns the image height
3756
+	 * @link https://php.net/manual/en/imagick.getimageheight.php
3757
+	 * @return int the image height in pixels.
3758
+	 * @throws ImagickException on error.
3759
+	 */
3760
+	#[Pure]
3761
+	public function getImageHeight() {}
3762
+
3763
+	/**
3764
+	 * (PECL imagick 2.0.0)<br/>
3765
+	 * Gets the image histogram
3766
+	 * @link https://php.net/manual/en/imagick.getimagehistogram.php
3767
+	 * @return array the image histogram as an array of ImagickPixel objects.
3768
+	 * @throws ImagickException on error.
3769
+	 */
3770
+	#[Pure]
3771
+	public function getImageHistogram() {}
3772
+
3773
+	/**
3774
+	 * (PECL imagick 2.0.0)<br/>
3775
+	 * Gets the image interlace scheme
3776
+	 * @link https://php.net/manual/en/imagick.getimageinterlacescheme.php
3777
+	 * @return int the interlace scheme as an integer on success.
3778
+	 * Trhow an <b>ImagickException</b> on error.
3779
+	 * @throws ImagickException on error
3780
+	 */
3781
+	#[Deprecated]
3782
+	#[Pure]
3783
+	public function getImageInterlaceScheme() {}
3784
+
3785
+	/**
3786
+	 * (PECL imagick 2.0.0)<br/>
3787
+	 * Gets the image iterations
3788
+	 * @link https://php.net/manual/en/imagick.getimageiterations.php
3789
+	 * @return int the image iterations as an integer.
3790
+	 * @throws ImagickException on error.
3791
+	 */
3792
+	#[Pure]
3793
+	public function getImageIterations() {}
3794
+
3795
+	/**
3796
+	 * (PECL imagick 2.0.0)<br/>
3797
+	 * Returns the image matte color
3798
+	 * @link https://php.net/manual/en/imagick.getimagemattecolor.php
3799
+	 * @return ImagickPixel ImagickPixel object on success.
3800
+	 * @throws ImagickException on error.
3801
+	 */
3802
+	#[Pure]
3803
+	public function getImageMatteColor() {}
3804
+
3805
+	/**
3806
+	 * (PECL imagick 2.0.0)<br/>
3807
+	 * Returns the page geometry
3808
+	 * @link https://php.net/manual/en/imagick.getimagepage.php
3809
+	 * @return int[] the page geometry associated with the image in an array with the
3810
+	 * keys "width", "height", "x", and "y".
3811
+	 * @throws ImagickException on error.
3812
+	 */
3813
+	#[ArrayShape(["width" => "int", "height" => "int", "x" => "int", "y" => "int"])]
3814
+	#[Pure]
3815
+	public function getImagePage() {}
3816
+
3817
+	/**
3818
+	 * (PECL imagick 2.0.0)<br/>
3819
+	 * Returns the color of the specified pixel
3820
+	 * @link https://php.net/manual/en/imagick.getimagepixelcolor.php
3821
+	 * @param int $x <p>
3822
+	 * The x-coordinate of the pixel
3823
+	 * </p>
3824
+	 * @param int $y <p>
3825
+	 * The y-coordinate of the pixel
3826
+	 * </p>
3827
+	 * @return ImagickPixel an ImagickPixel instance for the color at the coordinates given.
3828
+	 * @throws ImagickException on error.
3829
+	 */
3830
+	#[Pure]
3831
+	public function getImagePixelColor($x, $y) {}
3832
+
3833
+	/**
3834
+	 * (PECL imagick 2.0.0)<br/>
3835
+	 * Returns the named image profile
3836
+	 * @link https://php.net/manual/en/imagick.getimageprofile.php
3837
+	 * @param string $name <p>
3838
+	 * The name of the profile to return.
3839
+	 * </p>
3840
+	 * @return string a string containing the image profile.
3841
+	 * @throws ImagickException on error.
3842
+	 */
3843
+	#[Pure]
3844
+	public function getImageProfile($name) {}
3845
+
3846
+	/**
3847
+	 * (PECL imagick 2.0.0)<br/>
3848
+	 * Returns the chromaticity red primary point
3849
+	 * @link https://php.net/manual/en/imagick.getimageredprimary.php
3850
+	 * @return float[] the chromaticity red primary point as an array with the keys "x"
3851
+	 * and "y".
3852
+	 * Throw an <b>ImagickException</b> on error.
3853
+	 * @throws ImagickException on error
3854
+	 */
3855
+	#[ArrayShape(["x" => "float", "y" => "float"])]
3856
+	#[Pure]
3857
+	public function getImageRedPrimary() {}
3858
+
3859
+	/**
3860
+	 * (PECL imagick 2.0.0)<br/>
3861
+	 * Gets the image rendering intent
3862
+	 * @link https://php.net/manual/en/imagick.getimagerenderingintent.php
3863
+	 * @return int the image rendering intent.
3864
+	 * @throws ImagickException on error.
3865
+	 */
3866
+	#[Pure]
3867
+	public function getImageRenderingIntent() {}
3868
+
3869
+	/**
3870
+	 * (PECL imagick 2.0.0)<br/>
3871
+	 * Gets the image X and Y resolution
3872
+	 * @link https://php.net/manual/en/imagick.getimageresolution.php
3873
+	 * @return float[] the resolution as an array.
3874
+	 * @throws ImagickException on error.
3875
+	 */
3876
+	#[ArrayShape(["x" => "float", "y" => "float"])]
3877
+	#[Pure]
3878
+	public function getImageResolution() {}
3879
+
3880
+	/**
3881
+	 * (PECL imagick 2.0.0)<br/>
3882
+	 * Gets the image scene
3883
+	 * @link https://php.net/manual/en/imagick.getimagescene.php
3884
+	 * @return int the image scene.
3885
+	 * @throws ImagickException on error.
3886
+	 */
3887
+	#[Pure]
3888
+	public function getImageScene() {}
3889
+
3890
+	/**
3891
+	 * (PECL imagick 2.0.0)<br/>
3892
+	 * Generates an SHA-256 message digest
3893
+	 * @link https://php.net/manual/en/imagick.getimagesignature.php
3894
+	 * @return string a string containing the SHA-256 hash of the file.
3895
+	 * @throws ImagickException on error.
3896
+	 */
3897
+	#[Pure]
3898
+	public function getImageSignature() {}
3899
+
3900
+	/**
3901
+	 * (PECL imagick 2.0.0)<br/>
3902
+	 * Gets the image ticks-per-second
3903
+	 * @link https://php.net/manual/en/imagick.getimagetickspersecond.php
3904
+	 * @return int the image ticks-per-second.
3905
+	 * @throws ImagickException on error.
3906
+	 */
3907
+	#[Pure]
3908
+	public function getImageTicksPerSecond() {}
3909
+
3910
+	/**
3911
+	 * (PECL imagick 0.9.10-0.9.9)<br/>
3912
+	 * Gets the potential image type
3913
+	 * @link https://php.net/manual/en/imagick.getimagetype.php
3914
+	 * @return int the potential image type.
3915
+	 * <b>imagick::IMGTYPE_UNDEFINED</b>
3916
+	 * <b>imagick::IMGTYPE_BILEVEL</b>
3917
+	 * <b>imagick::IMGTYPE_GRAYSCALE</b>
3918
+	 * <b>imagick::IMGTYPE_GRAYSCALEMATTE</b>
3919
+	 * <b>imagick::IMGTYPE_PALETTE</b>
3920
+	 * <b>imagick::IMGTYPE_PALETTEMATTE</b>
3921
+	 * <b>imagick::IMGTYPE_TRUECOLOR</b>
3922
+	 * <b>imagick::IMGTYPE_TRUECOLORMATTE</b>
3923
+	 * <b>imagick::IMGTYPE_COLORSEPARATION</b>
3924
+	 * <b>imagick::IMGTYPE_COLORSEPARATIONMATTE</b>
3925
+	 * <b>imagick::IMGTYPE_OPTIMIZE</b>
3926
+	 * @throws ImagickException on error.
3927
+	 */
3928
+	#[Pure]
3929
+	public function getImageType() {}
3930
+
3931
+	/**
3932
+	 * (PECL imagick 2.0.0)<br/>
3933
+	 * Gets the image units of resolution
3934
+	 * @link https://php.net/manual/en/imagick.getimageunits.php
3935
+	 * @return int the image units of resolution.
3936
+	 * @throws ImagickException on error.
3937
+	 */
3938
+	#[Pure]
3939
+	public function getImageUnits() {}
3940
+
3941
+	/**
3942
+	 * (PECL imagick 2.0.0)<br/>
3943
+	 * Returns the virtual pixel method
3944
+	 * @link https://php.net/manual/en/imagick.getimagevirtualpixelmethod.php
3945
+	 * @return int the virtual pixel method on success.
3946
+	 * @throws ImagickException on error.
3947
+	 */
3948
+	#[Pure]
3949
+	public function getImageVirtualPixelMethod() {}
3950
+
3951
+	/**
3952
+	 * (PECL imagick 2.0.0)<br/>
3953
+	 * Returns the chromaticity white point
3954
+	 * @link https://php.net/manual/en/imagick.getimagewhitepoint.php
3955
+	 * @return float[] the chromaticity white point as an associative array with the keys
3956
+	 * "x" and "y".
3957
+	 * @throws ImagickException on error.
3958
+	 */
3959
+	#[ArrayShape(["x" => "float", "y" => "float"])]
3960
+	#[Pure]
3961
+	public function getImageWhitePoint() {}
3962
+
3963
+	/**
3964
+	 * (PECL imagick 2.0.0)<br/>
3965
+	 * Returns the image width
3966
+	 * @link https://php.net/manual/en/imagick.getimagewidth.php
3967
+	 * @return int the image width.
3968
+	 * @throws ImagickException on error.
3969
+	 */
3970
+	#[Pure]
3971
+	public function getImageWidth() {}
3972
+
3973
+	/**
3974
+	 * (PECL imagick 2.0.0)<br/>
3975
+	 * Returns the number of images in the object
3976
+	 * @link https://php.net/manual/en/imagick.getnumberimages.php
3977
+	 * @return int the number of images associated with Imagick object.
3978
+	 */
3979
+	#[Pure]
3980
+	public function getNumberImages() {}
3981
+
3982
+	/**
3983
+	 * (PECL imagick 2.0.0)<br/>
3984
+	 * Gets the image total ink density
3985
+	 * @link https://php.net/manual/en/imagick.getimagetotalinkdensity.php
3986
+	 * @return float the image total ink density of the image.
3987
+	 * Throw an <b>ImagickException</b> on error.
3988
+	 * @throws ImagickException on error
3989
+	 * @throws ImagickException on error.
3990
+	 */
3991
+	#[Pure]
3992
+	public function getImageTotalInkDensity() {}
3993
+
3994
+	/**
3995
+	 * (PECL imagick 2.0.0)<br/>
3996
+	 * Extracts a region of the image
3997
+	 * @link https://php.net/manual/en/imagick.getimageregion.php
3998
+	 * @param int $width <p>
3999
+	 * The width of the extracted region.
4000
+	 * </p>
4001
+	 * @param int $height <p>
4002
+	 * The height of the extracted region.
4003
+	 * </p>
4004
+	 * @param int $x <p>
4005
+	 * X-coordinate of the top-left corner of the extracted region.
4006
+	 * </p>
4007
+	 * @param int $y <p>
4008
+	 * Y-coordinate of the top-left corner of the extracted region.
4009
+	 * </p>
4010
+	 * @return Imagick Extracts a region of the image and returns it as a new wand.
4011
+	 * @throws ImagickException on error.
4012
+	 */
4013
+	#[Pure]
4014
+	public function getImageRegion($width, $height, $x, $y) {}
4015
+
4016
+	/**
4017
+	 * (PECL imagick 2.0.0)<br/>
4018
+	 * Creates a new image as a copy
4019
+	 * @link https://php.net/manual/en/imagick.implodeimage.php
4020
+	 * @param float $radius <p>
4021
+	 * The radius of the implode
4022
+	 * </p>
4023
+	 * @return bool <b>TRUE</b> on success.
4024
+	 * @throws ImagickException on error.
4025
+	 */
4026
+	public function implodeImage($radius) {}
4027
+
4028
+	/**
4029
+	 * (PECL imagick 2.0.0)<br/>
4030
+	 * Adjusts the levels of an image
4031
+	 * @link https://php.net/manual/en/imagick.levelimage.php
4032
+	 * @param float $blackPoint <p>
4033
+	 * The image black point
4034
+	 * </p>
4035
+	 * @param float $gamma <p>
4036
+	 * The gamma value
4037
+	 * </p>
4038
+	 * @param float $whitePoint <p>
4039
+	 * The image white point
4040
+	 * </p>
4041
+	 * @param int $channel [optional] <p>
4042
+	 * Provide any channel constant that is valid for your channel mode. To
4043
+	 * apply to more than one channel, combine channeltype constants using
4044
+	 * bitwise operators. Refer to this
4045
+	 * list of channel constants.
4046
+	 * </p>
4047
+	 * @return bool <b>TRUE</b> on success.
4048
+	 * @throws ImagickException on error.
4049
+	 */
4050
+	public function levelImage($blackPoint, $gamma, $whitePoint, $channel = Imagick::CHANNEL_ALL) {}
4051
+
4052
+	/**
4053
+	 * (PECL imagick 2.0.0)<br/>
4054
+	 * Scales an image proportionally 2x
4055
+	 * @link https://php.net/manual/en/imagick.magnifyimage.php
4056
+	 * @return bool <b>TRUE</b> on success.
4057
+	 * @throws ImagickException on error.
4058
+	 */
4059
+	public function magnifyImage() {}
4060
+
4061
+	/**
4062
+	 * (PECL imagick 2.0.0)<br/>
4063
+	 * Replaces the colors of an image with the closest color from a reference image.
4064
+	 * @link https://php.net/manual/en/imagick.mapimage.php
4065
+	 * @param Imagick $map
4066
+	 * @param bool $dither
4067
+	 * @return bool <b>TRUE</b> on success.
4068
+	 * @throws ImagickException on error.
4069
+	 */
4070
+	#[Deprecated]
4071
+	public function mapImage(Imagick $map, $dither) {}
4072
+
4073
+	/**
4074
+	 * (PECL imagick 2.0.0)<br/>
4075
+	 * Changes the transparency value of a color
4076
+	 * @link https://php.net/manual/en/imagick.mattefloodfillimage.php
4077
+	 * @param float $alpha <p>
4078
+	 * The level of transparency: 1.0 is fully opaque and 0.0 is fully
4079
+	 * transparent.
4080
+	 * </p>
4081
+	 * @param float $fuzz <p>
4082
+	 * The fuzz member of image defines how much tolerance is acceptable to
4083
+	 * consider two colors as the same.
4084
+	 * </p>
4085
+	 * @param mixed $bordercolor <p>
4086
+	 * An <b>ImagickPixel</b> object or string representing the border color.
4087
+	 * </p>
4088
+	 * @param int $x <p>
4089
+	 * The starting x coordinate of the operation.
4090
+	 * </p>
4091
+	 * @param int $y <p>
4092
+	 * The starting y coordinate of the operation.
4093
+	 * </p>
4094
+	 * @return bool <b>TRUE</b> on success.
4095
+	 * @throws ImagickException on error.
4096
+	 */
4097
+	#[Deprecated]
4098
+	public function matteFloodfillImage($alpha, $fuzz, $bordercolor, $x, $y) {}
4099
+
4100
+	/**
4101
+	 * (PECL imagick 2.0.0)<br/>
4102
+	 * Applies a digital filter
4103
+	 * @link https://php.net/manual/en/imagick.medianfilterimage.php
4104
+	 * @param float $radius <p>
4105
+	 * The radius of the pixel neighborhood.
4106
+	 * </p>
4107
+	 * @return bool <b>TRUE</b> on success.
4108
+	 * @throws ImagickException on error.
4109
+	 */
4110
+	#[Deprecated]
4111
+	public function medianFilterImage($radius) {}
4112
+
4113
+	/**
4114
+	 * (PECL imagick 2.0.0)<br/>
4115
+	 * Negates the colors in the reference image
4116
+	 * @link https://php.net/manual/en/imagick.negateimage.php
4117
+	 * @param bool $gray <p>
4118
+	 * Whether to only negate grayscale pixels within the image.
4119
+	 * </p>
4120
+	 * @param int $channel [optional] <p>
4121
+	 * Provide any channel constant that is valid for your channel mode. To
4122
+	 * apply to more than one channel, combine channeltype constants using
4123
+	 * bitwise operators. Refer to this
4124
+	 * list of channel constants.
4125
+	 * </p>
4126
+	 * @return bool <b>TRUE</b> on success.
4127
+	 * @throws ImagickException on error.
4128
+	 */
4129
+	public function negateImage($gray, $channel = Imagick::CHANNEL_ALL) {}
4130
+
4131
+	/**
4132
+	 * (PECL imagick 2.0.0)<br/>
4133
+	 * Change any pixel that matches color
4134
+	 * @link https://php.net/manual/en/imagick.paintopaqueimage.php
4135
+	 * @param mixed $target <p>
4136
+	 * Change this target color to the fill color within the image. An
4137
+	 * ImagickPixel object or a string representing the target color.
4138
+	 * </p>
4139
+	 * @param mixed $fill <p>
4140
+	 * An ImagickPixel object or a string representing the fill color.
4141
+	 * </p>
4142
+	 * @param float $fuzz <p>
4143
+	 * The fuzz member of image defines how much tolerance is acceptable to
4144
+	 * consider two colors as the same.
4145
+	 * </p>
4146
+	 * @param int $channel [optional] <p>
4147
+	 * Provide any channel constant that is valid for your channel mode. To
4148
+	 * apply to more than one channel, combine channeltype constants using
4149
+	 * bitwise operators. Refer to this
4150
+	 * list of channel constants.
4151
+	 * </p>
4152
+	 * @return bool <b>TRUE</b> on success.
4153
+	 * @throws ImagickException on error.
4154
+	 */
4155
+	#[Deprecated]
4156
+	public function paintOpaqueImage($target, $fill, $fuzz, $channel = Imagick::CHANNEL_ALL) {}
4157
+
4158
+	/**
4159
+	 * (PECL imagick 2.0.0)<br/>
4160
+	 * Changes any pixel that matches color with the color defined by fill
4161
+	 * @link https://php.net/manual/en/imagick.painttransparentimage.php
4162
+	 * @param mixed $target <p>
4163
+	 * Change this target color to specified opacity value within the image.
4164
+	 * </p>
4165
+	 * @param float $alpha <p>
4166
+	 * The level of transparency: 1.0 is fully opaque and 0.0 is fully
4167
+	 * transparent.
4168
+	 * </p>
4169
+	 * @param float $fuzz <p>
4170
+	 * The fuzz member of image defines how much tolerance is acceptable to
4171
+	 * consider two colors as the same.
4172
+	 * </p>
4173
+	 * @return bool <b>TRUE</b> on success.
4174
+	 * @throws ImagickException on error.
4175
+	 */
4176
+	#[Deprecated]
4177
+	public function paintTransparentImage($target, $alpha, $fuzz) {}
4178
+
4179
+	/**
4180
+	 * (PECL imagick 2.0.0)<br/>
4181
+	 * Quickly pin-point appropriate parameters for image processing
4182
+	 * @link https://php.net/manual/en/imagick.previewimages.php
4183
+	 * @param int $preview <p>
4184
+	 * Preview type. See Preview type constants
4185
+	 * </p>
4186
+	 * @return bool <b>TRUE</b> on success.
4187
+	 * @throws ImagickException on error.
4188
+	 */
4189
+	public function previewImages($preview) {}
4190
+
4191
+	/**
4192
+	 * (PECL imagick 2.0.0)<br/>
4193
+	 * Adds or removes a profile from an image
4194
+	 * @link https://php.net/manual/en/imagick.profileimage.php
4195
+	 * @param string $name
4196
+	 * @param string $profile
4197
+	 * @return bool <b>TRUE</b> on success.
4198
+	 * @throws ImagickException on error.
4199
+	 */
4200
+	public function profileImage($name, $profile) {}
4201
+
4202
+	/**
4203
+	 * (PECL imagick 2.0.0)<br/>
4204
+	 * Analyzes the colors within a reference image
4205
+	 * @link https://php.net/manual/en/imagick.quantizeimage.php
4206
+	 * @param int $numberColors
4207
+	 * @param int $colorspace
4208
+	 * @param int $treedepth
4209
+	 * @param bool $dither
4210
+	 * @param bool $measureError
4211
+	 * @return bool <b>TRUE</b> on success.
4212
+	 * @throws ImagickException on error.
4213
+	 */
4214
+	public function quantizeImage($numberColors, $colorspace, $treedepth, $dither, $measureError) {}
4215
+
4216
+	/**
4217
+	 * (PECL imagick 2.0.0)<br/>
4218
+	 * Analyzes the colors within a sequence of images
4219
+	 * @link https://php.net/manual/en/imagick.quantizeimages.php
4220
+	 * @param int $numberColors
4221
+	 * @param int $colorspace
4222
+	 * @param int $treedepth
4223
+	 * @param bool $dither
4224
+	 * @param bool $measureError
4225
+	 * @return bool <b>TRUE</b> on success.
4226
+	 * @throws ImagickException on error.
4227
+	 */
4228
+	public function quantizeImages($numberColors, $colorspace, $treedepth, $dither, $measureError) {}
4229
+
4230
+	/**
4231
+	 * (PECL imagick 2.0.0)<br/>
4232
+	 * Smooths the contours of an image
4233
+	 * @link https://php.net/manual/en/imagick.reducenoiseimage.php
4234
+	 * @param float $radius
4235
+	 * @return bool <b>TRUE</b> on success.
4236
+	 * @throws ImagickException on error.
4237
+	 */
4238
+	#[Deprecated]
4239
+	public function reduceNoiseImage($radius) {}
4240
+
4241
+	/**
4242
+	 * (PECL imagick 2.0.0)<br/>
4243
+	 * Removes the named image profile and returns it
4244
+	 * @link https://php.net/manual/en/imagick.removeimageprofile.php
4245
+	 * @param string $name
4246
+	 * @return string a string containing the profile of the image.
4247
+	 * @throws ImagickException on error.
4248
+	 */
4249
+	public function removeImageProfile($name) {}
4250
+
4251
+	/**
4252
+	 * (PECL imagick 2.0.0)<br/>
4253
+	 * Separates a channel from the image
4254
+	 * @link https://php.net/manual/en/imagick.separateimagechannel.php
4255
+	 * @param int $channel
4256
+	 * @return bool <b>TRUE</b> on success.
4257
+	 * @throws ImagickException on error.
4258
+	 */
4259
+	public function separateImageChannel($channel) {}
4260
+
4261
+	/**
4262
+	 * (PECL imagick 2.0.0)<br/>
4263
+	 * Sepia tones an image
4264
+	 * @link https://php.net/manual/en/imagick.sepiatoneimage.php
4265
+	 * @param float $threshold
4266
+	 * @return bool <b>TRUE</b> on success.
4267
+	 * @throws ImagickException on error.
4268
+	 */
4269
+	public function sepiaToneImage($threshold) {}
4270
+
4271
+	/**
4272
+	 * (PECL imagick 2.0.0)<br/>
4273
+	 * Sets the image bias for any method that convolves an image
4274
+	 * @link https://php.net/manual/en/imagick.setimagebias.php
4275
+	 * @param float $bias
4276
+	 * @return bool <b>TRUE</b> on success.
4277
+	 */
4278
+	public function setImageBias($bias) {}
4279
+
4280
+	/**
4281
+	 * (PECL imagick 2.0.0)<br/>
4282
+	 * Sets the image chromaticity blue primary point
4283
+	 * @link https://php.net/manual/en/imagick.setimageblueprimary.php
4284
+	 * @param float $x
4285
+	 * @param float $y
4286
+	 * @return bool <b>TRUE</b> on success.
4287
+	 * @throws ImagickException on error.
4288
+	 */
4289
+	public function setImageBluePrimary($x, $y) {}
4290
+
4291
+	/**
4292
+	 * (PECL imagick 2.0.0)<br/>
4293
+	 * Sets the image border color
4294
+	 * @link https://php.net/manual/en/imagick.setimagebordercolor.php
4295
+	 * @param mixed $border <p>
4296
+	 * The border color
4297
+	 * </p>
4298
+	 * @return bool <b>TRUE</b> on success.
4299
+	 * @throws ImagickException on error.
4300
+	 */
4301
+	public function setImageBorderColor($border) {}
4302
+
4303
+	/**
4304
+	 * (PECL imagick 2.0.0)<br/>
4305
+	 * Sets the depth of a particular image channel
4306
+	 * @link https://php.net/manual/en/imagick.setimagechanneldepth.php
4307
+	 * @param int $channel
4308
+	 * @param int $depth
4309
+	 * @return bool <b>TRUE</b> on success.
4310
+	 * @throws ImagickException on error.
4311
+	 */
4312
+	public function setImageChannelDepth($channel, $depth) {}
4313
+
4314
+	/**
4315
+	 * (PECL imagick 2.0.0)<br/>
4316
+	 * Sets the color of the specified colormap index
4317
+	 * @link https://php.net/manual/en/imagick.setimagecolormapcolor.php
4318
+	 * @param int $index
4319
+	 * @param ImagickPixel $color
4320
+	 * @return bool <b>TRUE</b> on success.
4321
+	 * @throws ImagickException on error.
4322
+	 */
4323
+	public function setImageColormapColor($index, ImagickPixel $color) {}
4324
+
4325
+	/**
4326
+	 * (PECL imagick 2.0.0)<br/>
4327
+	 * Sets the image colorspace
4328
+	 * @link https://php.net/manual/en/imagick.setimagecolorspace.php
4329
+	 * @param int $colorspace <p>
4330
+	 * One of the COLORSPACE constants
4331
+	 * </p>
4332
+	 * @return bool <b>TRUE</b> on success.
4333
+	 * @throws ImagickException on error.
4334
+	 */
4335
+	public function setImageColorspace($colorspace) {}
4336
+
4337
+	/**
4338
+	 * (PECL imagick 2.0.0)<br/>
4339
+	 * Sets the image disposal method
4340
+	 * @link https://php.net/manual/en/imagick.setimagedispose.php
4341
+	 * @param int $dispose
4342
+	 * @return bool <b>TRUE</b> on success.
4343
+	 * @throws ImagickException on error.
4344
+	 */
4345
+	public function setImageDispose($dispose) {}
4346
+
4347
+	/**
4348
+	 * (PECL imagick 2.0.0)<br/>
4349
+	 * Sets the image size
4350
+	 * @link https://php.net/manual/en/imagick.setimageextent.php
4351
+	 * @param int $columns
4352
+	 * @param int $rows
4353
+	 * @return bool <b>TRUE</b> on success.
4354
+	 * @throws ImagickException on error.
4355
+	 */
4356
+	public function setImageExtent($columns, $rows) {}
4357
+
4358
+	/**
4359
+	 * (PECL imagick 2.0.0)<br/>
4360
+	 * Sets the image chromaticity green primary point
4361
+	 * @link https://php.net/manual/en/imagick.setimagegreenprimary.php
4362
+	 * @param float $x
4363
+	 * @param float $y
4364
+	 * @return bool <b>TRUE</b> on success.
4365
+	 * @throws ImagickException on error.
4366
+	 */
4367
+	public function setImageGreenPrimary($x, $y) {}
4368
+
4369
+	/**
4370
+	 * (PECL imagick 2.0.0)<br/>
4371
+	 * Sets the image compression
4372
+	 * @link https://php.net/manual/en/imagick.setimageinterlacescheme.php
4373
+	 * @param int $interlace_scheme
4374
+	 * @return bool <b>TRUE</b> on success.
4375
+	 * @throws ImagickException on error.
4376
+	 */
4377
+	public function setImageInterlaceScheme($interlace_scheme) {}
4378
+
4379
+	/**
4380
+	 * (PECL imagick 2.0.0)<br/>
4381
+	 * Adds a named profile to the Imagick object
4382
+	 * @link https://php.net/manual/en/imagick.setimageprofile.php
4383
+	 * @param string $name
4384
+	 * @param string $profile
4385
+	 * @return bool <b>TRUE</b> on success.
4386
+	 * @throws ImagickException on error.
4387
+	 */
4388
+	public function setImageProfile($name, $profile) {}
4389
+
4390
+	/**
4391
+	 * (PECL imagick 2.0.0)<br/>
4392
+	 * Sets the image chromaticity red primary point
4393
+	 * @link https://php.net/manual/en/imagick.setimageredprimary.php
4394
+	 * @param float $x
4395
+	 * @param float $y
4396
+	 * @return bool <b>TRUE</b> on success.
4397
+	 * @throws ImagickException on error.
4398
+	 */
4399
+	public function setImageRedPrimary($x, $y) {}
4400
+
4401
+	/**
4402
+	 * (PECL imagick 2.0.0)<br/>
4403
+	 * Sets the image rendering intent
4404
+	 * @link https://php.net/manual/en/imagick.setimagerenderingintent.php
4405
+	 * @param int $rendering_intent
4406
+	 * @return bool <b>TRUE</b> on success.
4407
+	 * @throws ImagickException on error.
4408
+	 */
4409
+	public function setImageRenderingIntent($rendering_intent) {}
4410
+
4411
+	/**
4412
+	 * (PECL imagick 2.0.0)<br/>
4413
+	 * Sets the image virtual pixel method
4414
+	 * @link https://php.net/manual/en/imagick.setimagevirtualpixelmethod.php
4415
+	 * @param int $method
4416
+	 * @return bool <b>TRUE</b> on success.
4417
+	 * @throws ImagickException on error.
4418
+	 */
4419
+	public function setImageVirtualPixelMethod($method) {}
4420
+
4421
+	/**
4422
+	 * (PECL imagick 2.0.0)<br/>
4423
+	 * Sets the image chromaticity white point
4424
+	 * @link https://php.net/manual/en/imagick.setimagewhitepoint.php
4425
+	 * @param float $x
4426
+	 * @param float $y
4427
+	 * @return bool <b>TRUE</b> on success.
4428
+	 * @throws ImagickException on error.
4429
+	 */
4430
+	public function setImageWhitePoint($x, $y) {}
4431
+
4432
+	/**
4433
+	 * (PECL imagick 2.0.0)<br/>
4434
+	 * Adjusts the contrast of an image
4435
+	 * @link https://php.net/manual/en/imagick.sigmoidalcontrastimage.php
4436
+	 * @param bool $sharpen
4437
+	 * @param float $alpha
4438
+	 * @param float $beta
4439
+	 * @param int $channel [optional]
4440
+	 * @return bool <b>TRUE</b> on success.
4441
+	 * @throws ImagickException on error.
4442
+	 */
4443
+	public function sigmoidalContrastImage($sharpen, $alpha, $beta, $channel = Imagick::CHANNEL_ALL) {}
4444
+
4445
+	/**
4446
+	 * (PECL imagick 2.0.0)<br/>
4447
+	 * Composites two images
4448
+	 * @link https://php.net/manual/en/imagick.stereoimage.php
4449
+	 * @param Imagick $offset_wand
4450
+	 * @return bool <b>TRUE</b> on success.
4451
+	 * @throws ImagickException on error.
4452
+	 */
4453
+	public function stereoImage(Imagick $offset_wand) {}
4454
+
4455
+	/**
4456
+	 * (PECL imagick 2.0.0)<br/>
4457
+	 * Repeatedly tiles the texture image
4458
+	 * @link https://php.net/manual/en/imagick.textureimage.php
4459
+	 * @param Imagick $texture_wand
4460
+	 * @return Imagick a new Imagick object that has the repeated texture applied.
4461
+	 * @throws ImagickException on error.
4462
+	 */
4463
+	public function textureImage(Imagick $texture_wand) {}
4464
+
4465
+	/**
4466
+	 * pplies a color vector to each pixel in the image. The 'opacity' color is a per channel strength factor for how strongly the color should be applied.
4467
+	 * If legacy is true, the behaviour of this function is incorrect, but consistent with how it behaved before Imagick version 3.4.0
4468
+	 * @link https://php.net/manual/en/imagick.tintimage.php
4469
+	 * @param mixed $tint
4470
+	 * @param mixed $opacity
4471
+	 * @param bool $legacy [optional]
4472
+	 * @return bool <b>TRUE</b> on success.
4473
+	 * @throws ImagickException Throws ImagickException on error
4474
+	 * @since 2.0.0
4475
+	 */
4476
+	public function tintImage($tint, $opacity, $legacy = false) {}
4477
+
4478
+	/**
4479
+	 * (PECL imagick 2.0.0)<br/>
4480
+	 * Sharpens an image
4481
+	 * @link https://php.net/manual/en/imagick.unsharpmaskimage.php
4482
+	 * @param float $radius
4483
+	 * @param float $sigma
4484
+	 * @param float $amount
4485
+	 * @param float $threshold
4486
+	 * @param int $channel [optional]
4487
+	 * @return bool <b>TRUE</b> on success.
4488
+	 * @throws ImagickException on error.
4489
+	 */
4490
+	public function unsharpMaskImage($radius, $sigma, $amount, $threshold, $channel = Imagick::CHANNEL_ALL) {}
4491
+
4492
+	/**
4493
+	 * (PECL imagick 2.0.0)<br/>
4494
+	 * Returns a new Imagick object
4495
+	 * @link https://php.net/manual/en/imagick.getimage.php
4496
+	 * @return Imagick a new Imagick object with the current image sequence.
4497
+	 * @throws ImagickException on error.
4498
+	 */
4499
+	#[Pure]
4500
+	public function getImage() {}
4501
+
4502
+	/**
4503
+	 * (PECL imagick 2.0.0)<br/>
4504
+	 * Adds new image to Imagick object image list
4505
+	 * @link https://php.net/manual/en/imagick.addimage.php
4506
+	 * @param Imagick $source <p>
4507
+	 * The source Imagick object
4508
+	 * </p>
4509
+	 * @return bool <b>TRUE</b> on success.
4510
+	 * @throws ImagickException on error.
4511
+	 */
4512
+	public function addImage(Imagick $source) {}
4513
+
4514
+	/**
4515
+	 * (PECL imagick 2.0.0)<br/>
4516
+	 * Replaces image in the object
4517
+	 * @link https://php.net/manual/en/imagick.setimage.php
4518
+	 * @param Imagick $replace <p>
4519
+	 * The replace Imagick object
4520
+	 * </p>
4521
+	 * @return bool <b>TRUE</b> on success.
4522
+	 * @throws ImagickException on error.
4523
+	 */
4524
+	public function setImage(Imagick $replace) {}
4525
+
4526
+	/**
4527
+	 * (PECL imagick 2.0.0)<br/>
4528
+	 * Creates a new image
4529
+	 * @link https://php.net/manual/en/imagick.newimage.php
4530
+	 * @param int $cols <p>
4531
+	 * Columns in the new image
4532
+	 * </p>
4533
+	 * @param int $rows <p>
4534
+	 * Rows in the new image
4535
+	 * </p>
4536
+	 * @param mixed $background <p>
4537
+	 * The background color used for this image
4538
+	 * </p>
4539
+	 * @param string $format [optional] <p>
4540
+	 * Image format. This parameter was added in Imagick version 2.0.1.
4541
+	 * </p>
4542
+	 * @return bool <b>TRUE</b> on success.
4543
+	 * @throws ImagickException on error.
4544
+	 */
4545
+	public function newImage($cols, $rows, $background, $format = null) {}
4546
+
4547
+	/**
4548
+	 * (PECL imagick 2.0.0)<br/>
4549
+	 * Creates a new image
4550
+	 * @link https://php.net/manual/en/imagick.newpseudoimage.php
4551
+	 * @param int $columns <p>
4552
+	 * columns in the new image
4553
+	 * </p>
4554
+	 * @param int $rows <p>
4555
+	 * rows in the new image
4556
+	 * </p>
4557
+	 * @param string $pseudoString <p>
4558
+	 * string containing pseudo image definition.
4559
+	 * </p>
4560
+	 * @return bool <b>TRUE</b> on success.
4561
+	 * @throws ImagickException on error.
4562
+	 */
4563
+	public function newPseudoImage($columns, $rows, $pseudoString) {}
4564
+
4565
+	/**
4566
+	 * (PECL imagick 2.0.0)<br/>
4567
+	 * Gets the object compression type
4568
+	 * @link https://php.net/manual/en/imagick.getcompression.php
4569
+	 * @return int the compression constant
4570
+	 */
4571
+	#[Pure]
4572
+	public function getCompression() {}
4573
+
4574
+	/**
4575
+	 * (PECL imagick 2.0.0)<br/>
4576
+	 * Gets the object compression quality
4577
+	 * @link https://php.net/manual/en/imagick.getcompressionquality.php
4578
+	 * @return int integer describing the compression quality
4579
+	 */
4580
+	#[Pure]
4581
+	public function getCompressionQuality() {}
4582
+
4583
+	/**
4584
+	 * (PECL imagick 2.0.0)<br/>
4585
+	 * Returns the ImageMagick API copyright as a string
4586
+	 * @link https://php.net/manual/en/imagick.getcopyright.php
4587
+	 * @return string a string containing the copyright notice of Imagemagick and
4588
+	 * Magickwand C API.
4589
+	 */
4590
+	public static function getCopyright() {}
4591
+
4592
+	/**
4593
+	 * (PECL imagick 2.0.0)<br/>
4594
+	 * The filename associated with an image sequence
4595
+	 * @link https://php.net/manual/en/imagick.getfilename.php
4596
+	 * @return string a string on success.
4597
+	 */
4598
+	#[Pure]
4599
+	public function getFilename() {}
4600
+
4601
+	/**
4602
+	 * (PECL imagick 2.0.0)<br/>
4603
+	 * Returns the format of the Imagick object
4604
+	 * @link https://php.net/manual/en/imagick.getformat.php
4605
+	 * @return string the format of the image.
4606
+	 */
4607
+	#[Pure]
4608
+	public function getFormat() {}
4609
+
4610
+	/**
4611
+	 * (PECL imagick 2.0.0)<br/>
4612
+	 * Returns the ImageMagick home URL
4613
+	 * @link https://php.net/manual/en/imagick.gethomeurl.php
4614
+	 * @return string a link to the imagemagick homepage.
4615
+	 */
4616
+	public static function getHomeURL() {}
4617
+
4618
+	/**
4619
+	 * (PECL imagick 2.0.0)<br/>
4620
+	 * Gets the object interlace scheme
4621
+	 * @link https://php.net/manual/en/imagick.getinterlacescheme.php
4622
+	 * @return int Gets the wand interlace
4623
+	 * scheme.
4624
+	 */
4625
+	#[Pure]
4626
+	public function getInterlaceScheme() {}
4627
+
4628
+	/**
4629
+	 * (PECL imagick 2.0.0)<br/>
4630
+	 * Returns a value associated with the specified key
4631
+	 * @link https://php.net/manual/en/imagick.getoption.php
4632
+	 * @param string $key <p>
4633
+	 * The name of the option
4634
+	 * </p>
4635
+	 * @return string a value associated with a wand and the specified key.
4636
+	 */
4637
+	#[Pure]
4638
+	public function getOption($key) {}
4639
+
4640
+	/**
4641
+	 * (PECL imagick 2.0.0)<br/>
4642
+	 * Returns the ImageMagick package name
4643
+	 * @link https://php.net/manual/en/imagick.getpackagename.php
4644
+	 * @return string the ImageMagick package name as a string.
4645
+	 */
4646
+	public static function getPackageName() {}
4647
+
4648
+	/**
4649
+	 * (PECL imagick 2.0.0)<br/>
4650
+	 * Returns the page geometry
4651
+	 * @link https://php.net/manual/en/imagick.getpage.php
4652
+	 * @return int[] the page geometry associated with the Imagick object in
4653
+	 * an associative array with the keys "width", "height", "x", and "y",
4654
+	 * throwing ImagickException on error.
4655
+	 * @throws ImagickException on error
4656
+	 */
4657
+	//width:int, height:int, x:int, y:int
4658
+	#[ArrayShape(["width" => "int", "height" => "int", "x" => "int", "y" => "int"])]
4659
+	#[Pure]
4660
+	public function getPage() {}
4661
+
4662
+	/**
4663
+	 * (PECL imagick 2.0.0)<br/>
4664
+	 * Gets the quantum depth
4665
+	 * @link https://php.net/manual/en/imagick.getquantumdepth.php
4666
+	 * @return array the Imagick quantum depth as a string.
4667
+	 */
4668
+	// quantumDepthLong:int, quantumDepthString:string
4669
+	#[ArrayShape(["quantumDepthLong" => "int", "quantumDepthString" => "string"])]
4670
+	public static function getQuantumDepth() {}
4671
+
4672
+	/**
4673
+	 * (PECL imagick 2.0.0)<br/>
4674
+	 * Returns the Imagick quantum range
4675
+	 * @link https://php.net/manual/en/imagick.getquantumrange.php
4676
+	 * @return array the Imagick quantum range as a string.
4677
+	 */
4678
+	#[ArrayShape(["quantumDepthLong" => "int", "quantumDepthString" => "string"])]
4679
+	public static function getQuantumRange() {}
4680
+
4681
+	/**
4682
+	 * (PECL imagick 2.0.0)<br/>
4683
+	 * Returns the ImageMagick release date
4684
+	 * @link https://php.net/manual/en/imagick.getreleasedate.php
4685
+	 * @return string the ImageMagick release date as a string.
4686
+	 */
4687
+	public static function getReleaseDate() {}
4688
+
4689
+	/**
4690
+	 * (PECL imagick 2.0.0)<br/>
4691
+	 * Returns the specified resource's memory usage
4692
+	 * @link https://php.net/manual/en/imagick.getresource.php
4693
+	 * @param int $type <p>
4694
+	 * Refer to the list of resourcetype constants.
4695
+	 * </p>
4696
+	 * @return int the specified resource's memory usage in megabytes.
4697
+	 */
4698
+	public static function getResource($type) {}
4699
+
4700
+	/**
4701
+	 * (PECL imagick 2.0.0)<br/>
4702
+	 * Returns the specified resource limit
4703
+	 * @link https://php.net/manual/en/imagick.getresourcelimit.php
4704
+	 * @param int $type <p>
4705
+	 * Refer to the list of resourcetype constants.
4706
+	 * </p>
4707
+	 * @return int the specified resource limit in megabytes.
4708
+	 */
4709
+	public static function getResourceLimit($type) {}
4710
+
4711
+	/**
4712
+	 * (PECL imagick 2.0.0)<br/>
4713
+	 * Gets the horizontal and vertical sampling factor
4714
+	 * @link https://php.net/manual/en/imagick.getsamplingfactors.php
4715
+	 * @return array an associative array with the horizontal and vertical sampling
4716
+	 * factors of the image.
4717
+	 */
4718
+	#[Pure]
4719
+	public function getSamplingFactors() {}
4720
+
4721
+	/**
4722
+	 * (PECL imagick 2.0.0)<br/>
4723
+	 * Returns the size associated with the Imagick object
4724
+	 * @link https://php.net/manual/en/imagick.getsize.php
4725
+	 * @return int[] the size associated with the Imagick object as an array with the
4726
+	 * keys "columns" and "rows".
4727
+	 * @throws ImagickException on error.
4728
+	 */
4729
+	#[ArrayShape(["columns" => "int", "rows" => "int"])]
4730
+	#[Pure]
4731
+	public function getSize() {}
4732
+
4733
+	/**
4734
+	 * (PECL imagick 2.0.0)<br/>
4735
+	 * Returns the ImageMagick API version
4736
+	 * @link https://php.net/manual/en/imagick.getversion.php
4737
+	 * @return array the ImageMagick API version as a string and as a number.
4738
+	 */
4739
+	#[ArrayShape(["versionNumber" => "int", "versionString" => "string"])]
4740
+	public static function getVersion() {}
4741
+
4742
+	/**
4743
+	 * (PECL imagick 2.0.0)<br/>
4744
+	 * Sets the object's default background color
4745
+	 * @link https://php.net/manual/en/imagick.setbackgroundcolor.php
4746
+	 * @param mixed $background
4747
+	 * @return bool <b>TRUE</b> on success.
4748
+	 * @throws ImagickException on error.
4749
+	 */
4750
+	public function setBackgroundColor($background) {}
4751
+
4752
+	/**
4753
+	 * (PECL imagick 2.0.0)<br/>
4754
+	 * Sets the object's default compression type
4755
+	 * @link https://php.net/manual/en/imagick.setcompression.php
4756
+	 * @param int $compression
4757
+	 * @return bool <b>TRUE</b> on success.
4758
+	 * @throws ImagickException on error.
4759
+	 */
4760
+	public function setCompression($compression) {}
4761
+
4762
+	/**
4763
+	 * (PECL imagick 0.9.10-0.9.9)<br/>
4764
+	 * Sets the object's default compression quality
4765
+	 * @link https://php.net/manual/en/imagick.setcompressionquality.php
4766
+	 * @param int $quality
4767
+	 * @return bool <b>TRUE</b> on success.
4768
+	 * @throws ImagickException on error.
4769
+	 */
4770
+	public function setCompressionQuality($quality) {}
4771
+
4772
+	/**
4773
+	 * (PECL imagick 2.0.0)<br/>
4774
+	 * Sets the filename before you read or write the image
4775
+	 * @link https://php.net/manual/en/imagick.setfilename.php
4776
+	 * @param string $filename
4777
+	 * @return bool <b>TRUE</b> on success.
4778
+	 * @throws ImagickException on error.
4779
+	 */
4780
+	public function setFilename($filename) {}
4781
+
4782
+	/**
4783
+	 * (PECL imagick 2.0.0)<br/>
4784
+	 * Sets the format of the Imagick object
4785
+	 * @link https://php.net/manual/en/imagick.setformat.php
4786
+	 * @param string $format
4787
+	 * @return bool <b>TRUE</b> on success.
4788
+	 * @throws ImagickException on error.
4789
+	 */
4790
+	public function setFormat($format) {}
4791
+
4792
+	/**
4793
+	 * (PECL imagick 2.0.0)<br/>
4794
+	 * Sets the image compression
4795
+	 * @link https://php.net/manual/en/imagick.setinterlacescheme.php
4796
+	 * @param int $interlace_scheme
4797
+	 * @return bool <b>TRUE</b> on success.
4798
+	 * @throws ImagickException on error.
4799
+	 */
4800
+	public function setInterlaceScheme($interlace_scheme) {}
4801
+
4802
+	/**
4803
+	 * (PECL imagick 2.0.0)<br/>
4804
+	 * Set an option
4805
+	 * @link https://php.net/manual/en/imagick.setoption.php
4806
+	 * @param string $key
4807
+	 * @param string $value
4808
+	 * @return bool <b>TRUE</b> on success.
4809
+	 * @throws ImagickException on error.
4810
+	 */
4811
+	public function setOption($key, $value) {}
4812
+
4813
+	/**
4814
+	 * (PECL imagick 2.0.0)<br/>
4815
+	 * Sets the page geometry of the Imagick object
4816
+	 * @link https://php.net/manual/en/imagick.setpage.php
4817
+	 * @param int $width
4818
+	 * @param int $height
4819
+	 * @param int $x
4820
+	 * @param int $y
4821
+	 * @return bool <b>TRUE</b> on success.
4822
+	 * @throws ImagickException on error.
4823
+	 */
4824
+	public function setPage($width, $height, $x, $y) {}
4825
+
4826
+	/**
4827
+	 * (PECL imagick 2.0.0)<br/>
4828
+	 * Sets the limit for a particular resource in megabytes
4829
+	 * @link https://php.net/manual/en/imagick.setresourcelimit.php
4830
+	 * @param int $type <p>
4831
+	 * Refer to the list of resourcetype constants.
4832
+	 * </p>
4833
+	 * @param int $limit <p>
4834
+	 * The resource limit. The unit depends on the type of the resource being limited.
4835
+	 * </p>
4836
+	 * @return bool <b>TRUE</b> on success.
4837
+	 * @throws ImagickException on error.
4838
+	 */
4839
+	public static function setResourceLimit($type, $limit) {}
4840
+
4841
+	/**
4842
+	 * (PECL imagick 2.0.0)<br/>
4843
+	 * Sets the image resolution
4844
+	 * @link https://php.net/manual/en/imagick.setresolution.php
4845
+	 * @param float $x_resolution <p>
4846
+	 * The horizontal resolution.
4847
+	 * </p>
4848
+	 * @param float $y_resolution <p>
4849
+	 * The vertical resolution.
4850
+	 * </p>
4851
+	 * @return bool <b>TRUE</b> on success.
4852
+	 * @throws ImagickException on error.
4853
+	 */
4854
+	public function setResolution($x_resolution, $y_resolution) {}
4855
+
4856
+	/**
4857
+	 * (PECL imagick 2.0.0)<br/>
4858
+	 * Sets the image sampling factors
4859
+	 * @link https://php.net/manual/en/imagick.setsamplingfactors.php
4860
+	 * @param array $factors
4861
+	 * @return bool <b>TRUE</b> on success.
4862
+	 * @throws ImagickException on error.
4863
+	 */
4864
+	public function setSamplingFactors(array $factors) {}
4865
+
4866
+	/**
4867
+	 * (PECL imagick 2.0.0)<br/>
4868
+	 * Sets the size of the Imagick object
4869
+	 * @link https://php.net/manual/en/imagick.setsize.php
4870
+	 * @param int $columns
4871
+	 * @param int $rows
4872
+	 * @return bool <b>TRUE</b> on success.
4873
+	 * @throws ImagickException on error.
4874
+	 */
4875
+	public function setSize($columns, $rows) {}
4876
+
4877
+	/**
4878
+	 * (PECL imagick 2.0.0)<br/>
4879
+	 * Sets the image type attribute
4880
+	 * @link https://php.net/manual/en/imagick.settype.php
4881
+	 * @param int $image_type
4882
+	 * @return bool <b>TRUE</b> on success.
4883
+	 * @throws ImagickException on error.
4884
+	 */
4885
+	public function setType($image_type) {}
4886
+
4887
+	public function key() {}
4888
+
4889
+	public function next() {}
4890
+
4891
+	public function rewind() {}
4892
+
4893
+	/**
4894
+	 * (PECL imagick 2.0.0)<br/>
4895
+	 * Checks if the current item is valid
4896
+	 * @link https://php.net/manual/en/imagick.valid.php
4897
+	 * @return bool <b>TRUE</b> on success.
4898
+	 * @throws ImagickException on error.
4899
+	 */
4900
+	public function valid() {}
4901
+
4902
+	/**
4903
+	 * (PECL imagick 2.0.0)<br/>
4904
+	 * Returns a reference to the current Imagick object
4905
+	 * @link https://php.net/manual/en/imagick.current.php
4906
+	 * @return Imagick self on success.
4907
+	 */
4908
+	public function current() {}
4909
+
4910
+	/**
4911
+	 * Change the brightness and/or contrast of an image. It converts the brightness and contrast parameters into slope and intercept and calls a polynomical function to apply to the image.
4912
+	 * @link https://php.net/manual/en/imagick.brightnesscontrastimage.php
4913
+	 * @param float $brightness
4914
+	 * @param float $contrast
4915
+	 * @param int $CHANNEL [optional]
4916
+	 * @return void
4917
+	 * @throws ImagickException on error.
4918
+	 * @since 3.3.0
4919
+	 */
4920
+	public function brightnessContrastImage($brightness, $contrast, $CHANNEL = Imagick::CHANNEL_DEFAULT) {}
4921
+
4922
+	/**
4923
+	 * Applies a user supplied kernel to the image according to the given morphology method.
4924
+	 * @link https://php.net/manual/en/imagick.morphology.php
4925
+	 * @param int $morphologyMethod Which morphology method to use one of the \Imagick::MORPHOLOGY_* constants.
4926
+	 * @param int $iterations The number of iteration to apply the morphology function. A value of -1 means loop until no change found. How this is applied may depend on the morphology method. Typically this is a value of 1.
4927
+	 * @param ImagickKernel $ImagickKernel
4928
+	 * @param int $CHANNEL [optional]
4929
+	 * @return void
4930
+	 * @throws ImagickException on error.
4931
+	 * @throws ImagickKernelException on error.
4932
+	 * @since 3.3.0
4933
+	 */
4934
+	public function morphology($morphologyMethod, $iterations, ImagickKernel $ImagickKernel, $CHANNEL = Imagick::CHANNEL_DEFAULT) {}
4935
+
4936
+	/**
4937
+	 * Applies a custom convolution kernel to the image.
4938
+	 * @link https://php.net/manual/en/imagick.filter.php
4939
+	 * @param ImagickKernel $ImagickKernel An instance of ImagickKernel that represents either a single kernel or a linked series of kernels.
4940
+	 * @param int $CHANNEL [optional] Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
4941
+	 * @return void
4942
+	 * @throws ImagickException on error.
4943
+	 * @since 3.3.0
4944
+	 */
4945
+	public function filter(ImagickKernel $ImagickKernel, $CHANNEL = Imagick::CHANNEL_DEFAULT) {}
4946
+
4947
+	/**
4948
+	 * Apply color transformation to an image. The method permits saturation changes, hue rotation, luminance to alpha, and various other effects. Although variable-sized transformation matrices can be used, typically one uses a 5x5 matrix for an RGBA image and a 6x6 for CMYKA (or RGBA with offsets).
4949
+	 * The matrix is similar to those used by Adobe Flash except offsets are in column 6 rather than 5 (in support of CMYKA images) and offsets are normalized (divide Flash offset by 255)
4950
+	 * @link https://php.net/manual/en/imagick.colormatriximage.php
4951
+	 * @param array $color_matrix
4952
+	 * @return void
4953
+	 * @throws ImagickException on error.
4954
+	 * @since 3.3.0
4955
+	 */
4956
+	public function colorMatrixImage($color_matrix = Imagick::CHANNEL_DEFAULT) {}
4957
+
4958
+	/**
4959
+	 * Deletes an image property.
4960
+	 * @link https://php.net/manual/en/imagick.deleteimageproperty.php
4961
+	 * @param string $name The name of the property to delete.
4962
+	 * @return void
4963
+	 * @throws ImagickException on error.
4964
+	 * @since 3.3.0
4965
+	 */
4966
+	public function deleteImageProperty($name) {}
4967
+
4968
+	/**
4969
+	 * Implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.
4970
+	 * @link https://php.net/manual/en/imagick.forwardfouriertransformimage.php
4971
+	 * @param bool $magnitude If true, return as magnitude / phase pair otherwise a real / imaginary image pair.
4972
+	 * @return void
4973
+	 * @throws ImagickException on error.
4974
+	 * @since 3.3.0
4975
+	 */
4976
+	public function forwardFourierTransformimage($magnitude) {}
4977
+
4978
+	/**
4979
+	 * Gets the current image's compression type.
4980
+	 * @link https://php.net/manual/en/imagick.getimagecompression.php
4981
+	 * @return int
4982
+	 * @since 3.3.0
4983
+	 */
4984
+	#[Pure]
4985
+	public function getImageCompression() {}
4986
+
4987
+	/**
4988
+	 * Get the StringRegistry entry for the named key or false if not set.
4989
+	 * @link https://php.net/manual/en/imagick.getregistry.php
4990
+	 * @param string $key
4991
+	 * @return string|false
4992
+	 * @throws ImagickException Since version >= 3.4.3. Throws an exception if the key does not exist, rather than terminating the program.
4993
+	 * @since 3.3.0
4994
+	 */
4995
+	public static function getRegistry($key) {}
4996
+
4997
+	/**
4998
+	 * Returns the ImageMagick quantum range as an integer.
4999
+	 * @link https://php.net/manual/en/imagick.getquantum.php
5000
+	 * @return int
5001
+	 * @since 3.3.0
5002
+	 */
5003
+	public static function getQuantum() {}
5004
+
5005
+	/**
5006
+	 * Replaces any embedded formatting characters with the appropriate image property and returns the interpreted text. See https://www.imagemagick.org/script/escape.php for escape sequences.
5007
+	 * @link https://php.net/manual/en/imagick.identifyformat.php
5008
+	 * @see https://www.imagemagick.org/script/escape.php
5009
+	 * @param string $embedText A string containing formatting sequences e.g. "Trim box: %@ number of unique colors: %k".
5010
+	 * @return bool
5011
+	 * @throws ImagickException on error.
5012
+	 * @since 3.3.0
5013
+	 */
5014
+	public function identifyFormat($embedText) {}
5015
+
5016
+	/**
5017
+	 * Implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.
5018
+	 * @link https://php.net/manual/en/imagick.inversefouriertransformimage.php
5019
+	 * @param Imagick $complement The second image to combine with this one to form either the magnitude / phase or real / imaginary image pair.
5020
+	 * @param bool $magnitude If true, combine as magnitude / phase pair otherwise a real / imaginary image pair.
5021
+	 * @return void
5022
+	 * @throws ImagickException on error.
5023
+	 * @since 3.3.0
5024
+	 */
5025
+	public function inverseFourierTransformImage($complement, $magnitude) {}
5026
+
5027
+	/**
5028
+	 * List all the registry settings. Returns an array of all the key/value pairs in the registry
5029
+	 * @link https://php.net/manual/en/imagick.listregistry.php
5030
+	 * @return array An array containing the key/values from the registry.
5031
+	 * @since 3.3.0
5032
+	 */
5033
+	public static function listRegistry() {}
5034
+
5035
+	/**
5036
+	 * Rotational blurs an image.
5037
+	 * @link https://php.net/manual/en/imagick.rotationalblurimage.php
5038
+	 * @param float $angle
5039
+	 * @param int $CHANNEL
5040
+	 * @return void
5041
+	 * @throws ImagickException on error.
5042
+	 * @since 3.3.0
5043
+	 */
5044
+	public function rotationalBlurImage($angle, $CHANNEL = Imagick::CHANNEL_DEFAULT) {}
5045
+
5046
+	/**
5047
+	 * Selectively blur an image within a contrast threshold. It is similar to the unsharpen mask that sharpens everything with contrast above a certain threshold.
5048
+	 * @link https://php.net/manual/en/imagick.selectiveblurimage.php
5049
+	 * @param float $radius
5050
+	 * @param float $sigma
5051
+	 * @param float $threshold
5052
+	 * @param int $CHANNEL Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
5053
+	 * @return void
5054
+	 * @throws ImagickException on error.
5055
+	 * @since 3.3.0
5056
+	 */
5057
+	public function selectiveBlurImage($radius, $sigma, $threshold, $CHANNEL = Imagick::CHANNEL_DEFAULT) {}
5058
+
5059
+	/**
5060
+	 * Set whether antialiasing should be used for operations. On by default.
5061
+	 * @param bool $antialias
5062
+	 * @return int
5063
+	 * @throws ImagickException on error.
5064
+	 * @since 3.3.0
5065
+	 */
5066
+	public function setAntiAlias($antialias) {}
5067
+
5068
+	/**
5069
+	 * @link https://php.net/manual/en/imagick.setimagebiasquantum.php
5070
+	 * @param string $bias
5071
+	 * @return void
5072
+	 * @since 3.3.0
5073
+	 */
5074
+	public function setImageBiasQuantum($bias) {}
5075
+
5076
+	/**
5077
+	 * Set a callback that will be called during the processing of the Imagick image.
5078
+	 * @link https://php.net/manual/en/imagick.setprogressmonitor.php
5079
+	 * @param callable $callback The progress function to call. It should return true if image processing should continue, or false if it should be cancelled.
5080
+	 * The offset parameter indicates the progress and the span parameter indicates the total amount of work needed to be done.
5081
+	 * <pre> bool callback ( mixed $offset , mixed $span ) </pre>
5082
+	 * <b>Caution</b>
5083
+	 * The values passed to the callback function are not consistent. In particular the span parameter can increase during image processing. Because of this calculating the percentage complete of an image operation is not trivial.
5084
+	 * @return void
5085
+	 * @throws ImagickException on error.
5086
+	 * @since 3.3.0
5087
+	 */
5088
+	public function setProgressMonitor($callback) {}
5089
+
5090
+	/**
5091
+	 * Sets the ImageMagick registry entry named key to value. This is most useful for setting "temporary-path" which controls where ImageMagick creates temporary images e.g. while processing PDFs.
5092
+	 * @link https://php.net/manual/en/imagick.setregistry.php
5093
+	 * @param string $key
5094
+	 * @param string $value
5095
+	 * @return void
5096
+	 * @since 3.3.0
5097
+	 */
5098
+	public static function setRegistry($key, $value) {}
5099
+
5100
+	/**
5101
+	 * Replace each pixel with corresponding statistic from the neighborhood of the specified width and height.
5102
+	 * @link https://php.net/manual/en/imagick.statisticimage.php
5103
+	 * @param int $type
5104
+	 * @param int $width
5105
+	 * @param int $height
5106
+	 * @param int $channel [optional]
5107
+	 * @return void
5108
+	 * @throws ImagickException on error.
5109
+	 * @since 3.3.0
5110
+	 */
5111
+	public function statisticImage($type, $width, $height, $channel = Imagick::CHANNEL_DEFAULT) {}
5112
+
5113
+	/**
5114
+	 * Searches for a subimage in the current image and returns a similarity image such that an exact match location is
5115
+	 * completely white and if none of the pixels match, black, otherwise some gray level in-between.
5116
+	 * You can also pass in the optional parameters bestMatch and similarity. After calling the function similarity will
5117
+	 * be set to the 'score' of the similarity between the subimage and the matching position in the larger image,
5118
+	 * bestMatch will contain an associative array with elements x, y, width, height that describe the matching region.
5119
+	 *
5120
+	 * @link https://php.net/manual/en/imagick.subimagematch.php
5121
+	 * @param Imagick $imagick
5122
+	 * @param array &$bestMatch [optional]
5123
+	 * @param float &$similarity [optional] A new image that displays the amount of similarity at each pixel.
5124
+	 * @param float $similarity_threshold [optional] Only used if compiled with ImageMagick (library) > 7
5125
+	 * @param int $metric [optional] Only used if compiled with ImageMagick (library) > 7
5126
+	 * @return Imagick
5127
+	 * @throws ImagickException on error.
5128
+	 * @since 3.3.0
5129
+	 */
5130
+	public function subImageMatch(Imagick $imagick, array &$bestMatch, &$similarity, $similarity_threshold, $metric) {}
5131
+
5132
+	/**
5133
+	 * Is an alias of Imagick::subImageMatch
5134
+	 *
5135
+	 * @param Imagick $imagick
5136
+	 * @param array &$bestMatch [optional]
5137
+	 * @param float &$similarity [optional] A new image that displays the amount of similarity at each pixel.
5138
+	 * @param float $similarity_threshold [optional]
5139
+	 * @param int $metric [optional]
5140
+	 * @return Imagick
5141
+	 * @throws ImagickException on error.
5142
+	 * @see Imagick::subImageMatch() This function is an alias of subImageMatch()
5143
+	 * @since 3.4.0
5144
+	 */
5145
+	public function similarityImage(Imagick $imagick, array &$bestMatch, &$similarity, $similarity_threshold, $metric) {}
5146
+
5147
+	/**
5148
+	 * Returns any ImageMagick  configure options that match the specified pattern (e.g. "*" for all). Options include NAME, VERSION, LIB_VERSION, etc.
5149
+	 * @return string
5150
+	 * @since 3.4.0
5151
+	 */
5152
+	#[Pure]
5153
+	public function getConfigureOptions() {}
5154
+
5155
+	/**
5156
+	 * GetFeatures() returns the ImageMagick features that have been compiled into the runtime.
5157
+	 * @return string
5158
+	 * @since 3.4.0
5159
+	 */
5160
+	#[Pure]
5161
+	public function getFeatures() {}
5162
+
5163
+	/**
5164
+	 * @return int
5165
+	 * @since 3.4.0
5166
+	 */
5167
+	#[Pure]
5168
+	public function getHDRIEnabled() {}
5169
+
5170
+	/**
5171
+	 * Sets the image channel mask. Returns the previous set channel mask.
5172
+	 * Only works with Imagick >= 7
5173
+	 * @param int $channel
5174
+	 * @throws ImagickException on error.
5175
+	 * @since 3.4.0
5176
+	 */
5177
+	public function setImageChannelMask($channel) {}
5178
+
5179
+	/**
5180
+	 * Merge multiple images of the same size together with the selected operator. https://www.imagemagick.org/Usage/layers/#evaluate-sequence
5181
+	 * @param int $EVALUATE_CONSTANT
5182
+	 * @return bool
5183
+	 * @see https://www.imagemagick.org/Usage/layers/#evaluate-sequence
5184
+	 * @throws ImagickException on error.
5185
+	 * @since 3.4.0
5186
+	 */
5187
+	public function evaluateImages($EVALUATE_CONSTANT) {}
5188
+
5189
+	/**
5190
+	 * Extracts the 'mean' from the image and adjust the image to try make set its gamma appropriately.
5191
+	 * @param int $channel [optional] Default value Imagick::CHANNEL_ALL
5192
+	 * @return bool
5193
+	 * @throws ImagickException on error.
5194
+	 * @since 3.4.1
5195
+	 */
5196
+	public function autoGammaImage($channel = Imagick::CHANNEL_ALL) {}
5197
+
5198
+	/**
5199
+	 * Adjusts an image so that its orientation is suitable $ for viewing (i.e. top-left orientation).
5200
+	 * @return bool
5201
+	 * @throws ImagickException on error.
5202
+	 * @since 3.4.1
5203
+	 */
5204
+	public function autoOrient() {}
5205
+
5206
+	/**
5207
+	 * Composite one image onto another using the specified gravity.
5208
+	 *
5209
+	 * @param Imagick $imagick
5210
+	 * @param int $COMPOSITE_CONSTANT
5211
+	 * @param int $GRAVITY_CONSTANT
5212
+	 * @return bool
5213
+	 * @throws ImagickException on error.
5214
+	 * @since 3.4.1
5215
+	 */
5216
+	public function compositeImageGravity(Imagick $imagick, $COMPOSITE_CONSTANT, $GRAVITY_CONSTANT) {}
5217
+
5218
+	/**
5219
+	 * Attempts to increase the appearance of large-scale light-dark transitions.
5220
+	 *
5221
+	 * @param float $radius
5222
+	 * @param float $strength
5223
+	 * @return bool
5224
+	 * @throws ImagickException on error.
5225
+	 * @since 3.4.1
5226
+	 */
5227
+	public function localContrastImage($radius, $strength) {}
5228
+
5229
+	/**
5230
+	 * Identifies the potential image type, returns one of the Imagick::IMGTYPE_* constants
5231
+	 * @return int
5232
+	 * @throws ImagickException on error.
5233
+	 * @since 3.4.3
5234
+	 */
5235
+	public function identifyImageType() {}
5236
+
5237
+	/**
5238
+	 * Sets the image to the specified alpha level. Will replace ImagickDraw::setOpacity()
5239
+	 *
5240
+	 * @param float $alpha
5241
+	 * @return bool
5242
+	 * @throws ImagickException on error.
5243
+	 * @since 3.4.3
5244
+	 */
5245
+	public function setImageAlpha($alpha) {}
5246 5246
 }
5247 5247
 
5248 5248
 /**
@@ -5251,1561 +5251,1561 @@  discard block
 block discarded – undo
5251 5251
  */
5252 5252
 class ImagickDraw
5253 5253
 {
5254
-    public function resetVectorGraphics() {}
5255
-
5256
-    #[Pure]
5257
-    public function getTextKerning() {}
5258
-
5259
-    /**
5260
-     * @param float $kerning
5261
-     */
5262
-    public function setTextKerning($kerning) {}
5263
-
5264
-    #[Pure]
5265
-    public function getTextInterWordSpacing() {}
5266
-
5267
-    /**
5268
-     * @param $spacing
5269
-     */
5270
-    public function setTextInterWordSpacing($spacing) {}
5271
-
5272
-    #[Pure]
5273
-    public function getTextInterLineSpacing() {}
5274
-
5275
-    /**
5276
-     * @param $spacing
5277
-     */
5278
-    public function setTextInterLineSpacing($spacing) {}
5279
-
5280
-    /**
5281
-     * (PECL imagick 2.0.0)<br/>
5282
-     * The ImagickDraw constructor
5283
-     * @link https://php.net/manual/en/imagickdraw.construct.php
5284
-     */
5285
-    public function __construct() {}
5286
-
5287
-    /**
5288
-     * (PECL imagick 2.0.0)<br/>
5289
-     * Sets the fill color to be used for drawing filled objects
5290
-     * @link https://php.net/manual/en/imagickdraw.setfillcolor.php
5291
-     * @param ImagickPixel $fill_pixel <p>
5292
-     * ImagickPixel to use to set the color
5293
-     * </p>
5294
-     * @return bool No value is returned.
5295
-     * @throws ImagickDrawException on error.
5296
-     */
5297
-    public function setFillColor(ImagickPixel $fill_pixel) {}
5298
-
5299
-    /**
5300
-     * (PECL imagick 2.0.0)<br/>
5301
-     * Sets the opacity to use when drawing using the fill color or fill texture
5302
-     * @link https://php.net/manual/en/imagickdraw.setfillalpha.php
5303
-     * @param float $opacity <p>
5304
-     * fill alpha
5305
-     * </p>
5306
-     * @return bool No value is returned.
5307
-     */
5308
-    #[Deprecated]
5309
-    public function setFillAlpha($opacity) {}
5310
-
5311
-    /**
5312
-     * Sets the image resolution
5313
-     * @param float $x_resolution <p>The horizontal resolution.</p>
5314
-     * @param float $y_resolution <p>The vertical resolution.</p>
5315
-     * @return bool
5316
-     * @throws ImagickDrawException on error.
5317
-     */
5318
-    public function setResolution($x_resolution, $y_resolution) {}
5319
-
5320
-    /**
5321
-     * (PECL imagick 2.0.0)<br/>
5322
-     * Sets the color used for stroking object outlines
5323
-     * @link https://php.net/manual/en/imagickdraw.setstrokecolor.php
5324
-     * @param ImagickPixel $stroke_pixel <p>
5325
-     * the stroke color
5326
-     * </p>
5327
-     * @return bool No value is returned.
5328
-     * @throws ImagickDrawException on error.
5329
-     */
5330
-    public function setStrokeColor(ImagickPixel $stroke_pixel) {}
5331
-
5332
-    /**
5333
-     * (PECL imagick 2.0.0)<br/>
5334
-     * Specifies the opacity of stroked object outlines
5335
-     * @link https://php.net/manual/en/imagickdraw.setstrokealpha.php
5336
-     * @param float $opacity <p>
5337
-     * opacity
5338
-     * </p>
5339
-     * @return bool No value is returned.
5340
-     */
5341
-    #[Deprecated]
5342
-    public function setStrokeAlpha($opacity) {}
5343
-
5344
-    /**
5345
-     * (PECL imagick 2.0.0)<br/>
5346
-     * Sets the width of the stroke used to draw object outlines
5347
-     * @link https://php.net/manual/en/imagickdraw.setstrokewidth.php
5348
-     * @param float $stroke_width <p>
5349
-     * stroke width
5350
-     * </p>
5351
-     * @return bool No value is returned.
5352
-     */
5353
-    public function setStrokeWidth($stroke_width) {}
5354
-
5355
-    /**
5356
-     * (PECL imagick 2.0.0)<br/>
5357
-     * Clears the ImagickDraw
5358
-     * @link https://php.net/manual/en/imagickdraw.clear.php
5359
-     * @return bool an ImagickDraw object.
5360
-     */
5361
-    public function clear() {}
5362
-
5363
-    /**
5364
-     * (PECL imagick 2.0.0)<br/>
5365
-     * Draws a circle
5366
-     * @link https://php.net/manual/en/imagickdraw.circle.php
5367
-     * @param float $ox <p>
5368
-     * origin x coordinate
5369
-     * </p>
5370
-     * @param float $oy <p>
5371
-     * origin y coordinate
5372
-     * </p>
5373
-     * @param float $px <p>
5374
-     * perimeter x coordinate
5375
-     * </p>
5376
-     * @param float $py <p>
5377
-     * perimeter y coordinate
5378
-     * </p>
5379
-     * @return bool No value is returned.
5380
-     */
5381
-    public function circle($ox, $oy, $px, $py) {}
5382
-
5383
-    /**
5384
-     * (PECL imagick 2.0.0)<br/>
5385
-     * Draws text on the image
5386
-     * @link https://php.net/manual/en/imagickdraw.annotation.php
5387
-     * @param float $x <p>
5388
-     * The x coordinate where text is drawn
5389
-     * </p>
5390
-     * @param float $y <p>
5391
-     * The y coordinate where text is drawn
5392
-     * </p>
5393
-     * @param string $text <p>
5394
-     * The text to draw on the image
5395
-     * </p>
5396
-     * @return bool No value is returned.
5397
-     * @throws ImagickDrawException on error.
5398
-     */
5399
-    public function annotation($x, $y, $text) {}
5400
-
5401
-    /**
5402
-     * (PECL imagick 2.0.0)<br/>
5403
-     * Controls whether text is antialiased
5404
-     * @link https://php.net/manual/en/imagickdraw.settextantialias.php
5405
-     * @param bool $antiAlias
5406
-     * @return bool No value is returned.
5407
-     */
5408
-    public function setTextAntialias($antiAlias) {}
5409
-
5410
-    /**
5411
-     * (PECL imagick 2.0.0)<br/>
5412
-     * Specifies specifies the text code set
5413
-     * @link https://php.net/manual/en/imagickdraw.settextencoding.php
5414
-     * @param string $encoding <p>
5415
-     * the encoding name
5416
-     * </p>
5417
-     * @return bool No value is returned.
5418
-     */
5419
-    public function setTextEncoding($encoding) {}
5420
-
5421
-    /**
5422
-     * (PECL imagick 2.0.0)<br/>
5423
-     * Sets the fully-specified font to use when annotating with text
5424
-     * @link https://php.net/manual/en/imagickdraw.setfont.php
5425
-     * @param string $font_name
5426
-     * @return bool <b>TRUE</b> on success.
5427
-     * @throws ImagickDrawException on error.
5428
-     * @throws ImagickException on error.
5429
-     */
5430
-    public function setFont($font_name) {}
5431
-
5432
-    /**
5433
-     * (PECL imagick 2.0.0)<br/>
5434
-     * Sets the font family to use when annotating with text
5435
-     * @link https://php.net/manual/en/imagickdraw.setfontfamily.php
5436
-     * @param string $font_family <p>
5437
-     * the font family
5438
-     * </p>
5439
-     * @return bool <b>TRUE</b> on success.
5440
-     * @throws ImagickDrawException on error.
5441
-     * @throws ImagickException on error.
5442
-     */
5443
-    public function setFontFamily($font_family) {}
5444
-
5445
-    /**
5446
-     * (PECL imagick 2.0.0)<br/>
5447
-     * Sets the font pointsize to use when annotating with text
5448
-     * @link https://php.net/manual/en/imagickdraw.setfontsize.php
5449
-     * @param float $pointsize <p>
5450
-     * the point size
5451
-     * </p>
5452
-     * @return bool No value is returned.
5453
-     */
5454
-    public function setFontSize($pointsize) {}
5455
-
5456
-    /**
5457
-     * (PECL imagick 2.0.0)<br/>
5458
-     * Sets the font style to use when annotating with text
5459
-     * @link https://php.net/manual/en/imagickdraw.setfontstyle.php
5460
-     * @param int $style <p>
5461
-     * STYLETYPE_ constant
5462
-     * </p>
5463
-     * @return bool No value is returned.
5464
-     */
5465
-    public function setFontStyle($style) {}
5466
-
5467
-    /**
5468
-     * (PECL imagick 2.0.0)<br/>
5469
-     * Sets the font weight
5470
-     * @link https://php.net/manual/en/imagickdraw.setfontweight.php
5471
-     * @param int $font_weight
5472
-     * @return bool
5473
-     * @throws ImagickDrawException on error.
5474
-     */
5475
-    public function setFontWeight($font_weight) {}
5476
-
5477
-    /**
5478
-     * (PECL imagick 2.0.0)<br/>
5479
-     * Returns the font
5480
-     * @link https://php.net/manual/en/imagickdraw.getfont.php
5481
-     * @return string|false a string on success and false if no font is set.
5482
-     */
5483
-    #[Pure]
5484
-    public function getFont() {}
5485
-
5486
-    /**
5487
-     * (PECL imagick 2.0.0)<br/>
5488
-     * Returns the font family
5489
-     * @link https://php.net/manual/en/imagickdraw.getfontfamily.php
5490
-     * @return string|false the font family currently selected or false if font family is not set.
5491
-     */
5492
-    #[Pure]
5493
-    public function getFontFamily() {}
5494
-
5495
-    /**
5496
-     * (PECL imagick 2.0.0)<br/>
5497
-     * Returns the font pointsize
5498
-     * @link https://php.net/manual/en/imagickdraw.getfontsize.php
5499
-     * @return float the font size associated with the current ImagickDraw object.
5500
-     */
5501
-    #[Pure]
5502
-    public function getFontSize() {}
5503
-
5504
-    /**
5505
-     * (PECL imagick 2.0.0)<br/>
5506
-     * Returns the font style
5507
-     * @link https://php.net/manual/en/imagickdraw.getfontstyle.php
5508
-     * @return int the font style constant (STYLE_) associated with the ImagickDraw object
5509
-     * or 0 if no style is set.
5510
-     */
5511
-    #[Pure]
5512
-    public function getFontStyle() {}
5513
-
5514
-    /**
5515
-     * (PECL imagick 2.0.0)<br/>
5516
-     * Returns the font weight
5517
-     * @link https://php.net/manual/en/imagickdraw.getfontweight.php
5518
-     * @return int an int on success and 0 if no weight is set.
5519
-     */
5520
-    #[Pure]
5521
-    public function getFontWeight() {}
5522
-
5523
-    /**
5524
-     * (PECL imagick 2.0.0)<br/>
5525
-     * Frees all associated resources
5526
-     * @link https://php.net/manual/en/imagickdraw.destroy.php
5527
-     * @return bool No value is returned.
5528
-     */
5529
-    public function destroy() {}
5530
-
5531
-    /**
5532
-     * (PECL imagick 2.0.0)<br/>
5533
-     * Draws a rectangle
5534
-     * @link https://php.net/manual/en/imagickdraw.rectangle.php
5535
-     * @param float $x1 <p>
5536
-     * x coordinate of the top left corner
5537
-     * </p>
5538
-     * @param float $y1 <p>
5539
-     * y coordinate of the top left corner
5540
-     * </p>
5541
-     * @param float $x2 <p>
5542
-     * x coordinate of the bottom right corner
5543
-     * </p>
5544
-     * @param float $y2 <p>
5545
-     * y coordinate of the bottom right corner
5546
-     * </p>
5547
-     * @return bool No value is returned.
5548
-     */
5549
-    public function rectangle($x1, $y1, $x2, $y2) {}
5550
-
5551
-    /**
5552
-     * (PECL imagick 2.0.0)<br/>
5553
-     * Draws a rounded rectangle
5554
-     * @link https://php.net/manual/en/imagickdraw.roundrectangle.php
5555
-     * @param float $x1 <p>
5556
-     * x coordinate of the top left corner
5557
-     * </p>
5558
-     * @param float $y1 <p>
5559
-     * y coordinate of the top left corner
5560
-     * </p>
5561
-     * @param float $x2 <p>
5562
-     * x coordinate of the bottom right
5563
-     * </p>
5564
-     * @param float $y2 <p>
5565
-     * y coordinate of the bottom right
5566
-     * </p>
5567
-     * @param float $rx <p>
5568
-     * x rounding
5569
-     * </p>
5570
-     * @param float $ry <p>
5571
-     * y rounding
5572
-     * </p>
5573
-     * @return bool No value is returned.
5574
-     */
5575
-    public function roundRectangle($x1, $y1, $x2, $y2, $rx, $ry) {}
5576
-
5577
-    /**
5578
-     * (PECL imagick 2.0.0)<br/>
5579
-     * Draws an ellipse on the image
5580
-     * @link https://php.net/manual/en/imagickdraw.ellipse.php
5581
-     * @param float $ox
5582
-     * @param float $oy
5583
-     * @param float $rx
5584
-     * @param float $ry
5585
-     * @param float $start
5586
-     * @param float $end
5587
-     * @return bool No value is returned.
5588
-     */
5589
-    public function ellipse($ox, $oy, $rx, $ry, $start, $end) {}
5590
-
5591
-    /**
5592
-     * (PECL imagick 2.0.0)<br/>
5593
-     * Skews the current coordinate system in the horizontal direction
5594
-     * @link https://php.net/manual/en/imagickdraw.skewx.php
5595
-     * @param float $degrees <p>
5596
-     * degrees to skew
5597
-     * </p>
5598
-     * @return bool No value is returned.
5599
-     */
5600
-    public function skewX($degrees) {}
5601
-
5602
-    /**
5603
-     * (PECL imagick 2.0.0)<br/>
5604
-     * Skews the current coordinate system in the vertical direction
5605
-     * @link https://php.net/manual/en/imagickdraw.skewy.php
5606
-     * @param float $degrees <p>
5607
-     * degrees to skew
5608
-     * </p>
5609
-     * @return bool No value is returned.
5610
-     */
5611
-    public function skewY($degrees) {}
5612
-
5613
-    /**
5614
-     * (PECL imagick 2.0.0)<br/>
5615
-     * Applies a translation to the current coordinate system
5616
-     * @link https://php.net/manual/en/imagickdraw.translate.php
5617
-     * @param float $x <p>
5618
-     * horizontal translation
5619
-     * </p>
5620
-     * @param float $y <p>
5621
-     * vertical translation
5622
-     * </p>
5623
-     * @return bool No value is returned.
5624
-     */
5625
-    public function translate($x, $y) {}
5626
-
5627
-    /**
5628
-     * (PECL imagick 2.0.0)<br/>
5629
-     * Draws a line
5630
-     * @link https://php.net/manual/en/imagickdraw.line.php
5631
-     * @param float $sx <p>
5632
-     * starting x coordinate
5633
-     * </p>
5634
-     * @param float $sy <p>
5635
-     * starting y coordinate
5636
-     * </p>
5637
-     * @param float $ex <p>
5638
-     * ending x coordinate
5639
-     * </p>
5640
-     * @param float $ey <p>
5641
-     * ending y coordinate
5642
-     * </p>
5643
-     * @return bool No value is returned.
5644
-     */
5645
-    public function line($sx, $sy, $ex, $ey) {}
5646
-
5647
-    /**
5648
-     * (PECL imagick 2.0.0)<br/>
5649
-     * Draws an arc
5650
-     * @link https://php.net/manual/en/imagickdraw.arc.php
5651
-     * @param float $sx <p>
5652
-     * Starting x ordinate of bounding rectangle
5653
-     * </p>
5654
-     * @param float $sy <p>
5655
-     * starting y ordinate of bounding rectangle
5656
-     * </p>
5657
-     * @param float $ex <p>
5658
-     * ending x ordinate of bounding rectangle
5659
-     * </p>
5660
-     * @param float $ey <p>
5661
-     * ending y ordinate of bounding rectangle
5662
-     * </p>
5663
-     * @param float $sd <p>
5664
-     * starting degrees of rotation
5665
-     * </p>
5666
-     * @param float $ed <p>
5667
-     * ending degrees of rotation
5668
-     * </p>
5669
-     * @return bool No value is returned.
5670
-     */
5671
-    public function arc($sx, $sy, $ex, $ey, $sd, $ed) {}
5672
-
5673
-    /**
5674
-     * (PECL imagick 2.0.0)<br/>
5675
-     * Paints on the image's opacity channel
5676
-     * @link https://php.net/manual/en/imagickdraw.matte.php
5677
-     * @param float $x <p>
5678
-     * x coordinate of the matte
5679
-     * </p>
5680
-     * @param float $y <p>
5681
-     * y coordinate of the matte
5682
-     * </p>
5683
-     * @param int $paintMethod <p>
5684
-     * PAINT_ constant
5685
-     * </p>
5686
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
5687
-     */
5688
-    public function matte($x, $y, $paintMethod) {}
5689
-
5690
-    /**
5691
-     * (PECL imagick 2.0.0)<br/>
5692
-     * Draws a polygon
5693
-     * @link https://php.net/manual/en/imagickdraw.polygon.php
5694
-     * @param array $coordinates <p>
5695
-     * multidimensional array like array( array( 'x' => 3, 'y' => 4 ), array( 'x' => 2, 'y' => 6 ) );
5696
-     * </p>
5697
-     * @return bool <b>TRUE</b> on success.
5698
-     * @throws ImagickDrawException on error.
5699
-     */
5700
-    public function polygon(array $coordinates) {}
5701
-
5702
-    /**
5703
-     * (PECL imagick 2.0.0)<br/>
5704
-     * Draws a point
5705
-     * @link https://php.net/manual/en/imagickdraw.point.php
5706
-     * @param float $x <p>
5707
-     * point's x coordinate
5708
-     * </p>
5709
-     * @param float $y <p>
5710
-     * point's y coordinate
5711
-     * </p>
5712
-     * @return bool No value is returned.
5713
-     */
5714
-    public function point($x, $y) {}
5715
-
5716
-    /**
5717
-     * (PECL imagick 2.0.0)<br/>
5718
-     * Returns the text decoration
5719
-     * @link https://php.net/manual/en/imagickdraw.gettextdecoration.php
5720
-     * @return int one of the DECORATION_ constants
5721
-     * and 0 if no decoration is set.
5722
-     */
5723
-    #[Pure]
5724
-    public function getTextDecoration() {}
5725
-
5726
-    /**
5727
-     * (PECL imagick 2.0.0)<br/>
5728
-     * Returns the code set used for text annotations
5729
-     * @link https://php.net/manual/en/imagickdraw.gettextencoding.php
5730
-     * @return string a string specifying the code set
5731
-     * or false if text encoding is not set.
5732
-     */
5733
-    #[Pure]
5734
-    public function getTextEncoding() {}
5735
-
5736
-    #[Pure]
5737
-    public function getFontStretch() {}
5738
-
5739
-    /**
5740
-     * (PECL imagick 2.0.0)<br/>
5741
-     * Sets the font stretch to use when annotating with text
5742
-     * @link https://php.net/manual/en/imagickdraw.setfontstretch.php
5743
-     * @param int $fontStretch <p>
5744
-     * STRETCH_ constant
5745
-     * </p>
5746
-     * @return bool No value is returned.
5747
-     */
5748
-    public function setFontStretch($fontStretch) {}
5749
-
5750
-    /**
5751
-     * (PECL imagick 2.0.0)<br/>
5752
-     * Controls whether stroked outlines are antialiased
5753
-     * @link https://php.net/manual/en/imagickdraw.setstrokeantialias.php
5754
-     * @param bool $stroke_antialias <p>
5755
-     * the antialias setting
5756
-     * </p>
5757
-     * @return bool No value is returned.
5758
-     */
5759
-    public function setStrokeAntialias($stroke_antialias) {}
5760
-
5761
-    /**
5762
-     * (PECL imagick 2.0.0)<br/>
5763
-     * Specifies a text alignment
5764
-     * @link https://php.net/manual/en/imagickdraw.settextalignment.php
5765
-     * @param int $alignment <p>
5766
-     * ALIGN_ constant
5767
-     * </p>
5768
-     * @return bool No value is returned.
5769
-     */
5770
-    public function setTextAlignment($alignment) {}
5771
-
5772
-    /**
5773
-     * (PECL imagick 2.0.0)<br/>
5774
-     * Specifies a decoration
5775
-     * @link https://php.net/manual/en/imagickdraw.settextdecoration.php
5776
-     * @param int $decoration <p>
5777
-     * DECORATION_ constant
5778
-     * </p>
5779
-     * @return bool No value is returned.
5780
-     */
5781
-    public function setTextDecoration($decoration) {}
5782
-
5783
-    /**
5784
-     * (PECL imagick 2.0.0)<br/>
5785
-     * Specifies the color of a background rectangle
5786
-     * @link https://php.net/manual/en/imagickdraw.settextundercolor.php
5787
-     * @param ImagickPixel $under_color <p>
5788
-     * the under color
5789
-     * </p>
5790
-     * @return bool No value is returned.
5791
-     * @throws ImagickDrawException on error.
5792
-     */
5793
-    public function setTextUnderColor(ImagickPixel $under_color) {}
5794
-
5795
-    /**
5796
-     * (PECL imagick 2.0.0)<br/>
5797
-     * Sets the overall canvas size
5798
-     * @link https://php.net/manual/en/imagickdraw.setviewbox.php
5799
-     * @param int $x1 <p>
5800
-     * left x coordinate
5801
-     * </p>
5802
-     * @param int $y1 <p>
5803
-     * left y coordinate
5804
-     * </p>
5805
-     * @param int $x2 <p>
5806
-     * right x coordinate
5807
-     * </p>
5808
-     * @param int $y2 <p>
5809
-     * right y coordinate
5810
-     * </p>
5811
-     * @return bool No value is returned.
5812
-     */
5813
-    public function setViewbox($x1, $y1, $x2, $y2) {}
5814
-
5815
-    /**
5816
-     * (PECL imagick 2.0.0)<br/>
5817
-     * Adjusts the current affine transformation matrix
5818
-     * @link https://php.net/manual/en/imagickdraw.affine.php
5819
-     * @param array $affine <p>
5820
-     * Affine matrix parameters
5821
-     * </p>
5822
-     * @return bool No value is returned.
5823
-     * @throws ImagickDrawException on error.
5824
-     */
5825
-    public function affine(array $affine) {}
5826
-
5827
-    /**
5828
-     * (PECL imagick 2.0.0)<br/>
5829
-     * Draws a bezier curve
5830
-     * @link https://php.net/manual/en/imagickdraw.bezier.php
5831
-     * @param array $coordinates <p>
5832
-     * Multidimensional array like array( array( 'x' => 1, 'y' => 2 ),
5833
-     * array( 'x' => 3, 'y' => 4 ) )
5834
-     * </p>
5835
-     * @return bool No value is returned.
5836
-     * @throws ImagickDrawException on error.
5837
-     */
5838
-    public function bezier(array $coordinates) {}
5839
-
5840
-    /**
5841
-     * (PECL imagick 2.0.0)<br/>
5842
-     * Composites an image onto the current image
5843
-     * @link https://php.net/manual/en/imagickdraw.composite.php
5844
-     * @param int $compose <p>
5845
-     * composition operator. One of COMPOSITE_ constants
5846
-     * </p>
5847
-     * @param float $x <p>
5848
-     * x coordinate of the top left corner
5849
-     * </p>
5850
-     * @param float $y <p>
5851
-     * y coordinate of the top left corner
5852
-     * </p>
5853
-     * @param float $width <p>
5854
-     * width of the composition image
5855
-     * </p>
5856
-     * @param float $height <p>
5857
-     * height of the composition image
5858
-     * </p>
5859
-     * @param Imagick $compositeWand <p>
5860
-     * the Imagick object where composition image is taken from
5861
-     * </p>
5862
-     * @return bool <b>TRUE</b> on success.
5863
-     * @throws ImagickException on error.
5864
-     */
5865
-    public function composite($compose, $x, $y, $width, $height, Imagick $compositeWand) {}
5866
-
5867
-    /**
5868
-     * (PECL imagick 2.0.0)<br/>
5869
-     * Draws color on image
5870
-     * @link https://php.net/manual/en/imagickdraw.color.php
5871
-     * @param float $x <p>
5872
-     * x coordinate of the paint
5873
-     * </p>
5874
-     * @param float $y <p>
5875
-     * y coordinate of the paint
5876
-     * </p>
5877
-     * @param int $paintMethod <p>
5878
-     * one of the PAINT_ constants
5879
-     * </p>
5880
-     * @return bool No value is returned.
5881
-     */
5882
-    public function color($x, $y, $paintMethod) {}
5883
-
5884
-    /**
5885
-     * (PECL imagick 2.0.0)<br/>
5886
-     * Adds a comment
5887
-     * @link https://php.net/manual/en/imagickdraw.comment.php
5888
-     * @param string $comment <p>
5889
-     * The comment string to add to vector output stream
5890
-     * </p>
5891
-     * @return bool No value is returned.
5892
-     */
5893
-    public function comment($comment) {}
5894
-
5895
-    /**
5896
-     * (PECL imagick 2.0.0)<br/>
5897
-     * Obtains the current clipping path ID
5898
-     * @link https://php.net/manual/en/imagickdraw.getclippath.php
5899
-     * @return string|false a string containing the clip path ID or false if no clip path exists.
5900
-     */
5901
-    #[Pure]
5902
-    public function getClipPath() {}
5903
-
5904
-    /**
5905
-     * (PECL imagick 2.0.0)<br/>
5906
-     * Returns the current polygon fill rule
5907
-     * @link https://php.net/manual/en/imagickdraw.getcliprule.php
5908
-     * @return int one of the FILLRULE_ constants.
5909
-     */
5910
-    #[Pure]
5911
-    public function getClipRule() {}
5912
-
5913
-    /**
5914
-     * (PECL imagick 2.0.0)<br/>
5915
-     * Returns the interpretation of clip path units
5916
-     * @link https://php.net/manual/en/imagickdraw.getclipunits.php
5917
-     * @return int an int on success.
5918
-     */
5919
-    #[Pure]
5920
-    public function getClipUnits() {}
5921
-
5922
-    /**
5923
-     * (PECL imagick 2.0.0)<br/>
5924
-     * Returns the fill color
5925
-     * @link https://php.net/manual/en/imagickdraw.getfillcolor.php
5926
-     * @return ImagickPixel an ImagickPixel object.
5927
-     */
5928
-    #[Pure]
5929
-    public function getFillColor() {}
5930
-
5931
-    /**
5932
-     * (PECL imagick 2.0.0)<br/>
5933
-     * Returns the opacity used when drawing
5934
-     * @link https://php.net/manual/en/imagickdraw.getfillopacity.php
5935
-     * @return float The opacity.
5936
-     */
5937
-    #[Pure]
5938
-    public function getFillOpacity() {}
5939
-
5940
-    /**
5941
-     * (PECL imagick 2.0.0)<br/>
5942
-     * Returns the fill rule
5943
-     * @link https://php.net/manual/en/imagickdraw.getfillrule.php
5944
-     * @return int a FILLRULE_ constant
5945
-     */
5946
-    #[Pure]
5947
-    public function getFillRule() {}
5948
-
5949
-    /**
5950
-     * (PECL imagick 2.0.0)<br/>
5951
-     * Returns the text placement gravity
5952
-     * @link https://php.net/manual/en/imagickdraw.getgravity.php
5953
-     * @return int a GRAVITY_ constant on success and 0 if no gravity is set.
5954
-     */
5955
-    #[Pure]
5956
-    public function getGravity() {}
5957
-
5958
-    /**
5959
-     * (PECL imagick 2.0.0)<br/>
5960
-     * Returns the current stroke antialias setting
5961
-     * @link https://php.net/manual/en/imagickdraw.getstrokeantialias.php
5962
-     * @return bool <b>TRUE</b> if antialiasing is on and false if it is off.
5963
-     */
5964
-    #[Pure]
5965
-    public function getStrokeAntialias() {}
5966
-
5967
-    /**
5968
-     * (PECL imagick 2.0.0)<br/>
5969
-     * Returns the color used for stroking object outlines
5970
-     * @link https://php.net/manual/en/imagickdraw.getstrokecolor.php
5971
-     * @return ImagickPixel an ImagickPixel object which describes the color.
5972
-     */
5973
-    #[Pure]
5974
-    public function getStrokeColor() {}
5975
-
5976
-    /**
5977
-     * (PECL imagick 2.0.0)<br/>
5978
-     * Returns an array representing the pattern of dashes and gaps used to stroke paths
5979
-     * @link https://php.net/manual/en/imagickdraw.getstrokedasharray.php
5980
-     * @return array an array on success and empty array if not set.
5981
-     */
5982
-    #[Pure]
5983
-    public function getStrokeDashArray() {}
5984
-
5985
-    /**
5986
-     * (PECL imagick 2.0.0)<br/>
5987
-     * Returns the offset into the dash pattern to start the dash
5988
-     * @link https://php.net/manual/en/imagickdraw.getstrokedashoffset.php
5989
-     * @return float a float representing the offset and 0 if it's not set.
5990
-     */
5991
-    #[Pure]
5992
-    public function getStrokeDashOffset() {}
5993
-
5994
-    /**
5995
-     * (PECL imagick 2.0.0)<br/>
5996
-     * Returns the shape to be used at the end of open subpaths when they are stroked
5997
-     * @link https://php.net/manual/en/imagickdraw.getstrokelinecap.php
5998
-     * @return int one of the LINECAP_ constants or 0 if stroke linecap is not set.
5999
-     */
6000
-    #[Pure]
6001
-    public function getStrokeLineCap() {}
6002
-
6003
-    /**
6004
-     * (PECL imagick 2.0.0)<br/>
6005
-     * Returns the shape to be used at the corners of paths when they are stroked
6006
-     * @link https://php.net/manual/en/imagickdraw.getstrokelinejoin.php
6007
-     * @return int one of the LINEJOIN_ constants or 0 if stroke line join is not set.
6008
-     */
6009
-    #[Pure]
6010
-    public function getStrokeLineJoin() {}
6011
-
6012
-    /**
6013
-     * (PECL imagick 2.0.0)<br/>
6014
-     * Returns the stroke miter limit
6015
-     * @link https://php.net/manual/en/imagickdraw.getstrokemiterlimit.php
6016
-     * @return int an int describing the miter limit
6017
-     * and 0 if no miter limit is set.
6018
-     */
6019
-    #[Pure]
6020
-    public function getStrokeMiterLimit() {}
6021
-
6022
-    /**
6023
-     * (PECL imagick 2.0.0)<br/>
6024
-     * Returns the opacity of stroked object outlines
6025
-     * @link https://php.net/manual/en/imagickdraw.getstrokeopacity.php
6026
-     * @return float a float describing the opacity.
6027
-     */
6028
-    #[Pure]
6029
-    public function getStrokeOpacity() {}
6030
-
6031
-    /**
6032
-     * (PECL imagick 2.0.0)<br/>
6033
-     * Returns the width of the stroke used to draw object outlines
6034
-     * @link https://php.net/manual/en/imagickdraw.getstrokewidth.php
6035
-     * @return float a float describing the stroke width.
6036
-     */
6037
-    #[Pure]
6038
-    public function getStrokeWidth() {}
6039
-
6040
-    /**
6041
-     * (PECL imagick 2.0.0)<br/>
6042
-     * Returns the text alignment
6043
-     * @link https://php.net/manual/en/imagickdraw.gettextalignment.php
6044
-     * @return int one of the ALIGN_ constants and 0 if no align is set.
6045
-     */
6046
-    #[Pure]
6047
-    public function getTextAlignment() {}
6048
-
6049
-    /**
6050
-     * (PECL imagick 2.0.0)<br/>
6051
-     * Returns the current text antialias setting
6052
-     * @link https://php.net/manual/en/imagickdraw.gettextantialias.php
6053
-     * @return bool <b>TRUE</b> if text is antialiased and false if not.
6054
-     */
6055
-    #[Pure]
6056
-    public function getTextAntialias() {}
6057
-
6058
-    /**
6059
-     * (PECL imagick 2.0.0)<br/>
6060
-     * Returns a string containing vector graphics
6061
-     * @link https://php.net/manual/en/imagickdraw.getvectorgraphics.php
6062
-     * @return string a string containing the vector graphics.
6063
-     */
6064
-    #[Pure]
6065
-    public function getVectorGraphics() {}
6066
-
6067
-    /**
6068
-     * (PECL imagick 2.0.0)<br/>
6069
-     * Returns the text under color
6070
-     * @link https://php.net/manual/en/imagickdraw.gettextundercolor.php
6071
-     * @return ImagickPixel an ImagickPixel object describing the color.
6072
-     * @throws ImagickDrawException on error.
6073
-     */
6074
-    #[Pure]
6075
-    public function getTextUnderColor() {}
6076
-
6077
-    /**
6078
-     * (PECL imagick 2.0.0)<br/>
6079
-     * Adds a path element to the current path
6080
-     * @link https://php.net/manual/en/imagickdraw.pathclose.php
6081
-     * @return bool No value is returned.
6082
-     */
6083
-    public function pathClose() {}
6084
-
6085
-    /**
6086
-     * (PECL imagick 2.0.0)<br/>
6087
-     * Draws a cubic Bezier curve
6088
-     * @link https://php.net/manual/en/imagickdraw.pathcurvetoabsolute.php
6089
-     * @param float $x1 <p>
6090
-     * x coordinate of the first control point
6091
-     * </p>
6092
-     * @param float $y1 <p>
6093
-     * y coordinate of the first control point
6094
-     * </p>
6095
-     * @param float $x2 <p>
6096
-     * x coordinate of the second control point
6097
-     * </p>
6098
-     * @param float $y2 <p>
6099
-     * y coordinate of the first control point
6100
-     * </p>
6101
-     * @param float $x <p>
6102
-     * x coordinate of the curve end
6103
-     * </p>
6104
-     * @param float $y <p>
6105
-     * y coordinate of the curve end
6106
-     * </p>
6107
-     * @return bool No value is returned.
6108
-     */
6109
-    public function pathCurveToAbsolute($x1, $y1, $x2, $y2, $x, $y) {}
6110
-
6111
-    /**
6112
-     * (PECL imagick 2.0.0)<br/>
6113
-     * Draws a cubic Bezier curve
6114
-     * @link https://php.net/manual/en/imagickdraw.pathcurvetorelative.php
6115
-     * @param float $x1 <p>
6116
-     * x coordinate of starting control point
6117
-     * </p>
6118
-     * @param float $y1 <p>
6119
-     * y coordinate of starting control point
6120
-     * </p>
6121
-     * @param float $x2 <p>
6122
-     * x coordinate of ending control point
6123
-     * </p>
6124
-     * @param float $y2 <p>
6125
-     * y coordinate of ending control point
6126
-     * </p>
6127
-     * @param float $x <p>
6128
-     * ending x coordinate
6129
-     * </p>
6130
-     * @param float $y <p>
6131
-     * ending y coordinate
6132
-     * </p>
6133
-     * @return bool No value is returned.
6134
-     */
6135
-    public function pathCurveToRelative($x1, $y1, $x2, $y2, $x, $y) {}
6136
-
6137
-    /**
6138
-     * (PECL imagick 2.0.0)<br/>
6139
-     * Draws a quadratic Bezier curve
6140
-     * @link https://php.net/manual/en/imagickdraw.pathcurvetoquadraticbezierabsolute.php
6141
-     * @param float $x1 <p>
6142
-     * x coordinate of the control point
6143
-     * </p>
6144
-     * @param float $y1 <p>
6145
-     * y coordinate of the control point
6146
-     * </p>
6147
-     * @param float $x <p>
6148
-     * x coordinate of the end point
6149
-     * </p>
6150
-     * @param float $y <p>
6151
-     * y coordinate of the end point
6152
-     * </p>
6153
-     * @return bool No value is returned.
6154
-     */
6155
-    public function pathCurveToQuadraticBezierAbsolute($x1, $y1, $x, $y) {}
6156
-
6157
-    /**
6158
-     * (PECL imagick 2.0.0)<br/>
6159
-     * Draws a quadratic Bezier curve
6160
-     * @link https://php.net/manual/en/imagickdraw.pathcurvetoquadraticbezierrelative.php
6161
-     * @param float $x1 <p>
6162
-     * starting x coordinate
6163
-     * </p>
6164
-     * @param float $y1 <p>
6165
-     * starting y coordinate
6166
-     * </p>
6167
-     * @param float $x <p>
6168
-     * ending x coordinate
6169
-     * </p>
6170
-     * @param float $y <p>
6171
-     * ending y coordinate
6172
-     * </p>
6173
-     * @return bool No value is returned.
6174
-     */
6175
-    public function pathCurveToQuadraticBezierRelative($x1, $y1, $x, $y) {}
6176
-
6177
-    /**
6178
-     * (PECL imagick 2.0.0)<br/>
6179
-     * Draws a quadratic Bezier curve
6180
-     * @link https://php.net/manual/en/imagickdraw.pathcurvetoquadraticbeziersmoothabsolute.php
6181
-     * @param float $x <p>
6182
-     * ending x coordinate
6183
-     * </p>
6184
-     * @param float $y <p>
6185
-     * ending y coordinate
6186
-     * </p>
6187
-     * @return bool No value is returned.
6188
-     */
6189
-    public function pathCurveToQuadraticBezierSmoothAbsolute($x, $y) {}
6190
-
6191
-    /**
6192
-     * (PECL imagick 2.0.0)<br/>
6193
-     * Draws a quadratic Bezier curve
6194
-     * @link https://php.net/manual/en/imagickdraw.pathcurvetoquadraticbeziersmoothrelative.php
6195
-     * @param float $x <p>
6196
-     * ending x coordinate
6197
-     * </p>
6198
-     * @param float $y <p>
6199
-     * ending y coordinate
6200
-     * </p>
6201
-     * @return bool No value is returned.
6202
-     */
6203
-    public function pathCurveToQuadraticBezierSmoothRelative($x, $y) {}
6204
-
6205
-    /**
6206
-     * (PECL imagick 2.0.0)<br/>
6207
-     * Draws a cubic Bezier curve
6208
-     * @link https://php.net/manual/en/imagickdraw.pathcurvetosmoothabsolute.php
6209
-     * @param float $x2 <p>
6210
-     * x coordinate of the second control point
6211
-     * </p>
6212
-     * @param float $y2 <p>
6213
-     * y coordinate of the second control point
6214
-     * </p>
6215
-     * @param float $x <p>
6216
-     * x coordinate of the ending point
6217
-     * </p>
6218
-     * @param float $y <p>
6219
-     * y coordinate of the ending point
6220
-     * </p>
6221
-     * @return bool No value is returned.
6222
-     */
6223
-    public function pathCurveToSmoothAbsolute($x2, $y2, $x, $y) {}
6224
-
6225
-    /**
6226
-     * (PECL imagick 2.0.0)<br/>
6227
-     * Draws a cubic Bezier curve
6228
-     * @link https://php.net/manual/en/imagickdraw.pathcurvetosmoothrelative.php
6229
-     * @param float $x2 <p>
6230
-     * x coordinate of the second control point
6231
-     * </p>
6232
-     * @param float $y2 <p>
6233
-     * y coordinate of the second control point
6234
-     * </p>
6235
-     * @param float $x <p>
6236
-     * x coordinate of the ending point
6237
-     * </p>
6238
-     * @param float $y <p>
6239
-     * y coordinate of the ending point
6240
-     * </p>
6241
-     * @return bool No value is returned.
6242
-     */
6243
-    public function pathCurveToSmoothRelative($x2, $y2, $x, $y) {}
6244
-
6245
-    /**
6246
-     * (PECL imagick 2.0.0)<br/>
6247
-     * Draws an elliptical arc
6248
-     * @link https://php.net/manual/en/imagickdraw.pathellipticarcabsolute.php
6249
-     * @param float $rx <p>
6250
-     * x radius
6251
-     * </p>
6252
-     * @param float $ry <p>
6253
-     * y radius
6254
-     * </p>
6255
-     * @param float $x_axis_rotation <p>
6256
-     * x axis rotation
6257
-     * </p>
6258
-     * @param bool $large_arc_flag <p>
6259
-     * large arc flag
6260
-     * </p>
6261
-     * @param bool $sweep_flag <p>
6262
-     * sweep flag
6263
-     * </p>
6264
-     * @param float $x <p>
6265
-     * x coordinate
6266
-     * </p>
6267
-     * @param float $y <p>
6268
-     * y coordinate
6269
-     * </p>
6270
-     * @return bool No value is returned.
6271
-     */
6272
-    public function pathEllipticArcAbsolute($rx, $ry, $x_axis_rotation, $large_arc_flag, $sweep_flag, $x, $y) {}
6273
-
6274
-    /**
6275
-     * (PECL imagick 2.0.0)<br/>
6276
-     * Draws an elliptical arc
6277
-     * @link https://php.net/manual/en/imagickdraw.pathellipticarcrelative.php
6278
-     * @param float $rx <p>
6279
-     * x radius
6280
-     * </p>
6281
-     * @param float $ry <p>
6282
-     * y radius
6283
-     * </p>
6284
-     * @param float $x_axis_rotation <p>
6285
-     * x axis rotation
6286
-     * </p>
6287
-     * @param bool $large_arc_flag <p>
6288
-     * large arc flag
6289
-     * </p>
6290
-     * @param bool $sweep_flag <p>
6291
-     * sweep flag
6292
-     * </p>
6293
-     * @param float $x <p>
6294
-     * x coordinate
6295
-     * </p>
6296
-     * @param float $y <p>
6297
-     * y coordinate
6298
-     * </p>
6299
-     * @return bool No value is returned.
6300
-     */
6301
-    public function pathEllipticArcRelative($rx, $ry, $x_axis_rotation, $large_arc_flag, $sweep_flag, $x, $y) {}
6302
-
6303
-    /**
6304
-     * (PECL imagick 2.0.0)<br/>
6305
-     * Terminates the current path
6306
-     * @link https://php.net/manual/en/imagickdraw.pathfinish.php
6307
-     * @return bool No value is returned.
6308
-     */
6309
-    public function pathFinish() {}
6310
-
6311
-    /**
6312
-     * (PECL imagick 2.0.0)<br/>
6313
-     * Draws a line path
6314
-     * @link https://php.net/manual/en/imagickdraw.pathlinetoabsolute.php
6315
-     * @param float $x <p>
6316
-     * starting x coordinate
6317
-     * </p>
6318
-     * @param float $y <p>
6319
-     * ending x coordinate
6320
-     * </p>
6321
-     * @return bool No value is returned.
6322
-     */
6323
-    public function pathLineToAbsolute($x, $y) {}
6324
-
6325
-    /**
6326
-     * (PECL imagick 2.0.0)<br/>
6327
-     * Draws a line path
6328
-     * @link https://php.net/manual/en/imagickdraw.pathlinetorelative.php
6329
-     * @param float $x <p>
6330
-     * starting x coordinate
6331
-     * </p>
6332
-     * @param float $y <p>
6333
-     * starting y coordinate
6334
-     * </p>
6335
-     * @return bool No value is returned.
6336
-     */
6337
-    public function pathLineToRelative($x, $y) {}
6338
-
6339
-    /**
6340
-     * (PECL imagick 2.0.0)<br/>
6341
-     * Draws a horizontal line path
6342
-     * @link https://php.net/manual/en/imagickdraw.pathlinetohorizontalabsolute.php
6343
-     * @param float $x <p>
6344
-     * x coordinate
6345
-     * </p>
6346
-     * @return bool No value is returned.
6347
-     */
6348
-    public function pathLineToHorizontalAbsolute($x) {}
6349
-
6350
-    /**
6351
-     * (PECL imagick 2.0.0)<br/>
6352
-     * Draws a horizontal line
6353
-     * @link https://php.net/manual/en/imagickdraw.pathlinetohorizontalrelative.php
6354
-     * @param float $x <p>
6355
-     * x coordinate
6356
-     * </p>
6357
-     * @return bool No value is returned.
6358
-     */
6359
-    public function pathLineToHorizontalRelative($x) {}
6360
-
6361
-    /**
6362
-     * (PECL imagick 2.0.0)<br/>
6363
-     * Draws a vertical line
6364
-     * @link https://php.net/manual/en/imagickdraw.pathlinetoverticalabsolute.php
6365
-     * @param float $y <p>
6366
-     * y coordinate
6367
-     * </p>
6368
-     * @return bool No value is returned.
6369
-     */
6370
-    public function pathLineToVerticalAbsolute($y) {}
6371
-
6372
-    /**
6373
-     * (PECL imagick 2.0.0)<br/>
6374
-     * Draws a vertical line path
6375
-     * @link https://php.net/manual/en/imagickdraw.pathlinetoverticalrelative.php
6376
-     * @param float $y <p>
6377
-     * y coordinate
6378
-     * </p>
6379
-     * @return bool No value is returned.
6380
-     */
6381
-    public function pathLineToVerticalRelative($y) {}
6382
-
6383
-    /**
6384
-     * (PECL imagick 2.0.0)<br/>
6385
-     * Starts a new sub-path
6386
-     * @link https://php.net/manual/en/imagickdraw.pathmovetoabsolute.php
6387
-     * @param float $x <p>
6388
-     * x coordinate of the starting point
6389
-     * </p>
6390
-     * @param float $y <p>
6391
-     * y coordinate of the starting point
6392
-     * </p>
6393
-     * @return bool No value is returned.
6394
-     */
6395
-    public function pathMoveToAbsolute($x, $y) {}
6396
-
6397
-    /**
6398
-     * (PECL imagick 2.0.0)<br/>
6399
-     * Starts a new sub-path
6400
-     * @link https://php.net/manual/en/imagickdraw.pathmovetorelative.php
6401
-     * @param float $x <p>
6402
-     * target x coordinate
6403
-     * </p>
6404
-     * @param float $y <p>
6405
-     * target y coordinate
6406
-     * </p>
6407
-     * @return bool No value is returned.
6408
-     */
6409
-    public function pathMoveToRelative($x, $y) {}
6410
-
6411
-    /**
6412
-     * (PECL imagick 2.0.0)<br/>
6413
-     * Declares the start of a path drawing list
6414
-     * @link https://php.net/manual/en/imagickdraw.pathstart.php
6415
-     * @return bool No value is returned.
6416
-     */
6417
-    public function pathStart() {}
6418
-
6419
-    /**
6420
-     * (PECL imagick 2.0.0)<br/>
6421
-     * Draws a polyline
6422
-     * @link https://php.net/manual/en/imagickdraw.polyline.php
6423
-     * @param array $coordinates <p>
6424
-     * array of x and y coordinates: array( array( 'x' => 4, 'y' => 6 ), array( 'x' => 8, 'y' => 10 ) )
6425
-     * </p>
6426
-     * @return bool <b>TRUE</b> on success.
6427
-     * @throws ImagickDrawException on error.
6428
-     */
6429
-    public function polyline(array $coordinates) {}
6430
-
6431
-    /**
6432
-     * (PECL imagick 2.0.0)<br/>
6433
-     * Terminates a clip path definition
6434
-     * @link https://php.net/manual/en/imagickdraw.popclippath.php
6435
-     * @return bool No value is returned.
6436
-     */
6437
-    public function popClipPath() {}
6438
-
6439
-    /**
6440
-     * (PECL imagick 2.0.0)<br/>
6441
-     * Terminates a definition list
6442
-     * @link https://php.net/manual/en/imagickdraw.popdefs.php
6443
-     * @return bool No value is returned.
6444
-     */
6445
-    public function popDefs() {}
6446
-
6447
-    /**
6448
-     * (PECL imagick 2.0.0)<br/>
6449
-     * Terminates a pattern definition
6450
-     * @link https://php.net/manual/en/imagickdraw.poppattern.php
6451
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
6452
-     * @throws ImagickException on error.
6453
-     */
6454
-    public function popPattern() {}
6455
-
6456
-    /**
6457
-     * (PECL imagick 2.0.0)<br/>
6458
-     * Starts a clip path definition
6459
-     * @link https://php.net/manual/en/imagickdraw.pushclippath.php
6460
-     * @param string $clip_mask_id <p>
6461
-     * Clip mask Id
6462
-     * </p>
6463
-     * @return bool No value is returned.
6464
-     */
6465
-    public function pushClipPath($clip_mask_id) {}
6466
-
6467
-    /**
6468
-     * (PECL imagick 2.0.0)<br/>
6469
-     * Indicates that following commands create named elements for early processing
6470
-     * @link https://php.net/manual/en/imagickdraw.pushdefs.php
6471
-     * @return bool No value is returned.
6472
-     */
6473
-    public function pushDefs() {}
6474
-
6475
-    /**
6476
-     * (PECL imagick 2.0.0)<br/>
6477
-     * Indicates that subsequent commands up to a ImagickDraw::opPattern() command comprise the definition of a named pattern
6478
-     * @link https://php.net/manual/en/imagickdraw.pushpattern.php
6479
-     * @param string $pattern_id <p>
6480
-     * the pattern Id
6481
-     * </p>
6482
-     * @param float $x <p>
6483
-     * x coordinate of the top-left corner
6484
-     * </p>
6485
-     * @param float $y <p>
6486
-     * y coordinate of the top-left corner
6487
-     * </p>
6488
-     * @param float $width <p>
6489
-     * width of the pattern
6490
-     * </p>
6491
-     * @param float $height <p>
6492
-     * height of the pattern
6493
-     * </p>
6494
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
6495
-     */
6496
-    public function pushPattern($pattern_id, $x, $y, $width, $height) {}
6497
-
6498
-    /**
6499
-     * (PECL imagick 2.0.0)<br/>
6500
-     * Renders all preceding drawing commands onto the image
6501
-     * @link https://php.net/manual/en/imagickdraw.render.php
6502
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
6503
-     * @throws ImagickException on error.
6504
-     */
6505
-    public function render() {}
6506
-
6507
-    /**
6508
-     * (PECL imagick 2.0.0)<br/>
6509
-     * Applies the specified rotation to the current coordinate space
6510
-     * @link https://php.net/manual/en/imagickdraw.rotate.php
6511
-     * @param float $degrees <p>
6512
-     * degrees to rotate
6513
-     * </p>
6514
-     * @return bool No value is returned.
6515
-     */
6516
-    public function rotate($degrees) {}
6517
-
6518
-    /**
6519
-     * (PECL imagick 2.0.0)<br/>
6520
-     * Adjusts the scaling factor
6521
-     * @link https://php.net/manual/en/imagickdraw.scale.php
6522
-     * @param float $x <p>
6523
-     * horizontal factor
6524
-     * </p>
6525
-     * @param float $y <p>
6526
-     * vertical factor
6527
-     * </p>
6528
-     * @return bool No value is returned.
6529
-     */
6530
-    public function scale($x, $y) {}
6531
-
6532
-    /**
6533
-     * (PECL imagick 2.0.0)<br/>
6534
-     * Associates a named clipping path with the image
6535
-     * @link https://php.net/manual/en/imagickdraw.setclippath.php
6536
-     * @param string $clip_mask <p>
6537
-     * the clipping path name
6538
-     * </p>
6539
-     * @return bool No value is returned.
6540
-     * @throws ImagickException on error.
6541
-     */
6542
-    public function setClipPath($clip_mask) {}
6543
-
6544
-    /**
6545
-     * (PECL imagick 2.0.0)<br/>
6546
-     * Set the polygon fill rule to be used by the clipping path
6547
-     * @link https://php.net/manual/en/imagickdraw.setcliprule.php
6548
-     * @param int $fill_rule <p>
6549
-     * FILLRULE_ constant
6550
-     * </p>
6551
-     * @return bool No value is returned.
6552
-     */
6553
-    public function setClipRule($fill_rule) {}
6554
-
6555
-    /**
6556
-     * (PECL imagick 2.0.0)<br/>
6557
-     * Sets the interpretation of clip path units
6558
-     * @link https://php.net/manual/en/imagickdraw.setclipunits.php
6559
-     * @param int $clip_units <p>
6560
-     * the number of clip units
6561
-     * </p>
6562
-     * @return bool No value is returned.
6563
-     */
6564
-    public function setClipUnits($clip_units) {}
6565
-
6566
-    /**
6567
-     * (PECL imagick 2.0.0)<br/>
6568
-     * Sets the opacity to use when drawing using the fill color or fill texture
6569
-     * @link https://php.net/manual/en/imagickdraw.setfillopacity.php
6570
-     * @param float $fillOpacity <p>
6571
-     * the fill opacity
6572
-     * </p>
6573
-     * @return bool No value is returned.
6574
-     */
6575
-    public function setFillOpacity($fillOpacity) {}
6576
-
6577
-    /**
6578
-     * (PECL imagick 2.0.0)<br/>
6579
-     * Sets the URL to use as a fill pattern for filling objects
6580
-     * @link https://php.net/manual/en/imagickdraw.setfillpatternurl.php
6581
-     * @param string $fill_url <p>
6582
-     * URL to use to obtain fill pattern.
6583
-     * </p>
6584
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
6585
-     * @throws ImagickException on error.
6586
-     */
6587
-    public function setFillPatternURL($fill_url) {}
6588
-
6589
-    /**
6590
-     * (PECL imagick 2.0.0)<br/>
6591
-     * Sets the fill rule to use while drawing polygons
6592
-     * @link https://php.net/manual/en/imagickdraw.setfillrule.php
6593
-     * @param int $fill_rule <p>
6594
-     * FILLRULE_ constant
6595
-     * </p>
6596
-     * @return bool No value is returned.
6597
-     */
6598
-    public function setFillRule($fill_rule) {}
6599
-
6600
-    /**
6601
-     * (PECL imagick 2.0.0)<br/>
6602
-     * Sets the text placement gravity
6603
-     * @link https://php.net/manual/en/imagickdraw.setgravity.php
6604
-     * @param int $gravity <p>
6605
-     * GRAVITY_ constant
6606
-     * </p>
6607
-     * @return bool No value is returned.
6608
-     */
6609
-    public function setGravity($gravity) {}
6610
-
6611
-    /**
6612
-     * (PECL imagick 2.0.0)<br/>
6613
-     * Sets the pattern used for stroking object outlines
6614
-     * @link https://php.net/manual/en/imagickdraw.setstrokepatternurl.php
6615
-     * @param string $stroke_url <p>
6616
-     * stroke URL
6617
-     * </p>
6618
-     * @return bool imagick.imagickdraw.return.success;
6619
-     * @throws ImagickException on error.
6620
-     */
6621
-    public function setStrokePatternURL($stroke_url) {}
6622
-
6623
-    /**
6624
-     * (PECL imagick 2.0.0)<br/>
6625
-     * Specifies the offset into the dash pattern to start the dash
6626
-     * @link https://php.net/manual/en/imagickdraw.setstrokedashoffset.php
6627
-     * @param float $dash_offset <p>
6628
-     * dash offset
6629
-     * </p>
6630
-     * @return bool No value is returned.
6631
-     */
6632
-    public function setStrokeDashOffset($dash_offset) {}
6633
-
6634
-    /**
6635
-     * (PECL imagick 2.0.0)<br/>
6636
-     * Specifies the shape to be used at the end of open subpaths when they are stroked
6637
-     * @link https://php.net/manual/en/imagickdraw.setstrokelinecap.php
6638
-     * @param int $linecap <p>
6639
-     * LINECAP_ constant
6640
-     * </p>
6641
-     * @return bool No value is returned.
6642
-     */
6643
-    public function setStrokeLineCap($linecap) {}
6644
-
6645
-    /**
6646
-     * (PECL imagick 2.0.0)<br/>
6647
-     * Specifies the shape to be used at the corners of paths when they are stroked
6648
-     * @link https://php.net/manual/en/imagickdraw.setstrokelinejoin.php
6649
-     * @param int $linejoin <p>
6650
-     * LINEJOIN_ constant
6651
-     * </p>
6652
-     * @return bool No value is returned.
6653
-     */
6654
-    public function setStrokeLineJoin($linejoin) {}
6655
-
6656
-    /**
6657
-     * (PECL imagick 2.0.0)<br/>
6658
-     * Specifies the miter limit
6659
-     * @link https://php.net/manual/en/imagickdraw.setstrokemiterlimit.php
6660
-     * @param int $miterlimit <p>
6661
-     * the miter limit
6662
-     * </p>
6663
-     * @return bool No value is returned.
6664
-     */
6665
-    public function setStrokeMiterLimit($miterlimit) {}
6666
-
6667
-    /**
6668
-     * (PECL imagick 2.0.0)<br/>
6669
-     * Specifies the opacity of stroked object outlines
6670
-     * @link https://php.net/manual/en/imagickdraw.setstrokeopacity.php
6671
-     * @param float $stroke_opacity <p>
6672
-     * stroke opacity. 1.0 is fully opaque
6673
-     * </p>
6674
-     * @return bool No value is returned.
6675
-     */
6676
-    public function setStrokeOpacity($stroke_opacity) {}
6677
-
6678
-    /**
6679
-     * (PECL imagick 2.0.0)<br/>
6680
-     * Sets the vector graphics
6681
-     * @link https://php.net/manual/en/imagickdraw.setvectorgraphics.php
6682
-     * @param string $xml <p>
6683
-     * xml containing the vector graphics
6684
-     * </p>
6685
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
6686
-     */
6687
-    public function setVectorGraphics($xml) {}
6688
-
6689
-    /**
6690
-     * (PECL imagick 2.0.0)<br/>
6691
-     * Destroys the current ImagickDraw in the stack, and returns to the previously pushed ImagickDraw
6692
-     * @link https://php.net/manual/en/imagickdraw.pop.php
6693
-     * @return bool <b>TRUE</b> on success and false on failure.
6694
-     * @throws ImagickException on error.
6695
-     */
6696
-    public function pop() {}
6697
-
6698
-    /**
6699
-     * (PECL imagick 2.0.0)<br/>
6700
-     * Clones the current ImagickDraw and pushes it to the stack
6701
-     * @link https://php.net/manual/en/imagickdraw.push.php
6702
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
6703
-     * @throws ImagickException on error.
6704
-     */
6705
-    public function push() {}
6706
-
6707
-    /**
6708
-     * (PECL imagick 2.0.0)<br/>
6709
-     * Specifies the pattern of dashes and gaps used to stroke paths
6710
-     * @link https://php.net/manual/en/imagickdraw.setstrokedasharray.php
6711
-     * @param array $dashArray <p>
6712
-     * array of floats
6713
-     * </p>
6714
-     * @return bool <b>TRUE</b> on success.
6715
-     */
6716
-    public function setStrokeDashArray(array $dashArray) {}
6717
-
6718
-    /**
6719
-     * Sets the opacity to use when drawing using the fill or stroke color or texture. Fully opaque is 1.0.
6720
-     *
6721
-     * @param float $opacity
6722
-     * @return void
6723
-     * @since 3.4.1
6724
-     */
6725
-    public function setOpacity($opacity) {}
6726
-
6727
-    /**
6728
-     * Returns the opacity used when drawing with the fill or stroke color or texture. Fully opaque is 1.0.
6729
-     *
6730
-     * @return float
6731
-     * @since 3.4.1
6732
-     */
6733
-    #[Pure]
6734
-    public function getOpacity() {}
6735
-
6736
-    /**
6737
-     * Sets the image font resolution.
6738
-     *
6739
-     * @param float $x
6740
-     * @param float $y
6741
-     * @return bool
6742
-     * @throws ImagickException on error.
6743
-     * @since 3.4.1
6744
-     */
6745
-    public function setFontResolution($x, $y) {}
6746
-
6747
-    /**
6748
-     * Gets the image X and Y resolution.
6749
-     *
6750
-     * @return array
6751
-     * @throws ImagickException on error.
6752
-     * @since 3.4.1
6753
-     */
6754
-    #[Pure]
6755
-    public function getFontResolution() {}
6756
-
6757
-    /**
6758
-     * Returns the direction that will be used when annotating with text.
6759
-     * @return bool
6760
-     * @since 3.4.1
6761
-     */
6762
-    #[Pure]
6763
-    public function getTextDirection() {}
6764
-
6765
-    /**
6766
-     * Sets the font style to use when annotating with text. The AnyStyle enumeration acts as a wild-card "don't care" option.
6767
-     *
6768
-     * @param int $direction
6769
-     * @return bool
6770
-     * @since 3.4.1
6771
-     */
6772
-    public function setTextDirection($direction) {}
6773
-
6774
-    /**
6775
-     * Returns the border color used for drawing bordered objects.
6776
-     *
6777
-     * @return ImagickPixel
6778
-     * @since 3.4.1
6779
-     */
6780
-    #[Pure]
6781
-    public function getBorderColor() {}
6782
-
6783
-    /**
6784
-     * Sets the border color to be used for drawing bordered objects.
6785
-     * @param ImagickPixel $color
6786
-     * @return bool
6787
-     * @throws ImagickDrawException on error.
6788
-     * @since 3.4.1
6789
-     */
6790
-    public function setBorderColor(ImagickPixel $color) {}
6791
-
6792
-    /**
6793
-     * Obtains the vertical and horizontal resolution.
6794
-     *
6795
-     * @return string|null
6796
-     * @since 3.4.1
6797
-     */
6798
-    #[Pure]
6799
-    public function getDensity() {}
6800
-
6801
-    /**
6802
-     * Sets the vertical and horizontal resolution.
6803
-     * @param string $density_string
6804
-     * @return bool
6805
-     * @throws ImagickException on error.
6806
-     * @since 3.4.1
6807
-     */
6808
-    public function setDensity($density_string) {}
5254
+	public function resetVectorGraphics() {}
5255
+
5256
+	#[Pure]
5257
+	public function getTextKerning() {}
5258
+
5259
+	/**
5260
+	 * @param float $kerning
5261
+	 */
5262
+	public function setTextKerning($kerning) {}
5263
+
5264
+	#[Pure]
5265
+	public function getTextInterWordSpacing() {}
5266
+
5267
+	/**
5268
+	 * @param $spacing
5269
+	 */
5270
+	public function setTextInterWordSpacing($spacing) {}
5271
+
5272
+	#[Pure]
5273
+	public function getTextInterLineSpacing() {}
5274
+
5275
+	/**
5276
+	 * @param $spacing
5277
+	 */
5278
+	public function setTextInterLineSpacing($spacing) {}
5279
+
5280
+	/**
5281
+	 * (PECL imagick 2.0.0)<br/>
5282
+	 * The ImagickDraw constructor
5283
+	 * @link https://php.net/manual/en/imagickdraw.construct.php
5284
+	 */
5285
+	public function __construct() {}
5286
+
5287
+	/**
5288
+	 * (PECL imagick 2.0.0)<br/>
5289
+	 * Sets the fill color to be used for drawing filled objects
5290
+	 * @link https://php.net/manual/en/imagickdraw.setfillcolor.php
5291
+	 * @param ImagickPixel $fill_pixel <p>
5292
+	 * ImagickPixel to use to set the color
5293
+	 * </p>
5294
+	 * @return bool No value is returned.
5295
+	 * @throws ImagickDrawException on error.
5296
+	 */
5297
+	public function setFillColor(ImagickPixel $fill_pixel) {}
5298
+
5299
+	/**
5300
+	 * (PECL imagick 2.0.0)<br/>
5301
+	 * Sets the opacity to use when drawing using the fill color or fill texture
5302
+	 * @link https://php.net/manual/en/imagickdraw.setfillalpha.php
5303
+	 * @param float $opacity <p>
5304
+	 * fill alpha
5305
+	 * </p>
5306
+	 * @return bool No value is returned.
5307
+	 */
5308
+	#[Deprecated]
5309
+	public function setFillAlpha($opacity) {}
5310
+
5311
+	/**
5312
+	 * Sets the image resolution
5313
+	 * @param float $x_resolution <p>The horizontal resolution.</p>
5314
+	 * @param float $y_resolution <p>The vertical resolution.</p>
5315
+	 * @return bool
5316
+	 * @throws ImagickDrawException on error.
5317
+	 */
5318
+	public function setResolution($x_resolution, $y_resolution) {}
5319
+
5320
+	/**
5321
+	 * (PECL imagick 2.0.0)<br/>
5322
+	 * Sets the color used for stroking object outlines
5323
+	 * @link https://php.net/manual/en/imagickdraw.setstrokecolor.php
5324
+	 * @param ImagickPixel $stroke_pixel <p>
5325
+	 * the stroke color
5326
+	 * </p>
5327
+	 * @return bool No value is returned.
5328
+	 * @throws ImagickDrawException on error.
5329
+	 */
5330
+	public function setStrokeColor(ImagickPixel $stroke_pixel) {}
5331
+
5332
+	/**
5333
+	 * (PECL imagick 2.0.0)<br/>
5334
+	 * Specifies the opacity of stroked object outlines
5335
+	 * @link https://php.net/manual/en/imagickdraw.setstrokealpha.php
5336
+	 * @param float $opacity <p>
5337
+	 * opacity
5338
+	 * </p>
5339
+	 * @return bool No value is returned.
5340
+	 */
5341
+	#[Deprecated]
5342
+	public function setStrokeAlpha($opacity) {}
5343
+
5344
+	/**
5345
+	 * (PECL imagick 2.0.0)<br/>
5346
+	 * Sets the width of the stroke used to draw object outlines
5347
+	 * @link https://php.net/manual/en/imagickdraw.setstrokewidth.php
5348
+	 * @param float $stroke_width <p>
5349
+	 * stroke width
5350
+	 * </p>
5351
+	 * @return bool No value is returned.
5352
+	 */
5353
+	public function setStrokeWidth($stroke_width) {}
5354
+
5355
+	/**
5356
+	 * (PECL imagick 2.0.0)<br/>
5357
+	 * Clears the ImagickDraw
5358
+	 * @link https://php.net/manual/en/imagickdraw.clear.php
5359
+	 * @return bool an ImagickDraw object.
5360
+	 */
5361
+	public function clear() {}
5362
+
5363
+	/**
5364
+	 * (PECL imagick 2.0.0)<br/>
5365
+	 * Draws a circle
5366
+	 * @link https://php.net/manual/en/imagickdraw.circle.php
5367
+	 * @param float $ox <p>
5368
+	 * origin x coordinate
5369
+	 * </p>
5370
+	 * @param float $oy <p>
5371
+	 * origin y coordinate
5372
+	 * </p>
5373
+	 * @param float $px <p>
5374
+	 * perimeter x coordinate
5375
+	 * </p>
5376
+	 * @param float $py <p>
5377
+	 * perimeter y coordinate
5378
+	 * </p>
5379
+	 * @return bool No value is returned.
5380
+	 */
5381
+	public function circle($ox, $oy, $px, $py) {}
5382
+
5383
+	/**
5384
+	 * (PECL imagick 2.0.0)<br/>
5385
+	 * Draws text on the image
5386
+	 * @link https://php.net/manual/en/imagickdraw.annotation.php
5387
+	 * @param float $x <p>
5388
+	 * The x coordinate where text is drawn
5389
+	 * </p>
5390
+	 * @param float $y <p>
5391
+	 * The y coordinate where text is drawn
5392
+	 * </p>
5393
+	 * @param string $text <p>
5394
+	 * The text to draw on the image
5395
+	 * </p>
5396
+	 * @return bool No value is returned.
5397
+	 * @throws ImagickDrawException on error.
5398
+	 */
5399
+	public function annotation($x, $y, $text) {}
5400
+
5401
+	/**
5402
+	 * (PECL imagick 2.0.0)<br/>
5403
+	 * Controls whether text is antialiased
5404
+	 * @link https://php.net/manual/en/imagickdraw.settextantialias.php
5405
+	 * @param bool $antiAlias
5406
+	 * @return bool No value is returned.
5407
+	 */
5408
+	public function setTextAntialias($antiAlias) {}
5409
+
5410
+	/**
5411
+	 * (PECL imagick 2.0.0)<br/>
5412
+	 * Specifies specifies the text code set
5413
+	 * @link https://php.net/manual/en/imagickdraw.settextencoding.php
5414
+	 * @param string $encoding <p>
5415
+	 * the encoding name
5416
+	 * </p>
5417
+	 * @return bool No value is returned.
5418
+	 */
5419
+	public function setTextEncoding($encoding) {}
5420
+
5421
+	/**
5422
+	 * (PECL imagick 2.0.0)<br/>
5423
+	 * Sets the fully-specified font to use when annotating with text
5424
+	 * @link https://php.net/manual/en/imagickdraw.setfont.php
5425
+	 * @param string $font_name
5426
+	 * @return bool <b>TRUE</b> on success.
5427
+	 * @throws ImagickDrawException on error.
5428
+	 * @throws ImagickException on error.
5429
+	 */
5430
+	public function setFont($font_name) {}
5431
+
5432
+	/**
5433
+	 * (PECL imagick 2.0.0)<br/>
5434
+	 * Sets the font family to use when annotating with text
5435
+	 * @link https://php.net/manual/en/imagickdraw.setfontfamily.php
5436
+	 * @param string $font_family <p>
5437
+	 * the font family
5438
+	 * </p>
5439
+	 * @return bool <b>TRUE</b> on success.
5440
+	 * @throws ImagickDrawException on error.
5441
+	 * @throws ImagickException on error.
5442
+	 */
5443
+	public function setFontFamily($font_family) {}
5444
+
5445
+	/**
5446
+	 * (PECL imagick 2.0.0)<br/>
5447
+	 * Sets the font pointsize to use when annotating with text
5448
+	 * @link https://php.net/manual/en/imagickdraw.setfontsize.php
5449
+	 * @param float $pointsize <p>
5450
+	 * the point size
5451
+	 * </p>
5452
+	 * @return bool No value is returned.
5453
+	 */
5454
+	public function setFontSize($pointsize) {}
5455
+
5456
+	/**
5457
+	 * (PECL imagick 2.0.0)<br/>
5458
+	 * Sets the font style to use when annotating with text
5459
+	 * @link https://php.net/manual/en/imagickdraw.setfontstyle.php
5460
+	 * @param int $style <p>
5461
+	 * STYLETYPE_ constant
5462
+	 * </p>
5463
+	 * @return bool No value is returned.
5464
+	 */
5465
+	public function setFontStyle($style) {}
5466
+
5467
+	/**
5468
+	 * (PECL imagick 2.0.0)<br/>
5469
+	 * Sets the font weight
5470
+	 * @link https://php.net/manual/en/imagickdraw.setfontweight.php
5471
+	 * @param int $font_weight
5472
+	 * @return bool
5473
+	 * @throws ImagickDrawException on error.
5474
+	 */
5475
+	public function setFontWeight($font_weight) {}
5476
+
5477
+	/**
5478
+	 * (PECL imagick 2.0.0)<br/>
5479
+	 * Returns the font
5480
+	 * @link https://php.net/manual/en/imagickdraw.getfont.php
5481
+	 * @return string|false a string on success and false if no font is set.
5482
+	 */
5483
+	#[Pure]
5484
+	public function getFont() {}
5485
+
5486
+	/**
5487
+	 * (PECL imagick 2.0.0)<br/>
5488
+	 * Returns the font family
5489
+	 * @link https://php.net/manual/en/imagickdraw.getfontfamily.php
5490
+	 * @return string|false the font family currently selected or false if font family is not set.
5491
+	 */
5492
+	#[Pure]
5493
+	public function getFontFamily() {}
5494
+
5495
+	/**
5496
+	 * (PECL imagick 2.0.0)<br/>
5497
+	 * Returns the font pointsize
5498
+	 * @link https://php.net/manual/en/imagickdraw.getfontsize.php
5499
+	 * @return float the font size associated with the current ImagickDraw object.
5500
+	 */
5501
+	#[Pure]
5502
+	public function getFontSize() {}
5503
+
5504
+	/**
5505
+	 * (PECL imagick 2.0.0)<br/>
5506
+	 * Returns the font style
5507
+	 * @link https://php.net/manual/en/imagickdraw.getfontstyle.php
5508
+	 * @return int the font style constant (STYLE_) associated with the ImagickDraw object
5509
+	 * or 0 if no style is set.
5510
+	 */
5511
+	#[Pure]
5512
+	public function getFontStyle() {}
5513
+
5514
+	/**
5515
+	 * (PECL imagick 2.0.0)<br/>
5516
+	 * Returns the font weight
5517
+	 * @link https://php.net/manual/en/imagickdraw.getfontweight.php
5518
+	 * @return int an int on success and 0 if no weight is set.
5519
+	 */
5520
+	#[Pure]
5521
+	public function getFontWeight() {}
5522
+
5523
+	/**
5524
+	 * (PECL imagick 2.0.0)<br/>
5525
+	 * Frees all associated resources
5526
+	 * @link https://php.net/manual/en/imagickdraw.destroy.php
5527
+	 * @return bool No value is returned.
5528
+	 */
5529
+	public function destroy() {}
5530
+
5531
+	/**
5532
+	 * (PECL imagick 2.0.0)<br/>
5533
+	 * Draws a rectangle
5534
+	 * @link https://php.net/manual/en/imagickdraw.rectangle.php
5535
+	 * @param float $x1 <p>
5536
+	 * x coordinate of the top left corner
5537
+	 * </p>
5538
+	 * @param float $y1 <p>
5539
+	 * y coordinate of the top left corner
5540
+	 * </p>
5541
+	 * @param float $x2 <p>
5542
+	 * x coordinate of the bottom right corner
5543
+	 * </p>
5544
+	 * @param float $y2 <p>
5545
+	 * y coordinate of the bottom right corner
5546
+	 * </p>
5547
+	 * @return bool No value is returned.
5548
+	 */
5549
+	public function rectangle($x1, $y1, $x2, $y2) {}
5550
+
5551
+	/**
5552
+	 * (PECL imagick 2.0.0)<br/>
5553
+	 * Draws a rounded rectangle
5554
+	 * @link https://php.net/manual/en/imagickdraw.roundrectangle.php
5555
+	 * @param float $x1 <p>
5556
+	 * x coordinate of the top left corner
5557
+	 * </p>
5558
+	 * @param float $y1 <p>
5559
+	 * y coordinate of the top left corner
5560
+	 * </p>
5561
+	 * @param float $x2 <p>
5562
+	 * x coordinate of the bottom right
5563
+	 * </p>
5564
+	 * @param float $y2 <p>
5565
+	 * y coordinate of the bottom right
5566
+	 * </p>
5567
+	 * @param float $rx <p>
5568
+	 * x rounding
5569
+	 * </p>
5570
+	 * @param float $ry <p>
5571
+	 * y rounding
5572
+	 * </p>
5573
+	 * @return bool No value is returned.
5574
+	 */
5575
+	public function roundRectangle($x1, $y1, $x2, $y2, $rx, $ry) {}
5576
+
5577
+	/**
5578
+	 * (PECL imagick 2.0.0)<br/>
5579
+	 * Draws an ellipse on the image
5580
+	 * @link https://php.net/manual/en/imagickdraw.ellipse.php
5581
+	 * @param float $ox
5582
+	 * @param float $oy
5583
+	 * @param float $rx
5584
+	 * @param float $ry
5585
+	 * @param float $start
5586
+	 * @param float $end
5587
+	 * @return bool No value is returned.
5588
+	 */
5589
+	public function ellipse($ox, $oy, $rx, $ry, $start, $end) {}
5590
+
5591
+	/**
5592
+	 * (PECL imagick 2.0.0)<br/>
5593
+	 * Skews the current coordinate system in the horizontal direction
5594
+	 * @link https://php.net/manual/en/imagickdraw.skewx.php
5595
+	 * @param float $degrees <p>
5596
+	 * degrees to skew
5597
+	 * </p>
5598
+	 * @return bool No value is returned.
5599
+	 */
5600
+	public function skewX($degrees) {}
5601
+
5602
+	/**
5603
+	 * (PECL imagick 2.0.0)<br/>
5604
+	 * Skews the current coordinate system in the vertical direction
5605
+	 * @link https://php.net/manual/en/imagickdraw.skewy.php
5606
+	 * @param float $degrees <p>
5607
+	 * degrees to skew
5608
+	 * </p>
5609
+	 * @return bool No value is returned.
5610
+	 */
5611
+	public function skewY($degrees) {}
5612
+
5613
+	/**
5614
+	 * (PECL imagick 2.0.0)<br/>
5615
+	 * Applies a translation to the current coordinate system
5616
+	 * @link https://php.net/manual/en/imagickdraw.translate.php
5617
+	 * @param float $x <p>
5618
+	 * horizontal translation
5619
+	 * </p>
5620
+	 * @param float $y <p>
5621
+	 * vertical translation
5622
+	 * </p>
5623
+	 * @return bool No value is returned.
5624
+	 */
5625
+	public function translate($x, $y) {}
5626
+
5627
+	/**
5628
+	 * (PECL imagick 2.0.0)<br/>
5629
+	 * Draws a line
5630
+	 * @link https://php.net/manual/en/imagickdraw.line.php
5631
+	 * @param float $sx <p>
5632
+	 * starting x coordinate
5633
+	 * </p>
5634
+	 * @param float $sy <p>
5635
+	 * starting y coordinate
5636
+	 * </p>
5637
+	 * @param float $ex <p>
5638
+	 * ending x coordinate
5639
+	 * </p>
5640
+	 * @param float $ey <p>
5641
+	 * ending y coordinate
5642
+	 * </p>
5643
+	 * @return bool No value is returned.
5644
+	 */
5645
+	public function line($sx, $sy, $ex, $ey) {}
5646
+
5647
+	/**
5648
+	 * (PECL imagick 2.0.0)<br/>
5649
+	 * Draws an arc
5650
+	 * @link https://php.net/manual/en/imagickdraw.arc.php
5651
+	 * @param float $sx <p>
5652
+	 * Starting x ordinate of bounding rectangle
5653
+	 * </p>
5654
+	 * @param float $sy <p>
5655
+	 * starting y ordinate of bounding rectangle
5656
+	 * </p>
5657
+	 * @param float $ex <p>
5658
+	 * ending x ordinate of bounding rectangle
5659
+	 * </p>
5660
+	 * @param float $ey <p>
5661
+	 * ending y ordinate of bounding rectangle
5662
+	 * </p>
5663
+	 * @param float $sd <p>
5664
+	 * starting degrees of rotation
5665
+	 * </p>
5666
+	 * @param float $ed <p>
5667
+	 * ending degrees of rotation
5668
+	 * </p>
5669
+	 * @return bool No value is returned.
5670
+	 */
5671
+	public function arc($sx, $sy, $ex, $ey, $sd, $ed) {}
5672
+
5673
+	/**
5674
+	 * (PECL imagick 2.0.0)<br/>
5675
+	 * Paints on the image's opacity channel
5676
+	 * @link https://php.net/manual/en/imagickdraw.matte.php
5677
+	 * @param float $x <p>
5678
+	 * x coordinate of the matte
5679
+	 * </p>
5680
+	 * @param float $y <p>
5681
+	 * y coordinate of the matte
5682
+	 * </p>
5683
+	 * @param int $paintMethod <p>
5684
+	 * PAINT_ constant
5685
+	 * </p>
5686
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
5687
+	 */
5688
+	public function matte($x, $y, $paintMethod) {}
5689
+
5690
+	/**
5691
+	 * (PECL imagick 2.0.0)<br/>
5692
+	 * Draws a polygon
5693
+	 * @link https://php.net/manual/en/imagickdraw.polygon.php
5694
+	 * @param array $coordinates <p>
5695
+	 * multidimensional array like array( array( 'x' => 3, 'y' => 4 ), array( 'x' => 2, 'y' => 6 ) );
5696
+	 * </p>
5697
+	 * @return bool <b>TRUE</b> on success.
5698
+	 * @throws ImagickDrawException on error.
5699
+	 */
5700
+	public function polygon(array $coordinates) {}
5701
+
5702
+	/**
5703
+	 * (PECL imagick 2.0.0)<br/>
5704
+	 * Draws a point
5705
+	 * @link https://php.net/manual/en/imagickdraw.point.php
5706
+	 * @param float $x <p>
5707
+	 * point's x coordinate
5708
+	 * </p>
5709
+	 * @param float $y <p>
5710
+	 * point's y coordinate
5711
+	 * </p>
5712
+	 * @return bool No value is returned.
5713
+	 */
5714
+	public function point($x, $y) {}
5715
+
5716
+	/**
5717
+	 * (PECL imagick 2.0.0)<br/>
5718
+	 * Returns the text decoration
5719
+	 * @link https://php.net/manual/en/imagickdraw.gettextdecoration.php
5720
+	 * @return int one of the DECORATION_ constants
5721
+	 * and 0 if no decoration is set.
5722
+	 */
5723
+	#[Pure]
5724
+	public function getTextDecoration() {}
5725
+
5726
+	/**
5727
+	 * (PECL imagick 2.0.0)<br/>
5728
+	 * Returns the code set used for text annotations
5729
+	 * @link https://php.net/manual/en/imagickdraw.gettextencoding.php
5730
+	 * @return string a string specifying the code set
5731
+	 * or false if text encoding is not set.
5732
+	 */
5733
+	#[Pure]
5734
+	public function getTextEncoding() {}
5735
+
5736
+	#[Pure]
5737
+	public function getFontStretch() {}
5738
+
5739
+	/**
5740
+	 * (PECL imagick 2.0.0)<br/>
5741
+	 * Sets the font stretch to use when annotating with text
5742
+	 * @link https://php.net/manual/en/imagickdraw.setfontstretch.php
5743
+	 * @param int $fontStretch <p>
5744
+	 * STRETCH_ constant
5745
+	 * </p>
5746
+	 * @return bool No value is returned.
5747
+	 */
5748
+	public function setFontStretch($fontStretch) {}
5749
+
5750
+	/**
5751
+	 * (PECL imagick 2.0.0)<br/>
5752
+	 * Controls whether stroked outlines are antialiased
5753
+	 * @link https://php.net/manual/en/imagickdraw.setstrokeantialias.php
5754
+	 * @param bool $stroke_antialias <p>
5755
+	 * the antialias setting
5756
+	 * </p>
5757
+	 * @return bool No value is returned.
5758
+	 */
5759
+	public function setStrokeAntialias($stroke_antialias) {}
5760
+
5761
+	/**
5762
+	 * (PECL imagick 2.0.0)<br/>
5763
+	 * Specifies a text alignment
5764
+	 * @link https://php.net/manual/en/imagickdraw.settextalignment.php
5765
+	 * @param int $alignment <p>
5766
+	 * ALIGN_ constant
5767
+	 * </p>
5768
+	 * @return bool No value is returned.
5769
+	 */
5770
+	public function setTextAlignment($alignment) {}
5771
+
5772
+	/**
5773
+	 * (PECL imagick 2.0.0)<br/>
5774
+	 * Specifies a decoration
5775
+	 * @link https://php.net/manual/en/imagickdraw.settextdecoration.php
5776
+	 * @param int $decoration <p>
5777
+	 * DECORATION_ constant
5778
+	 * </p>
5779
+	 * @return bool No value is returned.
5780
+	 */
5781
+	public function setTextDecoration($decoration) {}
5782
+
5783
+	/**
5784
+	 * (PECL imagick 2.0.0)<br/>
5785
+	 * Specifies the color of a background rectangle
5786
+	 * @link https://php.net/manual/en/imagickdraw.settextundercolor.php
5787
+	 * @param ImagickPixel $under_color <p>
5788
+	 * the under color
5789
+	 * </p>
5790
+	 * @return bool No value is returned.
5791
+	 * @throws ImagickDrawException on error.
5792
+	 */
5793
+	public function setTextUnderColor(ImagickPixel $under_color) {}
5794
+
5795
+	/**
5796
+	 * (PECL imagick 2.0.0)<br/>
5797
+	 * Sets the overall canvas size
5798
+	 * @link https://php.net/manual/en/imagickdraw.setviewbox.php
5799
+	 * @param int $x1 <p>
5800
+	 * left x coordinate
5801
+	 * </p>
5802
+	 * @param int $y1 <p>
5803
+	 * left y coordinate
5804
+	 * </p>
5805
+	 * @param int $x2 <p>
5806
+	 * right x coordinate
5807
+	 * </p>
5808
+	 * @param int $y2 <p>
5809
+	 * right y coordinate
5810
+	 * </p>
5811
+	 * @return bool No value is returned.
5812
+	 */
5813
+	public function setViewbox($x1, $y1, $x2, $y2) {}
5814
+
5815
+	/**
5816
+	 * (PECL imagick 2.0.0)<br/>
5817
+	 * Adjusts the current affine transformation matrix
5818
+	 * @link https://php.net/manual/en/imagickdraw.affine.php
5819
+	 * @param array $affine <p>
5820
+	 * Affine matrix parameters
5821
+	 * </p>
5822
+	 * @return bool No value is returned.
5823
+	 * @throws ImagickDrawException on error.
5824
+	 */
5825
+	public function affine(array $affine) {}
5826
+
5827
+	/**
5828
+	 * (PECL imagick 2.0.0)<br/>
5829
+	 * Draws a bezier curve
5830
+	 * @link https://php.net/manual/en/imagickdraw.bezier.php
5831
+	 * @param array $coordinates <p>
5832
+	 * Multidimensional array like array( array( 'x' => 1, 'y' => 2 ),
5833
+	 * array( 'x' => 3, 'y' => 4 ) )
5834
+	 * </p>
5835
+	 * @return bool No value is returned.
5836
+	 * @throws ImagickDrawException on error.
5837
+	 */
5838
+	public function bezier(array $coordinates) {}
5839
+
5840
+	/**
5841
+	 * (PECL imagick 2.0.0)<br/>
5842
+	 * Composites an image onto the current image
5843
+	 * @link https://php.net/manual/en/imagickdraw.composite.php
5844
+	 * @param int $compose <p>
5845
+	 * composition operator. One of COMPOSITE_ constants
5846
+	 * </p>
5847
+	 * @param float $x <p>
5848
+	 * x coordinate of the top left corner
5849
+	 * </p>
5850
+	 * @param float $y <p>
5851
+	 * y coordinate of the top left corner
5852
+	 * </p>
5853
+	 * @param float $width <p>
5854
+	 * width of the composition image
5855
+	 * </p>
5856
+	 * @param float $height <p>
5857
+	 * height of the composition image
5858
+	 * </p>
5859
+	 * @param Imagick $compositeWand <p>
5860
+	 * the Imagick object where composition image is taken from
5861
+	 * </p>
5862
+	 * @return bool <b>TRUE</b> on success.
5863
+	 * @throws ImagickException on error.
5864
+	 */
5865
+	public function composite($compose, $x, $y, $width, $height, Imagick $compositeWand) {}
5866
+
5867
+	/**
5868
+	 * (PECL imagick 2.0.0)<br/>
5869
+	 * Draws color on image
5870
+	 * @link https://php.net/manual/en/imagickdraw.color.php
5871
+	 * @param float $x <p>
5872
+	 * x coordinate of the paint
5873
+	 * </p>
5874
+	 * @param float $y <p>
5875
+	 * y coordinate of the paint
5876
+	 * </p>
5877
+	 * @param int $paintMethod <p>
5878
+	 * one of the PAINT_ constants
5879
+	 * </p>
5880
+	 * @return bool No value is returned.
5881
+	 */
5882
+	public function color($x, $y, $paintMethod) {}
5883
+
5884
+	/**
5885
+	 * (PECL imagick 2.0.0)<br/>
5886
+	 * Adds a comment
5887
+	 * @link https://php.net/manual/en/imagickdraw.comment.php
5888
+	 * @param string $comment <p>
5889
+	 * The comment string to add to vector output stream
5890
+	 * </p>
5891
+	 * @return bool No value is returned.
5892
+	 */
5893
+	public function comment($comment) {}
5894
+
5895
+	/**
5896
+	 * (PECL imagick 2.0.0)<br/>
5897
+	 * Obtains the current clipping path ID
5898
+	 * @link https://php.net/manual/en/imagickdraw.getclippath.php
5899
+	 * @return string|false a string containing the clip path ID or false if no clip path exists.
5900
+	 */
5901
+	#[Pure]
5902
+	public function getClipPath() {}
5903
+
5904
+	/**
5905
+	 * (PECL imagick 2.0.0)<br/>
5906
+	 * Returns the current polygon fill rule
5907
+	 * @link https://php.net/manual/en/imagickdraw.getcliprule.php
5908
+	 * @return int one of the FILLRULE_ constants.
5909
+	 */
5910
+	#[Pure]
5911
+	public function getClipRule() {}
5912
+
5913
+	/**
5914
+	 * (PECL imagick 2.0.0)<br/>
5915
+	 * Returns the interpretation of clip path units
5916
+	 * @link https://php.net/manual/en/imagickdraw.getclipunits.php
5917
+	 * @return int an int on success.
5918
+	 */
5919
+	#[Pure]
5920
+	public function getClipUnits() {}
5921
+
5922
+	/**
5923
+	 * (PECL imagick 2.0.0)<br/>
5924
+	 * Returns the fill color
5925
+	 * @link https://php.net/manual/en/imagickdraw.getfillcolor.php
5926
+	 * @return ImagickPixel an ImagickPixel object.
5927
+	 */
5928
+	#[Pure]
5929
+	public function getFillColor() {}
5930
+
5931
+	/**
5932
+	 * (PECL imagick 2.0.0)<br/>
5933
+	 * Returns the opacity used when drawing
5934
+	 * @link https://php.net/manual/en/imagickdraw.getfillopacity.php
5935
+	 * @return float The opacity.
5936
+	 */
5937
+	#[Pure]
5938
+	public function getFillOpacity() {}
5939
+
5940
+	/**
5941
+	 * (PECL imagick 2.0.0)<br/>
5942
+	 * Returns the fill rule
5943
+	 * @link https://php.net/manual/en/imagickdraw.getfillrule.php
5944
+	 * @return int a FILLRULE_ constant
5945
+	 */
5946
+	#[Pure]
5947
+	public function getFillRule() {}
5948
+
5949
+	/**
5950
+	 * (PECL imagick 2.0.0)<br/>
5951
+	 * Returns the text placement gravity
5952
+	 * @link https://php.net/manual/en/imagickdraw.getgravity.php
5953
+	 * @return int a GRAVITY_ constant on success and 0 if no gravity is set.
5954
+	 */
5955
+	#[Pure]
5956
+	public function getGravity() {}
5957
+
5958
+	/**
5959
+	 * (PECL imagick 2.0.0)<br/>
5960
+	 * Returns the current stroke antialias setting
5961
+	 * @link https://php.net/manual/en/imagickdraw.getstrokeantialias.php
5962
+	 * @return bool <b>TRUE</b> if antialiasing is on and false if it is off.
5963
+	 */
5964
+	#[Pure]
5965
+	public function getStrokeAntialias() {}
5966
+
5967
+	/**
5968
+	 * (PECL imagick 2.0.0)<br/>
5969
+	 * Returns the color used for stroking object outlines
5970
+	 * @link https://php.net/manual/en/imagickdraw.getstrokecolor.php
5971
+	 * @return ImagickPixel an ImagickPixel object which describes the color.
5972
+	 */
5973
+	#[Pure]
5974
+	public function getStrokeColor() {}
5975
+
5976
+	/**
5977
+	 * (PECL imagick 2.0.0)<br/>
5978
+	 * Returns an array representing the pattern of dashes and gaps used to stroke paths
5979
+	 * @link https://php.net/manual/en/imagickdraw.getstrokedasharray.php
5980
+	 * @return array an array on success and empty array if not set.
5981
+	 */
5982
+	#[Pure]
5983
+	public function getStrokeDashArray() {}
5984
+
5985
+	/**
5986
+	 * (PECL imagick 2.0.0)<br/>
5987
+	 * Returns the offset into the dash pattern to start the dash
5988
+	 * @link https://php.net/manual/en/imagickdraw.getstrokedashoffset.php
5989
+	 * @return float a float representing the offset and 0 if it's not set.
5990
+	 */
5991
+	#[Pure]
5992
+	public function getStrokeDashOffset() {}
5993
+
5994
+	/**
5995
+	 * (PECL imagick 2.0.0)<br/>
5996
+	 * Returns the shape to be used at the end of open subpaths when they are stroked
5997
+	 * @link https://php.net/manual/en/imagickdraw.getstrokelinecap.php
5998
+	 * @return int one of the LINECAP_ constants or 0 if stroke linecap is not set.
5999
+	 */
6000
+	#[Pure]
6001
+	public function getStrokeLineCap() {}
6002
+
6003
+	/**
6004
+	 * (PECL imagick 2.0.0)<br/>
6005
+	 * Returns the shape to be used at the corners of paths when they are stroked
6006
+	 * @link https://php.net/manual/en/imagickdraw.getstrokelinejoin.php
6007
+	 * @return int one of the LINEJOIN_ constants or 0 if stroke line join is not set.
6008
+	 */
6009
+	#[Pure]
6010
+	public function getStrokeLineJoin() {}
6011
+
6012
+	/**
6013
+	 * (PECL imagick 2.0.0)<br/>
6014
+	 * Returns the stroke miter limit
6015
+	 * @link https://php.net/manual/en/imagickdraw.getstrokemiterlimit.php
6016
+	 * @return int an int describing the miter limit
6017
+	 * and 0 if no miter limit is set.
6018
+	 */
6019
+	#[Pure]
6020
+	public function getStrokeMiterLimit() {}
6021
+
6022
+	/**
6023
+	 * (PECL imagick 2.0.0)<br/>
6024
+	 * Returns the opacity of stroked object outlines
6025
+	 * @link https://php.net/manual/en/imagickdraw.getstrokeopacity.php
6026
+	 * @return float a float describing the opacity.
6027
+	 */
6028
+	#[Pure]
6029
+	public function getStrokeOpacity() {}
6030
+
6031
+	/**
6032
+	 * (PECL imagick 2.0.0)<br/>
6033
+	 * Returns the width of the stroke used to draw object outlines
6034
+	 * @link https://php.net/manual/en/imagickdraw.getstrokewidth.php
6035
+	 * @return float a float describing the stroke width.
6036
+	 */
6037
+	#[Pure]
6038
+	public function getStrokeWidth() {}
6039
+
6040
+	/**
6041
+	 * (PECL imagick 2.0.0)<br/>
6042
+	 * Returns the text alignment
6043
+	 * @link https://php.net/manual/en/imagickdraw.gettextalignment.php
6044
+	 * @return int one of the ALIGN_ constants and 0 if no align is set.
6045
+	 */
6046
+	#[Pure]
6047
+	public function getTextAlignment() {}
6048
+
6049
+	/**
6050
+	 * (PECL imagick 2.0.0)<br/>
6051
+	 * Returns the current text antialias setting
6052
+	 * @link https://php.net/manual/en/imagickdraw.gettextantialias.php
6053
+	 * @return bool <b>TRUE</b> if text is antialiased and false if not.
6054
+	 */
6055
+	#[Pure]
6056
+	public function getTextAntialias() {}
6057
+
6058
+	/**
6059
+	 * (PECL imagick 2.0.0)<br/>
6060
+	 * Returns a string containing vector graphics
6061
+	 * @link https://php.net/manual/en/imagickdraw.getvectorgraphics.php
6062
+	 * @return string a string containing the vector graphics.
6063
+	 */
6064
+	#[Pure]
6065
+	public function getVectorGraphics() {}
6066
+
6067
+	/**
6068
+	 * (PECL imagick 2.0.0)<br/>
6069
+	 * Returns the text under color
6070
+	 * @link https://php.net/manual/en/imagickdraw.gettextundercolor.php
6071
+	 * @return ImagickPixel an ImagickPixel object describing the color.
6072
+	 * @throws ImagickDrawException on error.
6073
+	 */
6074
+	#[Pure]
6075
+	public function getTextUnderColor() {}
6076
+
6077
+	/**
6078
+	 * (PECL imagick 2.0.0)<br/>
6079
+	 * Adds a path element to the current path
6080
+	 * @link https://php.net/manual/en/imagickdraw.pathclose.php
6081
+	 * @return bool No value is returned.
6082
+	 */
6083
+	public function pathClose() {}
6084
+
6085
+	/**
6086
+	 * (PECL imagick 2.0.0)<br/>
6087
+	 * Draws a cubic Bezier curve
6088
+	 * @link https://php.net/manual/en/imagickdraw.pathcurvetoabsolute.php
6089
+	 * @param float $x1 <p>
6090
+	 * x coordinate of the first control point
6091
+	 * </p>
6092
+	 * @param float $y1 <p>
6093
+	 * y coordinate of the first control point
6094
+	 * </p>
6095
+	 * @param float $x2 <p>
6096
+	 * x coordinate of the second control point
6097
+	 * </p>
6098
+	 * @param float $y2 <p>
6099
+	 * y coordinate of the first control point
6100
+	 * </p>
6101
+	 * @param float $x <p>
6102
+	 * x coordinate of the curve end
6103
+	 * </p>
6104
+	 * @param float $y <p>
6105
+	 * y coordinate of the curve end
6106
+	 * </p>
6107
+	 * @return bool No value is returned.
6108
+	 */
6109
+	public function pathCurveToAbsolute($x1, $y1, $x2, $y2, $x, $y) {}
6110
+
6111
+	/**
6112
+	 * (PECL imagick 2.0.0)<br/>
6113
+	 * Draws a cubic Bezier curve
6114
+	 * @link https://php.net/manual/en/imagickdraw.pathcurvetorelative.php
6115
+	 * @param float $x1 <p>
6116
+	 * x coordinate of starting control point
6117
+	 * </p>
6118
+	 * @param float $y1 <p>
6119
+	 * y coordinate of starting control point
6120
+	 * </p>
6121
+	 * @param float $x2 <p>
6122
+	 * x coordinate of ending control point
6123
+	 * </p>
6124
+	 * @param float $y2 <p>
6125
+	 * y coordinate of ending control point
6126
+	 * </p>
6127
+	 * @param float $x <p>
6128
+	 * ending x coordinate
6129
+	 * </p>
6130
+	 * @param float $y <p>
6131
+	 * ending y coordinate
6132
+	 * </p>
6133
+	 * @return bool No value is returned.
6134
+	 */
6135
+	public function pathCurveToRelative($x1, $y1, $x2, $y2, $x, $y) {}
6136
+
6137
+	/**
6138
+	 * (PECL imagick 2.0.0)<br/>
6139
+	 * Draws a quadratic Bezier curve
6140
+	 * @link https://php.net/manual/en/imagickdraw.pathcurvetoquadraticbezierabsolute.php
6141
+	 * @param float $x1 <p>
6142
+	 * x coordinate of the control point
6143
+	 * </p>
6144
+	 * @param float $y1 <p>
6145
+	 * y coordinate of the control point
6146
+	 * </p>
6147
+	 * @param float $x <p>
6148
+	 * x coordinate of the end point
6149
+	 * </p>
6150
+	 * @param float $y <p>
6151
+	 * y coordinate of the end point
6152
+	 * </p>
6153
+	 * @return bool No value is returned.
6154
+	 */
6155
+	public function pathCurveToQuadraticBezierAbsolute($x1, $y1, $x, $y) {}
6156
+
6157
+	/**
6158
+	 * (PECL imagick 2.0.0)<br/>
6159
+	 * Draws a quadratic Bezier curve
6160
+	 * @link https://php.net/manual/en/imagickdraw.pathcurvetoquadraticbezierrelative.php
6161
+	 * @param float $x1 <p>
6162
+	 * starting x coordinate
6163
+	 * </p>
6164
+	 * @param float $y1 <p>
6165
+	 * starting y coordinate
6166
+	 * </p>
6167
+	 * @param float $x <p>
6168
+	 * ending x coordinate
6169
+	 * </p>
6170
+	 * @param float $y <p>
6171
+	 * ending y coordinate
6172
+	 * </p>
6173
+	 * @return bool No value is returned.
6174
+	 */
6175
+	public function pathCurveToQuadraticBezierRelative($x1, $y1, $x, $y) {}
6176
+
6177
+	/**
6178
+	 * (PECL imagick 2.0.0)<br/>
6179
+	 * Draws a quadratic Bezier curve
6180
+	 * @link https://php.net/manual/en/imagickdraw.pathcurvetoquadraticbeziersmoothabsolute.php
6181
+	 * @param float $x <p>
6182
+	 * ending x coordinate
6183
+	 * </p>
6184
+	 * @param float $y <p>
6185
+	 * ending y coordinate
6186
+	 * </p>
6187
+	 * @return bool No value is returned.
6188
+	 */
6189
+	public function pathCurveToQuadraticBezierSmoothAbsolute($x, $y) {}
6190
+
6191
+	/**
6192
+	 * (PECL imagick 2.0.0)<br/>
6193
+	 * Draws a quadratic Bezier curve
6194
+	 * @link https://php.net/manual/en/imagickdraw.pathcurvetoquadraticbeziersmoothrelative.php
6195
+	 * @param float $x <p>
6196
+	 * ending x coordinate
6197
+	 * </p>
6198
+	 * @param float $y <p>
6199
+	 * ending y coordinate
6200
+	 * </p>
6201
+	 * @return bool No value is returned.
6202
+	 */
6203
+	public function pathCurveToQuadraticBezierSmoothRelative($x, $y) {}
6204
+
6205
+	/**
6206
+	 * (PECL imagick 2.0.0)<br/>
6207
+	 * Draws a cubic Bezier curve
6208
+	 * @link https://php.net/manual/en/imagickdraw.pathcurvetosmoothabsolute.php
6209
+	 * @param float $x2 <p>
6210
+	 * x coordinate of the second control point
6211
+	 * </p>
6212
+	 * @param float $y2 <p>
6213
+	 * y coordinate of the second control point
6214
+	 * </p>
6215
+	 * @param float $x <p>
6216
+	 * x coordinate of the ending point
6217
+	 * </p>
6218
+	 * @param float $y <p>
6219
+	 * y coordinate of the ending point
6220
+	 * </p>
6221
+	 * @return bool No value is returned.
6222
+	 */
6223
+	public function pathCurveToSmoothAbsolute($x2, $y2, $x, $y) {}
6224
+
6225
+	/**
6226
+	 * (PECL imagick 2.0.0)<br/>
6227
+	 * Draws a cubic Bezier curve
6228
+	 * @link https://php.net/manual/en/imagickdraw.pathcurvetosmoothrelative.php
6229
+	 * @param float $x2 <p>
6230
+	 * x coordinate of the second control point
6231
+	 * </p>
6232
+	 * @param float $y2 <p>
6233
+	 * y coordinate of the second control point
6234
+	 * </p>
6235
+	 * @param float $x <p>
6236
+	 * x coordinate of the ending point
6237
+	 * </p>
6238
+	 * @param float $y <p>
6239
+	 * y coordinate of the ending point
6240
+	 * </p>
6241
+	 * @return bool No value is returned.
6242
+	 */
6243
+	public function pathCurveToSmoothRelative($x2, $y2, $x, $y) {}
6244
+
6245
+	/**
6246
+	 * (PECL imagick 2.0.0)<br/>
6247
+	 * Draws an elliptical arc
6248
+	 * @link https://php.net/manual/en/imagickdraw.pathellipticarcabsolute.php
6249
+	 * @param float $rx <p>
6250
+	 * x radius
6251
+	 * </p>
6252
+	 * @param float $ry <p>
6253
+	 * y radius
6254
+	 * </p>
6255
+	 * @param float $x_axis_rotation <p>
6256
+	 * x axis rotation
6257
+	 * </p>
6258
+	 * @param bool $large_arc_flag <p>
6259
+	 * large arc flag
6260
+	 * </p>
6261
+	 * @param bool $sweep_flag <p>
6262
+	 * sweep flag
6263
+	 * </p>
6264
+	 * @param float $x <p>
6265
+	 * x coordinate
6266
+	 * </p>
6267
+	 * @param float $y <p>
6268
+	 * y coordinate
6269
+	 * </p>
6270
+	 * @return bool No value is returned.
6271
+	 */
6272
+	public function pathEllipticArcAbsolute($rx, $ry, $x_axis_rotation, $large_arc_flag, $sweep_flag, $x, $y) {}
6273
+
6274
+	/**
6275
+	 * (PECL imagick 2.0.0)<br/>
6276
+	 * Draws an elliptical arc
6277
+	 * @link https://php.net/manual/en/imagickdraw.pathellipticarcrelative.php
6278
+	 * @param float $rx <p>
6279
+	 * x radius
6280
+	 * </p>
6281
+	 * @param float $ry <p>
6282
+	 * y radius
6283
+	 * </p>
6284
+	 * @param float $x_axis_rotation <p>
6285
+	 * x axis rotation
6286
+	 * </p>
6287
+	 * @param bool $large_arc_flag <p>
6288
+	 * large arc flag
6289
+	 * </p>
6290
+	 * @param bool $sweep_flag <p>
6291
+	 * sweep flag
6292
+	 * </p>
6293
+	 * @param float $x <p>
6294
+	 * x coordinate
6295
+	 * </p>
6296
+	 * @param float $y <p>
6297
+	 * y coordinate
6298
+	 * </p>
6299
+	 * @return bool No value is returned.
6300
+	 */
6301
+	public function pathEllipticArcRelative($rx, $ry, $x_axis_rotation, $large_arc_flag, $sweep_flag, $x, $y) {}
6302
+
6303
+	/**
6304
+	 * (PECL imagick 2.0.0)<br/>
6305
+	 * Terminates the current path
6306
+	 * @link https://php.net/manual/en/imagickdraw.pathfinish.php
6307
+	 * @return bool No value is returned.
6308
+	 */
6309
+	public function pathFinish() {}
6310
+
6311
+	/**
6312
+	 * (PECL imagick 2.0.0)<br/>
6313
+	 * Draws a line path
6314
+	 * @link https://php.net/manual/en/imagickdraw.pathlinetoabsolute.php
6315
+	 * @param float $x <p>
6316
+	 * starting x coordinate
6317
+	 * </p>
6318
+	 * @param float $y <p>
6319
+	 * ending x coordinate
6320
+	 * </p>
6321
+	 * @return bool No value is returned.
6322
+	 */
6323
+	public function pathLineToAbsolute($x, $y) {}
6324
+
6325
+	/**
6326
+	 * (PECL imagick 2.0.0)<br/>
6327
+	 * Draws a line path
6328
+	 * @link https://php.net/manual/en/imagickdraw.pathlinetorelative.php
6329
+	 * @param float $x <p>
6330
+	 * starting x coordinate
6331
+	 * </p>
6332
+	 * @param float $y <p>
6333
+	 * starting y coordinate
6334
+	 * </p>
6335
+	 * @return bool No value is returned.
6336
+	 */
6337
+	public function pathLineToRelative($x, $y) {}
6338
+
6339
+	/**
6340
+	 * (PECL imagick 2.0.0)<br/>
6341
+	 * Draws a horizontal line path
6342
+	 * @link https://php.net/manual/en/imagickdraw.pathlinetohorizontalabsolute.php
6343
+	 * @param float $x <p>
6344
+	 * x coordinate
6345
+	 * </p>
6346
+	 * @return bool No value is returned.
6347
+	 */
6348
+	public function pathLineToHorizontalAbsolute($x) {}
6349
+
6350
+	/**
6351
+	 * (PECL imagick 2.0.0)<br/>
6352
+	 * Draws a horizontal line
6353
+	 * @link https://php.net/manual/en/imagickdraw.pathlinetohorizontalrelative.php
6354
+	 * @param float $x <p>
6355
+	 * x coordinate
6356
+	 * </p>
6357
+	 * @return bool No value is returned.
6358
+	 */
6359
+	public function pathLineToHorizontalRelative($x) {}
6360
+
6361
+	/**
6362
+	 * (PECL imagick 2.0.0)<br/>
6363
+	 * Draws a vertical line
6364
+	 * @link https://php.net/manual/en/imagickdraw.pathlinetoverticalabsolute.php
6365
+	 * @param float $y <p>
6366
+	 * y coordinate
6367
+	 * </p>
6368
+	 * @return bool No value is returned.
6369
+	 */
6370
+	public function pathLineToVerticalAbsolute($y) {}
6371
+
6372
+	/**
6373
+	 * (PECL imagick 2.0.0)<br/>
6374
+	 * Draws a vertical line path
6375
+	 * @link https://php.net/manual/en/imagickdraw.pathlinetoverticalrelative.php
6376
+	 * @param float $y <p>
6377
+	 * y coordinate
6378
+	 * </p>
6379
+	 * @return bool No value is returned.
6380
+	 */
6381
+	public function pathLineToVerticalRelative($y) {}
6382
+
6383
+	/**
6384
+	 * (PECL imagick 2.0.0)<br/>
6385
+	 * Starts a new sub-path
6386
+	 * @link https://php.net/manual/en/imagickdraw.pathmovetoabsolute.php
6387
+	 * @param float $x <p>
6388
+	 * x coordinate of the starting point
6389
+	 * </p>
6390
+	 * @param float $y <p>
6391
+	 * y coordinate of the starting point
6392
+	 * </p>
6393
+	 * @return bool No value is returned.
6394
+	 */
6395
+	public function pathMoveToAbsolute($x, $y) {}
6396
+
6397
+	/**
6398
+	 * (PECL imagick 2.0.0)<br/>
6399
+	 * Starts a new sub-path
6400
+	 * @link https://php.net/manual/en/imagickdraw.pathmovetorelative.php
6401
+	 * @param float $x <p>
6402
+	 * target x coordinate
6403
+	 * </p>
6404
+	 * @param float $y <p>
6405
+	 * target y coordinate
6406
+	 * </p>
6407
+	 * @return bool No value is returned.
6408
+	 */
6409
+	public function pathMoveToRelative($x, $y) {}
6410
+
6411
+	/**
6412
+	 * (PECL imagick 2.0.0)<br/>
6413
+	 * Declares the start of a path drawing list
6414
+	 * @link https://php.net/manual/en/imagickdraw.pathstart.php
6415
+	 * @return bool No value is returned.
6416
+	 */
6417
+	public function pathStart() {}
6418
+
6419
+	/**
6420
+	 * (PECL imagick 2.0.0)<br/>
6421
+	 * Draws a polyline
6422
+	 * @link https://php.net/manual/en/imagickdraw.polyline.php
6423
+	 * @param array $coordinates <p>
6424
+	 * array of x and y coordinates: array( array( 'x' => 4, 'y' => 6 ), array( 'x' => 8, 'y' => 10 ) )
6425
+	 * </p>
6426
+	 * @return bool <b>TRUE</b> on success.
6427
+	 * @throws ImagickDrawException on error.
6428
+	 */
6429
+	public function polyline(array $coordinates) {}
6430
+
6431
+	/**
6432
+	 * (PECL imagick 2.0.0)<br/>
6433
+	 * Terminates a clip path definition
6434
+	 * @link https://php.net/manual/en/imagickdraw.popclippath.php
6435
+	 * @return bool No value is returned.
6436
+	 */
6437
+	public function popClipPath() {}
6438
+
6439
+	/**
6440
+	 * (PECL imagick 2.0.0)<br/>
6441
+	 * Terminates a definition list
6442
+	 * @link https://php.net/manual/en/imagickdraw.popdefs.php
6443
+	 * @return bool No value is returned.
6444
+	 */
6445
+	public function popDefs() {}
6446
+
6447
+	/**
6448
+	 * (PECL imagick 2.0.0)<br/>
6449
+	 * Terminates a pattern definition
6450
+	 * @link https://php.net/manual/en/imagickdraw.poppattern.php
6451
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
6452
+	 * @throws ImagickException on error.
6453
+	 */
6454
+	public function popPattern() {}
6455
+
6456
+	/**
6457
+	 * (PECL imagick 2.0.0)<br/>
6458
+	 * Starts a clip path definition
6459
+	 * @link https://php.net/manual/en/imagickdraw.pushclippath.php
6460
+	 * @param string $clip_mask_id <p>
6461
+	 * Clip mask Id
6462
+	 * </p>
6463
+	 * @return bool No value is returned.
6464
+	 */
6465
+	public function pushClipPath($clip_mask_id) {}
6466
+
6467
+	/**
6468
+	 * (PECL imagick 2.0.0)<br/>
6469
+	 * Indicates that following commands create named elements for early processing
6470
+	 * @link https://php.net/manual/en/imagickdraw.pushdefs.php
6471
+	 * @return bool No value is returned.
6472
+	 */
6473
+	public function pushDefs() {}
6474
+
6475
+	/**
6476
+	 * (PECL imagick 2.0.0)<br/>
6477
+	 * Indicates that subsequent commands up to a ImagickDraw::opPattern() command comprise the definition of a named pattern
6478
+	 * @link https://php.net/manual/en/imagickdraw.pushpattern.php
6479
+	 * @param string $pattern_id <p>
6480
+	 * the pattern Id
6481
+	 * </p>
6482
+	 * @param float $x <p>
6483
+	 * x coordinate of the top-left corner
6484
+	 * </p>
6485
+	 * @param float $y <p>
6486
+	 * y coordinate of the top-left corner
6487
+	 * </p>
6488
+	 * @param float $width <p>
6489
+	 * width of the pattern
6490
+	 * </p>
6491
+	 * @param float $height <p>
6492
+	 * height of the pattern
6493
+	 * </p>
6494
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
6495
+	 */
6496
+	public function pushPattern($pattern_id, $x, $y, $width, $height) {}
6497
+
6498
+	/**
6499
+	 * (PECL imagick 2.0.0)<br/>
6500
+	 * Renders all preceding drawing commands onto the image
6501
+	 * @link https://php.net/manual/en/imagickdraw.render.php
6502
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
6503
+	 * @throws ImagickException on error.
6504
+	 */
6505
+	public function render() {}
6506
+
6507
+	/**
6508
+	 * (PECL imagick 2.0.0)<br/>
6509
+	 * Applies the specified rotation to the current coordinate space
6510
+	 * @link https://php.net/manual/en/imagickdraw.rotate.php
6511
+	 * @param float $degrees <p>
6512
+	 * degrees to rotate
6513
+	 * </p>
6514
+	 * @return bool No value is returned.
6515
+	 */
6516
+	public function rotate($degrees) {}
6517
+
6518
+	/**
6519
+	 * (PECL imagick 2.0.0)<br/>
6520
+	 * Adjusts the scaling factor
6521
+	 * @link https://php.net/manual/en/imagickdraw.scale.php
6522
+	 * @param float $x <p>
6523
+	 * horizontal factor
6524
+	 * </p>
6525
+	 * @param float $y <p>
6526
+	 * vertical factor
6527
+	 * </p>
6528
+	 * @return bool No value is returned.
6529
+	 */
6530
+	public function scale($x, $y) {}
6531
+
6532
+	/**
6533
+	 * (PECL imagick 2.0.0)<br/>
6534
+	 * Associates a named clipping path with the image
6535
+	 * @link https://php.net/manual/en/imagickdraw.setclippath.php
6536
+	 * @param string $clip_mask <p>
6537
+	 * the clipping path name
6538
+	 * </p>
6539
+	 * @return bool No value is returned.
6540
+	 * @throws ImagickException on error.
6541
+	 */
6542
+	public function setClipPath($clip_mask) {}
6543
+
6544
+	/**
6545
+	 * (PECL imagick 2.0.0)<br/>
6546
+	 * Set the polygon fill rule to be used by the clipping path
6547
+	 * @link https://php.net/manual/en/imagickdraw.setcliprule.php
6548
+	 * @param int $fill_rule <p>
6549
+	 * FILLRULE_ constant
6550
+	 * </p>
6551
+	 * @return bool No value is returned.
6552
+	 */
6553
+	public function setClipRule($fill_rule) {}
6554
+
6555
+	/**
6556
+	 * (PECL imagick 2.0.0)<br/>
6557
+	 * Sets the interpretation of clip path units
6558
+	 * @link https://php.net/manual/en/imagickdraw.setclipunits.php
6559
+	 * @param int $clip_units <p>
6560
+	 * the number of clip units
6561
+	 * </p>
6562
+	 * @return bool No value is returned.
6563
+	 */
6564
+	public function setClipUnits($clip_units) {}
6565
+
6566
+	/**
6567
+	 * (PECL imagick 2.0.0)<br/>
6568
+	 * Sets the opacity to use when drawing using the fill color or fill texture
6569
+	 * @link https://php.net/manual/en/imagickdraw.setfillopacity.php
6570
+	 * @param float $fillOpacity <p>
6571
+	 * the fill opacity
6572
+	 * </p>
6573
+	 * @return bool No value is returned.
6574
+	 */
6575
+	public function setFillOpacity($fillOpacity) {}
6576
+
6577
+	/**
6578
+	 * (PECL imagick 2.0.0)<br/>
6579
+	 * Sets the URL to use as a fill pattern for filling objects
6580
+	 * @link https://php.net/manual/en/imagickdraw.setfillpatternurl.php
6581
+	 * @param string $fill_url <p>
6582
+	 * URL to use to obtain fill pattern.
6583
+	 * </p>
6584
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
6585
+	 * @throws ImagickException on error.
6586
+	 */
6587
+	public function setFillPatternURL($fill_url) {}
6588
+
6589
+	/**
6590
+	 * (PECL imagick 2.0.0)<br/>
6591
+	 * Sets the fill rule to use while drawing polygons
6592
+	 * @link https://php.net/manual/en/imagickdraw.setfillrule.php
6593
+	 * @param int $fill_rule <p>
6594
+	 * FILLRULE_ constant
6595
+	 * </p>
6596
+	 * @return bool No value is returned.
6597
+	 */
6598
+	public function setFillRule($fill_rule) {}
6599
+
6600
+	/**
6601
+	 * (PECL imagick 2.0.0)<br/>
6602
+	 * Sets the text placement gravity
6603
+	 * @link https://php.net/manual/en/imagickdraw.setgravity.php
6604
+	 * @param int $gravity <p>
6605
+	 * GRAVITY_ constant
6606
+	 * </p>
6607
+	 * @return bool No value is returned.
6608
+	 */
6609
+	public function setGravity($gravity) {}
6610
+
6611
+	/**
6612
+	 * (PECL imagick 2.0.0)<br/>
6613
+	 * Sets the pattern used for stroking object outlines
6614
+	 * @link https://php.net/manual/en/imagickdraw.setstrokepatternurl.php
6615
+	 * @param string $stroke_url <p>
6616
+	 * stroke URL
6617
+	 * </p>
6618
+	 * @return bool imagick.imagickdraw.return.success;
6619
+	 * @throws ImagickException on error.
6620
+	 */
6621
+	public function setStrokePatternURL($stroke_url) {}
6622
+
6623
+	/**
6624
+	 * (PECL imagick 2.0.0)<br/>
6625
+	 * Specifies the offset into the dash pattern to start the dash
6626
+	 * @link https://php.net/manual/en/imagickdraw.setstrokedashoffset.php
6627
+	 * @param float $dash_offset <p>
6628
+	 * dash offset
6629
+	 * </p>
6630
+	 * @return bool No value is returned.
6631
+	 */
6632
+	public function setStrokeDashOffset($dash_offset) {}
6633
+
6634
+	/**
6635
+	 * (PECL imagick 2.0.0)<br/>
6636
+	 * Specifies the shape to be used at the end of open subpaths when they are stroked
6637
+	 * @link https://php.net/manual/en/imagickdraw.setstrokelinecap.php
6638
+	 * @param int $linecap <p>
6639
+	 * LINECAP_ constant
6640
+	 * </p>
6641
+	 * @return bool No value is returned.
6642
+	 */
6643
+	public function setStrokeLineCap($linecap) {}
6644
+
6645
+	/**
6646
+	 * (PECL imagick 2.0.0)<br/>
6647
+	 * Specifies the shape to be used at the corners of paths when they are stroked
6648
+	 * @link https://php.net/manual/en/imagickdraw.setstrokelinejoin.php
6649
+	 * @param int $linejoin <p>
6650
+	 * LINEJOIN_ constant
6651
+	 * </p>
6652
+	 * @return bool No value is returned.
6653
+	 */
6654
+	public function setStrokeLineJoin($linejoin) {}
6655
+
6656
+	/**
6657
+	 * (PECL imagick 2.0.0)<br/>
6658
+	 * Specifies the miter limit
6659
+	 * @link https://php.net/manual/en/imagickdraw.setstrokemiterlimit.php
6660
+	 * @param int $miterlimit <p>
6661
+	 * the miter limit
6662
+	 * </p>
6663
+	 * @return bool No value is returned.
6664
+	 */
6665
+	public function setStrokeMiterLimit($miterlimit) {}
6666
+
6667
+	/**
6668
+	 * (PECL imagick 2.0.0)<br/>
6669
+	 * Specifies the opacity of stroked object outlines
6670
+	 * @link https://php.net/manual/en/imagickdraw.setstrokeopacity.php
6671
+	 * @param float $stroke_opacity <p>
6672
+	 * stroke opacity. 1.0 is fully opaque
6673
+	 * </p>
6674
+	 * @return bool No value is returned.
6675
+	 */
6676
+	public function setStrokeOpacity($stroke_opacity) {}
6677
+
6678
+	/**
6679
+	 * (PECL imagick 2.0.0)<br/>
6680
+	 * Sets the vector graphics
6681
+	 * @link https://php.net/manual/en/imagickdraw.setvectorgraphics.php
6682
+	 * @param string $xml <p>
6683
+	 * xml containing the vector graphics
6684
+	 * </p>
6685
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
6686
+	 */
6687
+	public function setVectorGraphics($xml) {}
6688
+
6689
+	/**
6690
+	 * (PECL imagick 2.0.0)<br/>
6691
+	 * Destroys the current ImagickDraw in the stack, and returns to the previously pushed ImagickDraw
6692
+	 * @link https://php.net/manual/en/imagickdraw.pop.php
6693
+	 * @return bool <b>TRUE</b> on success and false on failure.
6694
+	 * @throws ImagickException on error.
6695
+	 */
6696
+	public function pop() {}
6697
+
6698
+	/**
6699
+	 * (PECL imagick 2.0.0)<br/>
6700
+	 * Clones the current ImagickDraw and pushes it to the stack
6701
+	 * @link https://php.net/manual/en/imagickdraw.push.php
6702
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
6703
+	 * @throws ImagickException on error.
6704
+	 */
6705
+	public function push() {}
6706
+
6707
+	/**
6708
+	 * (PECL imagick 2.0.0)<br/>
6709
+	 * Specifies the pattern of dashes and gaps used to stroke paths
6710
+	 * @link https://php.net/manual/en/imagickdraw.setstrokedasharray.php
6711
+	 * @param array $dashArray <p>
6712
+	 * array of floats
6713
+	 * </p>
6714
+	 * @return bool <b>TRUE</b> on success.
6715
+	 */
6716
+	public function setStrokeDashArray(array $dashArray) {}
6717
+
6718
+	/**
6719
+	 * Sets the opacity to use when drawing using the fill or stroke color or texture. Fully opaque is 1.0.
6720
+	 *
6721
+	 * @param float $opacity
6722
+	 * @return void
6723
+	 * @since 3.4.1
6724
+	 */
6725
+	public function setOpacity($opacity) {}
6726
+
6727
+	/**
6728
+	 * Returns the opacity used when drawing with the fill or stroke color or texture. Fully opaque is 1.0.
6729
+	 *
6730
+	 * @return float
6731
+	 * @since 3.4.1
6732
+	 */
6733
+	#[Pure]
6734
+	public function getOpacity() {}
6735
+
6736
+	/**
6737
+	 * Sets the image font resolution.
6738
+	 *
6739
+	 * @param float $x
6740
+	 * @param float $y
6741
+	 * @return bool
6742
+	 * @throws ImagickException on error.
6743
+	 * @since 3.4.1
6744
+	 */
6745
+	public function setFontResolution($x, $y) {}
6746
+
6747
+	/**
6748
+	 * Gets the image X and Y resolution.
6749
+	 *
6750
+	 * @return array
6751
+	 * @throws ImagickException on error.
6752
+	 * @since 3.4.1
6753
+	 */
6754
+	#[Pure]
6755
+	public function getFontResolution() {}
6756
+
6757
+	/**
6758
+	 * Returns the direction that will be used when annotating with text.
6759
+	 * @return bool
6760
+	 * @since 3.4.1
6761
+	 */
6762
+	#[Pure]
6763
+	public function getTextDirection() {}
6764
+
6765
+	/**
6766
+	 * Sets the font style to use when annotating with text. The AnyStyle enumeration acts as a wild-card "don't care" option.
6767
+	 *
6768
+	 * @param int $direction
6769
+	 * @return bool
6770
+	 * @since 3.4.1
6771
+	 */
6772
+	public function setTextDirection($direction) {}
6773
+
6774
+	/**
6775
+	 * Returns the border color used for drawing bordered objects.
6776
+	 *
6777
+	 * @return ImagickPixel
6778
+	 * @since 3.4.1
6779
+	 */
6780
+	#[Pure]
6781
+	public function getBorderColor() {}
6782
+
6783
+	/**
6784
+	 * Sets the border color to be used for drawing bordered objects.
6785
+	 * @param ImagickPixel $color
6786
+	 * @return bool
6787
+	 * @throws ImagickDrawException on error.
6788
+	 * @since 3.4.1
6789
+	 */
6790
+	public function setBorderColor(ImagickPixel $color) {}
6791
+
6792
+	/**
6793
+	 * Obtains the vertical and horizontal resolution.
6794
+	 *
6795
+	 * @return string|null
6796
+	 * @since 3.4.1
6797
+	 */
6798
+	#[Pure]
6799
+	public function getDensity() {}
6800
+
6801
+	/**
6802
+	 * Sets the vertical and horizontal resolution.
6803
+	 * @param string $density_string
6804
+	 * @return bool
6805
+	 * @throws ImagickException on error.
6806
+	 * @since 3.4.1
6807
+	 */
6808
+	public function setDensity($density_string) {}
6809 6809
 }
6810 6810
 
6811 6811
 /**
@@ -6813,192 +6813,192 @@  discard block
 block discarded – undo
6813 6813
  */
6814 6814
 class ImagickPixelIterator implements Iterator
6815 6815
 {
6816
-    /**
6817
-     * (PECL imagick 2.0.0)<br/>
6818
-     * The ImagickPixelIterator constructor
6819
-     * @link https://php.net/manual/en/imagickpixeliterator.construct.php
6820
-     * @param Imagick $wand
6821
-     * @throws ImagickPixelIteratorException on error.
6822
-     * @throws ImagickException on error.
6823
-     */
6824
-    public function __construct(Imagick $wand) {}
6825
-
6826
-    /**
6827
-     * (PECL imagick 2.0.0)<br/>
6828
-     * Returns a new pixel iterator
6829
-     * @link https://php.net/manual/en/imagickpixeliterator.newpixeliterator.php
6830
-     * @param Imagick $wand
6831
-     * @return bool <b>TRUE</b> on success. Throwing ImagickPixelIteratorException.
6832
-     * @throws ImagickPixelIteratorException
6833
-     * @throws ImagickException
6834
-     */
6835
-    #[Deprecated(replacement: "%class%->getPixelIterator(%parametersList%)")]
6836
-    public function newPixelIterator(Imagick $wand) {}
6837
-
6838
-    /**
6839
-     * (PECL imagick 2.0.0)<br/>
6840
-     * Returns a new pixel iterator
6841
-     * @link https://php.net/manual/en/imagickpixeliterator.newpixelregioniterator.php
6842
-     * @param Imagick $wand
6843
-     * @param int $x
6844
-     * @param int $y
6845
-     * @param int $columns
6846
-     * @param int $rows
6847
-     * @return bool a new ImagickPixelIterator on success; on failure, throws ImagickPixelIteratorException
6848
-     * @throws ImagickPixelIteratorException
6849
-     * @throws ImagickException
6850
-     */
6851
-    #[Deprecated(replacement: "%class%->getPixelRegionIterator(%parametersList%)")]
6852
-    public function newPixelRegionIterator(Imagick $wand, $x, $y, $columns, $rows) {}
6853
-
6854
-    /**
6855
-     * (PECL imagick 2.0.0)<br/>
6856
-     * Returns the current pixel iterator row
6857
-     * @link https://php.net/manual/en/imagickpixeliterator.getiteratorrow.php
6858
-     * @return int the integer offset of the row, throwing ImagickPixelIteratorException on error.
6859
-     * @throws ImagickPixelIteratorException on error
6860
-     */
6861
-    #[Pure]
6862
-    public function getIteratorRow() {}
6863
-
6864
-    /**
6865
-     * (PECL imagick 2.0.0)<br/>
6866
-     * Set the pixel iterator row
6867
-     * @link https://php.net/manual/en/imagickpixeliterator.setiteratorrow.php
6868
-     * @param int $row
6869
-     * @return bool <b>TRUE</b> on success.
6870
-     * @throws ImagickPixelIteratorException on error.
6871
-     */
6872
-    public function setIteratorRow($row) {}
6873
-
6874
-    /**
6875
-     * (PECL imagick 2.0.0)<br/>
6876
-     * Sets the pixel iterator to the first pixel row
6877
-     * @link https://php.net/manual/en/imagickpixeliterator.setiteratorfirstrow.php
6878
-     * @return bool <b>TRUE</b> on success.
6879
-     * @throws ImagickPixelIteratorException on error.
6880
-     */
6881
-    public function setIteratorFirstRow() {}
6882
-
6883
-    /**
6884
-     * (PECL imagick 2.0.0)<br/>
6885
-     * Sets the pixel iterator to the last pixel row
6886
-     * @link https://php.net/manual/en/imagickpixeliterator.setiteratorlastrow.php
6887
-     * @return bool <b>TRUE</b> on success.
6888
-     * @throws ImagickPixelIteratorException on error.
6889
-     */
6890
-    public function setIteratorLastRow() {}
6891
-
6892
-    /**
6893
-     * (PECL imagick 2.0.0)<br/>
6894
-     * Returns the previous row
6895
-     * @link https://php.net/manual/en/imagickpixeliterator.getpreviousiteratorrow.php
6896
-     * @return array the previous row as an array of ImagickPixelWand objects from the
6897
-     * ImagickPixelIterator, throwing ImagickPixelIteratorException on error.
6898
-     * @throws ImagickPixelIteratorException on error
6899
-     */
6900
-    #[Pure]
6901
-    public function getPreviousIteratorRow() {}
6902
-
6903
-    /**
6904
-     * (PECL imagick 2.0.0)<br/>
6905
-     * Returns the current row of ImagickPixel objects
6906
-     * @link https://php.net/manual/en/imagickpixeliterator.getcurrentiteratorrow.php
6907
-     * @return array a row as an array of ImagickPixel objects that can themselves be iterated.
6908
-     * @throws ImagickPixelIteratorException on error.
6909
-     */
6910
-    #[Pure]
6911
-    public function getCurrentIteratorRow() {}
6912
-
6913
-    /**
6914
-     * (PECL imagick 2.0.0)<br/>
6915
-     * Returns the next row of the pixel iterator
6916
-     * @link https://php.net/manual/en/imagickpixeliterator.getnextiteratorrow.php
6917
-     * @return array the next row as an array of ImagickPixel objects, throwing
6918
-     * ImagickPixelIteratorException on error.
6919
-     * @throws ImagickPixelIteratorException on error
6920
-     */
6921
-    #[Pure]
6922
-    public function getNextIteratorRow() {}
6923
-
6924
-    /**
6925
-     * (PECL imagick 2.0.0)<br/>
6926
-     * Resets the pixel iterator
6927
-     * @link https://php.net/manual/en/imagickpixeliterator.resetiterator.php
6928
-     * @return bool <b>TRUE</b> on success.
6929
-     * @throws ImagickPixelIteratorException on error.
6930
-     */
6931
-    public function resetIterator() {}
6932
-
6933
-    /**
6934
-     * (PECL imagick 2.0.0)<br/>
6935
-     * Syncs the pixel iterator
6936
-     * @link https://php.net/manual/en/imagickpixeliterator.synciterator.php
6937
-     * @return bool <b>TRUE</b> on success.
6938
-     * @throws ImagickPixelIteratorException on error.
6939
-     */
6940
-    public function syncIterator() {}
6941
-
6942
-    /**
6943
-     * (PECL imagick 2.0.0)<br/>
6944
-     * Deallocates resources associated with a PixelIterator
6945
-     * @link https://php.net/manual/en/imagickpixeliterator.destroy.php
6946
-     * @return bool <b>TRUE</b> on success.
6947
-     * @throws ImagickPixelIteratorException on error.
6948
-     */
6949
-    public function destroy() {}
6950
-
6951
-    /**
6952
-     * (PECL imagick 2.0.0)<br/>
6953
-     * Clear resources associated with a PixelIterator
6954
-     * @link https://php.net/manual/en/imagickpixeliterator.clear.php
6955
-     * @return bool <b>TRUE</b> on success.
6956
-     * @throws ImagickPixelIteratorException on error.
6957
-     */
6958
-    public function clear() {}
6959
-
6960
-    /**
6961
-     * @param Imagick $Imagick
6962
-     * @throws ImagickPixelIteratorException on error.
6963
-     * @throws ImagickException on error.
6964
-     */
6965
-    public static function getpixeliterator(Imagick $Imagick) {}
6966
-
6967
-    /**
6968
-     * @param Imagick $Imagick
6969
-     * @param $x
6970
-     * @param $y
6971
-     * @param $columns
6972
-     * @param $rows
6973
-     * @throws ImagickPixelIteratorException on error.
6974
-     * @throws ImagickException on error.
6975
-     */
6976
-    public static function getpixelregioniterator(Imagick $Imagick, $x, $y, $columns, $rows) {}
6977
-
6978
-    /**
6979
-     * @throws ImagickPixelIteratorException on error.
6980
-     */
6981
-    public function key() {}
6982
-
6983
-    /**
6984
-     * @throws ImagickPixelIteratorException on error.
6985
-     */
6986
-    public function next() {}
6987
-
6988
-    /**
6989
-     * @throws ImagickPixelIteratorException on error.
6990
-     */
6991
-    public function rewind() {}
6992
-
6993
-    /**
6994
-     * @throws ImagickPixelIteratorException on error.
6995
-     */
6996
-    public function current() {}
6997
-
6998
-    /**
6999
-     * @throws ImagickPixelIteratorException on error.
7000
-     */
7001
-    public function valid() {}
6816
+	/**
6817
+	 * (PECL imagick 2.0.0)<br/>
6818
+	 * The ImagickPixelIterator constructor
6819
+	 * @link https://php.net/manual/en/imagickpixeliterator.construct.php
6820
+	 * @param Imagick $wand
6821
+	 * @throws ImagickPixelIteratorException on error.
6822
+	 * @throws ImagickException on error.
6823
+	 */
6824
+	public function __construct(Imagick $wand) {}
6825
+
6826
+	/**
6827
+	 * (PECL imagick 2.0.0)<br/>
6828
+	 * Returns a new pixel iterator
6829
+	 * @link https://php.net/manual/en/imagickpixeliterator.newpixeliterator.php
6830
+	 * @param Imagick $wand
6831
+	 * @return bool <b>TRUE</b> on success. Throwing ImagickPixelIteratorException.
6832
+	 * @throws ImagickPixelIteratorException
6833
+	 * @throws ImagickException
6834
+	 */
6835
+	#[Deprecated(replacement: "%class%->getPixelIterator(%parametersList%)")]
6836
+	public function newPixelIterator(Imagick $wand) {}
6837
+
6838
+	/**
6839
+	 * (PECL imagick 2.0.0)<br/>
6840
+	 * Returns a new pixel iterator
6841
+	 * @link https://php.net/manual/en/imagickpixeliterator.newpixelregioniterator.php
6842
+	 * @param Imagick $wand
6843
+	 * @param int $x
6844
+	 * @param int $y
6845
+	 * @param int $columns
6846
+	 * @param int $rows
6847
+	 * @return bool a new ImagickPixelIterator on success; on failure, throws ImagickPixelIteratorException
6848
+	 * @throws ImagickPixelIteratorException
6849
+	 * @throws ImagickException
6850
+	 */
6851
+	#[Deprecated(replacement: "%class%->getPixelRegionIterator(%parametersList%)")]
6852
+	public function newPixelRegionIterator(Imagick $wand, $x, $y, $columns, $rows) {}
6853
+
6854
+	/**
6855
+	 * (PECL imagick 2.0.0)<br/>
6856
+	 * Returns the current pixel iterator row
6857
+	 * @link https://php.net/manual/en/imagickpixeliterator.getiteratorrow.php
6858
+	 * @return int the integer offset of the row, throwing ImagickPixelIteratorException on error.
6859
+	 * @throws ImagickPixelIteratorException on error
6860
+	 */
6861
+	#[Pure]
6862
+	public function getIteratorRow() {}
6863
+
6864
+	/**
6865
+	 * (PECL imagick 2.0.0)<br/>
6866
+	 * Set the pixel iterator row
6867
+	 * @link https://php.net/manual/en/imagickpixeliterator.setiteratorrow.php
6868
+	 * @param int $row
6869
+	 * @return bool <b>TRUE</b> on success.
6870
+	 * @throws ImagickPixelIteratorException on error.
6871
+	 */
6872
+	public function setIteratorRow($row) {}
6873
+
6874
+	/**
6875
+	 * (PECL imagick 2.0.0)<br/>
6876
+	 * Sets the pixel iterator to the first pixel row
6877
+	 * @link https://php.net/manual/en/imagickpixeliterator.setiteratorfirstrow.php
6878
+	 * @return bool <b>TRUE</b> on success.
6879
+	 * @throws ImagickPixelIteratorException on error.
6880
+	 */
6881
+	public function setIteratorFirstRow() {}
6882
+
6883
+	/**
6884
+	 * (PECL imagick 2.0.0)<br/>
6885
+	 * Sets the pixel iterator to the last pixel row
6886
+	 * @link https://php.net/manual/en/imagickpixeliterator.setiteratorlastrow.php
6887
+	 * @return bool <b>TRUE</b> on success.
6888
+	 * @throws ImagickPixelIteratorException on error.
6889
+	 */
6890
+	public function setIteratorLastRow() {}
6891
+
6892
+	/**
6893
+	 * (PECL imagick 2.0.0)<br/>
6894
+	 * Returns the previous row
6895
+	 * @link https://php.net/manual/en/imagickpixeliterator.getpreviousiteratorrow.php
6896
+	 * @return array the previous row as an array of ImagickPixelWand objects from the
6897
+	 * ImagickPixelIterator, throwing ImagickPixelIteratorException on error.
6898
+	 * @throws ImagickPixelIteratorException on error
6899
+	 */
6900
+	#[Pure]
6901
+	public function getPreviousIteratorRow() {}
6902
+
6903
+	/**
6904
+	 * (PECL imagick 2.0.0)<br/>
6905
+	 * Returns the current row of ImagickPixel objects
6906
+	 * @link https://php.net/manual/en/imagickpixeliterator.getcurrentiteratorrow.php
6907
+	 * @return array a row as an array of ImagickPixel objects that can themselves be iterated.
6908
+	 * @throws ImagickPixelIteratorException on error.
6909
+	 */
6910
+	#[Pure]
6911
+	public function getCurrentIteratorRow() {}
6912
+
6913
+	/**
6914
+	 * (PECL imagick 2.0.0)<br/>
6915
+	 * Returns the next row of the pixel iterator
6916
+	 * @link https://php.net/manual/en/imagickpixeliterator.getnextiteratorrow.php
6917
+	 * @return array the next row as an array of ImagickPixel objects, throwing
6918
+	 * ImagickPixelIteratorException on error.
6919
+	 * @throws ImagickPixelIteratorException on error
6920
+	 */
6921
+	#[Pure]
6922
+	public function getNextIteratorRow() {}
6923
+
6924
+	/**
6925
+	 * (PECL imagick 2.0.0)<br/>
6926
+	 * Resets the pixel iterator
6927
+	 * @link https://php.net/manual/en/imagickpixeliterator.resetiterator.php
6928
+	 * @return bool <b>TRUE</b> on success.
6929
+	 * @throws ImagickPixelIteratorException on error.
6930
+	 */
6931
+	public function resetIterator() {}
6932
+
6933
+	/**
6934
+	 * (PECL imagick 2.0.0)<br/>
6935
+	 * Syncs the pixel iterator
6936
+	 * @link https://php.net/manual/en/imagickpixeliterator.synciterator.php
6937
+	 * @return bool <b>TRUE</b> on success.
6938
+	 * @throws ImagickPixelIteratorException on error.
6939
+	 */
6940
+	public function syncIterator() {}
6941
+
6942
+	/**
6943
+	 * (PECL imagick 2.0.0)<br/>
6944
+	 * Deallocates resources associated with a PixelIterator
6945
+	 * @link https://php.net/manual/en/imagickpixeliterator.destroy.php
6946
+	 * @return bool <b>TRUE</b> on success.
6947
+	 * @throws ImagickPixelIteratorException on error.
6948
+	 */
6949
+	public function destroy() {}
6950
+
6951
+	/**
6952
+	 * (PECL imagick 2.0.0)<br/>
6953
+	 * Clear resources associated with a PixelIterator
6954
+	 * @link https://php.net/manual/en/imagickpixeliterator.clear.php
6955
+	 * @return bool <b>TRUE</b> on success.
6956
+	 * @throws ImagickPixelIteratorException on error.
6957
+	 */
6958
+	public function clear() {}
6959
+
6960
+	/**
6961
+	 * @param Imagick $Imagick
6962
+	 * @throws ImagickPixelIteratorException on error.
6963
+	 * @throws ImagickException on error.
6964
+	 */
6965
+	public static function getpixeliterator(Imagick $Imagick) {}
6966
+
6967
+	/**
6968
+	 * @param Imagick $Imagick
6969
+	 * @param $x
6970
+	 * @param $y
6971
+	 * @param $columns
6972
+	 * @param $rows
6973
+	 * @throws ImagickPixelIteratorException on error.
6974
+	 * @throws ImagickException on error.
6975
+	 */
6976
+	public static function getpixelregioniterator(Imagick $Imagick, $x, $y, $columns, $rows) {}
6977
+
6978
+	/**
6979
+	 * @throws ImagickPixelIteratorException on error.
6980
+	 */
6981
+	public function key() {}
6982
+
6983
+	/**
6984
+	 * @throws ImagickPixelIteratorException on error.
6985
+	 */
6986
+	public function next() {}
6987
+
6988
+	/**
6989
+	 * @throws ImagickPixelIteratorException on error.
6990
+	 */
6991
+	public function rewind() {}
6992
+
6993
+	/**
6994
+	 * @throws ImagickPixelIteratorException on error.
6995
+	 */
6996
+	public function current() {}
6997
+
6998
+	/**
6999
+	 * @throws ImagickPixelIteratorException on error.
7000
+	 */
7001
+	public function valid() {}
7002 7002
 }
7003 7003
 
7004 7004
 /**
@@ -7007,244 +7007,244 @@  discard block
 block discarded – undo
7007 7007
  */
7008 7008
 class ImagickPixel
7009 7009
 {
7010
-    /**
7011
-     * (PECL imagick 2.0.0)<br/>
7012
-     * Returns the normalized HSL color of the ImagickPixel object
7013
-     * @link https://php.net/manual/en/imagickpixel.gethsl.php
7014
-     * @return float[] the HSL value in an array with the keys "hue",
7015
-     * "saturation", and "luminosity". Throws ImagickPixelException on failure.
7016
-     * @throws ImagickPixelException on failure
7017
-     */
7018
-    #[ArrayShape(["hue" => "float", "saturation" => "float", "luminosity" => "float"])]
7019
-    #[Pure]
7020
-    public function getHSL() {}
7021
-
7022
-    /**
7023
-     * (PECL imagick 2.0.0)<br/>
7024
-     * Sets the normalized HSL color
7025
-     * @link https://php.net/manual/en/imagickpixel.sethsl.php
7026
-     * @param float $hue <p>
7027
-     * The normalized value for hue, described as a fractional arc
7028
-     * (between 0 and 1) of the hue circle, where the zero value is
7029
-     * red.
7030
-     * </p>
7031
-     * @param float $saturation <p>
7032
-     * The normalized value for saturation, with 1 as full saturation.
7033
-     * </p>
7034
-     * @param float $luminosity <p>
7035
-     * The normalized value for luminosity, on a scale from black at
7036
-     * 0 to white at 1, with the full HS value at 0.5 luminosity.
7037
-     * </p>
7038
-     * @return bool <b>TRUE</b> on success.
7039
-     * @throws ImagickPixelException on failure
7040
-     */
7041
-    public function setHSL($hue, $saturation, $luminosity) {}
7042
-
7043
-    /**
7044
-     * @throws ImagickPixelException on failure
7045
-     */
7046
-    #[Pure]
7047
-    public function getColorValueQuantum() {}
7048
-
7049
-    /**
7050
-     * @param $color_value
7051
-     * @throws ImagickPixelException on failure
7052
-     */
7053
-    public function setColorValueQuantum($color_value) {}
7054
-
7055
-    /**
7056
-     * Gets the colormap index of the pixel wand.
7057
-     * @throws ImagickPixelException on failure
7058
-     */
7059
-    #[Pure]
7060
-    public function getIndex() {}
7061
-
7062
-    /**
7063
-     * @param int $index
7064
-     * @throws ImagickPixelException on failure
7065
-     */
7066
-    public function setIndex($index) {}
7067
-
7068
-    /**
7069
-     * (PECL imagick 2.0.0)<br/>
7070
-     * The ImagickPixel constructor
7071
-     * @link https://php.net/manual/en/imagickpixel.construct.php
7072
-     * @param string $color [optional] <p>
7073
-     * The optional color string to use as the initial value of this object.
7074
-     * </p>
7075
-     * @throws ImagickPixelException on failure
7076
-     */
7077
-    public function __construct($color = null) {}
7078
-
7079
-    /**
7080
-     * (PECL imagick 2.0.0)<br/>
7081
-     * Sets the color
7082
-     * @link https://php.net/manual/en/imagickpixel.setcolor.php
7083
-     * @param string $color <p>
7084
-     * The color definition to use in order to initialise the
7085
-     * ImagickPixel object.
7086
-     * </p>
7087
-     * @return bool <b>TRUE</b> if the specified color was set, <b>FALSE</b> otherwise.
7088
-     * @throws ImagickPixelException on failure
7089
-     */
7090
-    public function setColor($color) {}
7091
-
7092
-    /**
7093
-     * (PECL imagick 2.0.0)<br/>
7094
-     * Sets the normalized value of one of the channels
7095
-     * @link https://php.net/manual/en/imagickpixel.setcolorvalue.php
7096
-     * @param int $color <p>
7097
-     * One of the Imagick color constants e.g. \Imagick::COLOR_GREEN or \Imagick::COLOR_ALPHA.
7098
-     * </p>
7099
-     * @param float $value <p>
7100
-     * The value to set this channel to, ranging from 0 to 1.
7101
-     * </p>
7102
-     * @return bool <b>TRUE</b> on success.
7103
-     * @throws ImagickPixelException on failure
7104
-     */
7105
-    public function setColorValue($color, $value) {}
7106
-
7107
-    /**
7108
-     * (PECL imagick 2.0.0)<br/>
7109
-     * Gets the normalized value of the provided color channel
7110
-     * @link https://php.net/manual/en/imagickpixel.getcolorvalue.php
7111
-     * @param int $color <p>
7112
-     * The color to get the value of, specified as one of the Imagick color
7113
-     * constants. This can be one of the RGB colors, CMYK colors, alpha and
7114
-     * opacity e.g (Imagick::COLOR_BLUE, Imagick::COLOR_MAGENTA).
7115
-     * </p>
7116
-     * @return float The value of the channel, as a normalized floating-point number, throwing
7117
-     * ImagickPixelException on error.
7118
-     * @throws ImagickPixelException on error
7119
-     */
7120
-    #[Pure]
7121
-    public function getColorValue($color) {}
7122
-
7123
-    /**
7124
-     * (PECL imagick 2.0.0)<br/>
7125
-     * Clears resources associated with this object
7126
-     * @link https://php.net/manual/en/imagickpixel.clear.php
7127
-     * @return bool <b>TRUE</b> on success.
7128
-     * @throws ImagickPixelException on failure
7129
-     */
7130
-    public function clear() {}
7131
-
7132
-    /**
7133
-     * (PECL imagick 2.0.0)<br/>
7134
-     * Deallocates resources associated with this object
7135
-     * @link https://php.net/manual/en/imagickpixel.destroy.php
7136
-     * @return bool <b>TRUE</b> on success.
7137
-     * @throws ImagickPixelException on failure
7138
-     */
7139
-    public function destroy() {}
7140
-
7141
-    /**
7142
-     * (PECL imagick 2.0.0)<br/>
7143
-     * Check the distance between this color and another
7144
-     * @link https://php.net/manual/en/imagickpixel.issimilar.php
7145
-     * @param ImagickPixel $color <p>
7146
-     * The ImagickPixel object to compare this object against.
7147
-     * </p>
7148
-     * @param float $fuzz <p>
7149
-     * The maximum distance within which to consider these colors as similar.
7150
-     * The theoretical maximum for this value is the square root of three
7151
-     * (1.732).
7152
-     * </p>
7153
-     * @return bool <b>TRUE</b> on success.
7154
-     * @throws ImagickPixelException on failure
7155
-     */
7156
-    public function isSimilar(ImagickPixel $color, $fuzz) {}
7157
-
7158
-    /**
7159
-     * (No version information available, might only be in SVN)<br/>
7160
-     * Check the distance between this color and another
7161
-     * @link https://php.net/manual/en/imagickpixel.ispixelsimilar.php
7162
-     * @param ImagickPixel $color <p>
7163
-     * The ImagickPixel object to compare this object against.
7164
-     * </p>
7165
-     * @param float $fuzz <p>
7166
-     * The maximum distance within which to consider these colors as similar.
7167
-     * The theoretical maximum for this value is the square root of three
7168
-     * (1.732).
7169
-     * </p>
7170
-     * @return bool <b>TRUE</b> on success.
7171
-     * @throws ImagickPixelException on failure
7172
-     */
7173
-    public function isPixelSimilar(ImagickPixel $color, $fuzz) {}
7174
-
7175
-    /**
7176
-     * (PECL imagick 2.0.0)<br/>
7177
-     * Returns the color
7178
-     * @link https://php.net/manual/en/imagickpixel.getcolor.php
7179
-     * @param int $normalized [optional] <p>
7180
-     * Normalize the color values
7181
-     * </p>
7182
-     * @return array An array of channel values, each normalized if <b>TRUE</b> is given as param. Throws
7183
-     * ImagickPixelException on error.
7184
-     * @throws ImagickPixelException on error.
7185
-     */
7186
-    #[ArrayShape(["r" => "int|float", "g" => "int|float", "b" => "int|float", "a" => "int|float"])]
7187
-    #[Pure]
7188
-    public function getColor($normalized = 0) {}
7189
-
7190
-    /**
7191
-     * (PECL imagick 2.1.0)<br/>
7192
-     * Returns the color as a string
7193
-     * @link https://php.net/manual/en/imagickpixel.getcolorasstring.php
7194
-     * @return string the color of the ImagickPixel object as a string.
7195
-     * @throws ImagickPixelException on failure
7196
-     */
7197
-    #[Pure]
7198
-    public function getColorAsString() {}
7199
-
7200
-    /**
7201
-     * (PECL imagick 2.0.0)<br/>
7202
-     * Returns the color count associated with this color
7203
-     * @link https://php.net/manual/en/imagickpixel.getcolorcount.php
7204
-     * @return int the color count as an integer on success, throws
7205
-     * ImagickPixelException on failure.
7206
-     * @throws ImagickPixelException on failure.
7207
-     */
7208
-    #[Pure]
7209
-    public function getColorCount() {}
7210
-
7211
-    /**
7212
-     * @param int $colorCount
7213
-     * @throws ImagickPixelException on failure
7214
-     */
7215
-    public function setColorCount($colorCount) {}
7216
-
7217
-    /**
7218
-     * Returns true if the distance between two colors is less than the specified distance. The fuzz value should be in the range 0-QuantumRange.<br>
7219
-     * The maximum value represents the longest possible distance in the colorspace. e.g. from RGB(0, 0, 0) to RGB(255, 255, 255) for the RGB colorspace
7220
-     * @link https://php.net/manual/en/imagickpixel.ispixelsimilarquantum.php
7221
-     * @param string $color
7222
-     * @param string $fuzz
7223
-     * @return bool
7224
-     * @throws ImagickPixelException on failure
7225
-     * @since 3.3.0
7226
-     */
7227
-    public function isPixelSimilarQuantum($color, $fuzz) {}
7228
-
7229
-    /**
7230
-     * Returns the color of the pixel in an array as Quantum values. If ImageMagick was compiled as HDRI these will be floats, otherwise they will be integers.
7231
-     * @link https://php.net/manual/en/imagickpixel.getcolorquantum.php
7232
-     * @return mixed The quantum value of the color element. Float if ImageMagick was compiled with HDRI, otherwise an int.
7233
-     * @throws ImagickPixelException on failure
7234
-     * @since 3.3.0
7235
-     */
7236
-    #[Pure]
7237
-    public function getColorQuantum() {}
7238
-
7239
-    /**
7240
-     * Sets the color count associated with this color from another ImagickPixel object.
7241
-     *
7242
-     * @param ImagickPixel $srcPixel
7243
-     * @return bool
7244
-     * @throws ImagickPixelException on failure
7245
-     * @since 3.4.1
7246
-     */
7247
-    public function setColorFromPixel(ImagickPixel $srcPixel) {}
7010
+	/**
7011
+	 * (PECL imagick 2.0.0)<br/>
7012
+	 * Returns the normalized HSL color of the ImagickPixel object
7013
+	 * @link https://php.net/manual/en/imagickpixel.gethsl.php
7014
+	 * @return float[] the HSL value in an array with the keys "hue",
7015
+	 * "saturation", and "luminosity". Throws ImagickPixelException on failure.
7016
+	 * @throws ImagickPixelException on failure
7017
+	 */
7018
+	#[ArrayShape(["hue" => "float", "saturation" => "float", "luminosity" => "float"])]
7019
+	#[Pure]
7020
+	public function getHSL() {}
7021
+
7022
+	/**
7023
+	 * (PECL imagick 2.0.0)<br/>
7024
+	 * Sets the normalized HSL color
7025
+	 * @link https://php.net/manual/en/imagickpixel.sethsl.php
7026
+	 * @param float $hue <p>
7027
+	 * The normalized value for hue, described as a fractional arc
7028
+	 * (between 0 and 1) of the hue circle, where the zero value is
7029
+	 * red.
7030
+	 * </p>
7031
+	 * @param float $saturation <p>
7032
+	 * The normalized value for saturation, with 1 as full saturation.
7033
+	 * </p>
7034
+	 * @param float $luminosity <p>
7035
+	 * The normalized value for luminosity, on a scale from black at
7036
+	 * 0 to white at 1, with the full HS value at 0.5 luminosity.
7037
+	 * </p>
7038
+	 * @return bool <b>TRUE</b> on success.
7039
+	 * @throws ImagickPixelException on failure
7040
+	 */
7041
+	public function setHSL($hue, $saturation, $luminosity) {}
7042
+
7043
+	/**
7044
+	 * @throws ImagickPixelException on failure
7045
+	 */
7046
+	#[Pure]
7047
+	public function getColorValueQuantum() {}
7048
+
7049
+	/**
7050
+	 * @param $color_value
7051
+	 * @throws ImagickPixelException on failure
7052
+	 */
7053
+	public function setColorValueQuantum($color_value) {}
7054
+
7055
+	/**
7056
+	 * Gets the colormap index of the pixel wand.
7057
+	 * @throws ImagickPixelException on failure
7058
+	 */
7059
+	#[Pure]
7060
+	public function getIndex() {}
7061
+
7062
+	/**
7063
+	 * @param int $index
7064
+	 * @throws ImagickPixelException on failure
7065
+	 */
7066
+	public function setIndex($index) {}
7067
+
7068
+	/**
7069
+	 * (PECL imagick 2.0.0)<br/>
7070
+	 * The ImagickPixel constructor
7071
+	 * @link https://php.net/manual/en/imagickpixel.construct.php
7072
+	 * @param string $color [optional] <p>
7073
+	 * The optional color string to use as the initial value of this object.
7074
+	 * </p>
7075
+	 * @throws ImagickPixelException on failure
7076
+	 */
7077
+	public function __construct($color = null) {}
7078
+
7079
+	/**
7080
+	 * (PECL imagick 2.0.0)<br/>
7081
+	 * Sets the color
7082
+	 * @link https://php.net/manual/en/imagickpixel.setcolor.php
7083
+	 * @param string $color <p>
7084
+	 * The color definition to use in order to initialise the
7085
+	 * ImagickPixel object.
7086
+	 * </p>
7087
+	 * @return bool <b>TRUE</b> if the specified color was set, <b>FALSE</b> otherwise.
7088
+	 * @throws ImagickPixelException on failure
7089
+	 */
7090
+	public function setColor($color) {}
7091
+
7092
+	/**
7093
+	 * (PECL imagick 2.0.0)<br/>
7094
+	 * Sets the normalized value of one of the channels
7095
+	 * @link https://php.net/manual/en/imagickpixel.setcolorvalue.php
7096
+	 * @param int $color <p>
7097
+	 * One of the Imagick color constants e.g. \Imagick::COLOR_GREEN or \Imagick::COLOR_ALPHA.
7098
+	 * </p>
7099
+	 * @param float $value <p>
7100
+	 * The value to set this channel to, ranging from 0 to 1.
7101
+	 * </p>
7102
+	 * @return bool <b>TRUE</b> on success.
7103
+	 * @throws ImagickPixelException on failure
7104
+	 */
7105
+	public function setColorValue($color, $value) {}
7106
+
7107
+	/**
7108
+	 * (PECL imagick 2.0.0)<br/>
7109
+	 * Gets the normalized value of the provided color channel
7110
+	 * @link https://php.net/manual/en/imagickpixel.getcolorvalue.php
7111
+	 * @param int $color <p>
7112
+	 * The color to get the value of, specified as one of the Imagick color
7113
+	 * constants. This can be one of the RGB colors, CMYK colors, alpha and
7114
+	 * opacity e.g (Imagick::COLOR_BLUE, Imagick::COLOR_MAGENTA).
7115
+	 * </p>
7116
+	 * @return float The value of the channel, as a normalized floating-point number, throwing
7117
+	 * ImagickPixelException on error.
7118
+	 * @throws ImagickPixelException on error
7119
+	 */
7120
+	#[Pure]
7121
+	public function getColorValue($color) {}
7122
+
7123
+	/**
7124
+	 * (PECL imagick 2.0.0)<br/>
7125
+	 * Clears resources associated with this object
7126
+	 * @link https://php.net/manual/en/imagickpixel.clear.php
7127
+	 * @return bool <b>TRUE</b> on success.
7128
+	 * @throws ImagickPixelException on failure
7129
+	 */
7130
+	public function clear() {}
7131
+
7132
+	/**
7133
+	 * (PECL imagick 2.0.0)<br/>
7134
+	 * Deallocates resources associated with this object
7135
+	 * @link https://php.net/manual/en/imagickpixel.destroy.php
7136
+	 * @return bool <b>TRUE</b> on success.
7137
+	 * @throws ImagickPixelException on failure
7138
+	 */
7139
+	public function destroy() {}
7140
+
7141
+	/**
7142
+	 * (PECL imagick 2.0.0)<br/>
7143
+	 * Check the distance between this color and another
7144
+	 * @link https://php.net/manual/en/imagickpixel.issimilar.php
7145
+	 * @param ImagickPixel $color <p>
7146
+	 * The ImagickPixel object to compare this object against.
7147
+	 * </p>
7148
+	 * @param float $fuzz <p>
7149
+	 * The maximum distance within which to consider these colors as similar.
7150
+	 * The theoretical maximum for this value is the square root of three
7151
+	 * (1.732).
7152
+	 * </p>
7153
+	 * @return bool <b>TRUE</b> on success.
7154
+	 * @throws ImagickPixelException on failure
7155
+	 */
7156
+	public function isSimilar(ImagickPixel $color, $fuzz) {}
7157
+
7158
+	/**
7159
+	 * (No version information available, might only be in SVN)<br/>
7160
+	 * Check the distance between this color and another
7161
+	 * @link https://php.net/manual/en/imagickpixel.ispixelsimilar.php
7162
+	 * @param ImagickPixel $color <p>
7163
+	 * The ImagickPixel object to compare this object against.
7164
+	 * </p>
7165
+	 * @param float $fuzz <p>
7166
+	 * The maximum distance within which to consider these colors as similar.
7167
+	 * The theoretical maximum for this value is the square root of three
7168
+	 * (1.732).
7169
+	 * </p>
7170
+	 * @return bool <b>TRUE</b> on success.
7171
+	 * @throws ImagickPixelException on failure
7172
+	 */
7173
+	public function isPixelSimilar(ImagickPixel $color, $fuzz) {}
7174
+
7175
+	/**
7176
+	 * (PECL imagick 2.0.0)<br/>
7177
+	 * Returns the color
7178
+	 * @link https://php.net/manual/en/imagickpixel.getcolor.php
7179
+	 * @param int $normalized [optional] <p>
7180
+	 * Normalize the color values
7181
+	 * </p>
7182
+	 * @return array An array of channel values, each normalized if <b>TRUE</b> is given as param. Throws
7183
+	 * ImagickPixelException on error.
7184
+	 * @throws ImagickPixelException on error.
7185
+	 */
7186
+	#[ArrayShape(["r" => "int|float", "g" => "int|float", "b" => "int|float", "a" => "int|float"])]
7187
+	#[Pure]
7188
+	public function getColor($normalized = 0) {}
7189
+
7190
+	/**
7191
+	 * (PECL imagick 2.1.0)<br/>
7192
+	 * Returns the color as a string
7193
+	 * @link https://php.net/manual/en/imagickpixel.getcolorasstring.php
7194
+	 * @return string the color of the ImagickPixel object as a string.
7195
+	 * @throws ImagickPixelException on failure
7196
+	 */
7197
+	#[Pure]
7198
+	public function getColorAsString() {}
7199
+
7200
+	/**
7201
+	 * (PECL imagick 2.0.0)<br/>
7202
+	 * Returns the color count associated with this color
7203
+	 * @link https://php.net/manual/en/imagickpixel.getcolorcount.php
7204
+	 * @return int the color count as an integer on success, throws
7205
+	 * ImagickPixelException on failure.
7206
+	 * @throws ImagickPixelException on failure.
7207
+	 */
7208
+	#[Pure]
7209
+	public function getColorCount() {}
7210
+
7211
+	/**
7212
+	 * @param int $colorCount
7213
+	 * @throws ImagickPixelException on failure
7214
+	 */
7215
+	public function setColorCount($colorCount) {}
7216
+
7217
+	/**
7218
+	 * Returns true if the distance between two colors is less than the specified distance. The fuzz value should be in the range 0-QuantumRange.<br>
7219
+	 * The maximum value represents the longest possible distance in the colorspace. e.g. from RGB(0, 0, 0) to RGB(255, 255, 255) for the RGB colorspace
7220
+	 * @link https://php.net/manual/en/imagickpixel.ispixelsimilarquantum.php
7221
+	 * @param string $color
7222
+	 * @param string $fuzz
7223
+	 * @return bool
7224
+	 * @throws ImagickPixelException on failure
7225
+	 * @since 3.3.0
7226
+	 */
7227
+	public function isPixelSimilarQuantum($color, $fuzz) {}
7228
+
7229
+	/**
7230
+	 * Returns the color of the pixel in an array as Quantum values. If ImageMagick was compiled as HDRI these will be floats, otherwise they will be integers.
7231
+	 * @link https://php.net/manual/en/imagickpixel.getcolorquantum.php
7232
+	 * @return mixed The quantum value of the color element. Float if ImageMagick was compiled with HDRI, otherwise an int.
7233
+	 * @throws ImagickPixelException on failure
7234
+	 * @since 3.3.0
7235
+	 */
7236
+	#[Pure]
7237
+	public function getColorQuantum() {}
7238
+
7239
+	/**
7240
+	 * Sets the color count associated with this color from another ImagickPixel object.
7241
+	 *
7242
+	 * @param ImagickPixel $srcPixel
7243
+	 * @return bool
7244
+	 * @throws ImagickPixelException on failure
7245
+	 * @since 3.4.1
7246
+	 */
7247
+	public function setColorFromPixel(ImagickPixel $srcPixel) {}
7248 7248
 }
7249 7249
 // End of imagick v.3.2.0RC1
7250 7250
 
@@ -7255,77 +7255,77 @@  discard block
 block discarded – undo
7255 7255
  */
7256 7256
 class ImagickKernel
7257 7257
 {
7258
-    /**
7259
-     * Attach another kernel to this kernel to allow them to both be applied in a single morphology or filter function. Returns the new combined kernel.
7260
-     * @link https://php.net/manual/en/imagickkernel.addkernel.php
7261
-     * @param ImagickKernel $imagickKernel
7262
-     * @return void
7263
-     * @throws ImagickKernelException on error
7264
-     * @since 3.3.0
7265
-     */
7266
-    public function addKernel(ImagickKernel $imagickKernel) {}
7267
-
7268
-    /**
7269
-     * Adds a given amount of the 'Unity' Convolution Kernel to the given pre-scaled and normalized Kernel. This in effect adds that amount of the original image into the resulting convolution kernel. The resulting effect is to convert the defined kernels into blended soft-blurs, unsharp kernels or into sharpening kernels.
7270
-     * @link https://php.net/manual/en/imagickkernel.addunitykernel.php
7271
-     * @return void
7272
-     * @throws ImagickKernelException on error
7273
-     * @since 3.3.0
7274
-     */
7275
-    public function addUnityKernel() {}
7276
-
7277
-    /**
7278
-     * Create a kernel from a builtin in kernel. See https://www.imagemagick.org/Usage/morphology/#kernel for examples.<br>
7279
-     * Currently the 'rotation' symbols are not supported. Example: $diamondKernel = ImagickKernel::fromBuiltIn(\Imagick::KERNEL_DIAMOND, "2");
7280
-     * @link https://php.net/manual/en/imagickkernel.frombuiltin.php
7281
-     * @param string $kernelType The type of kernel to build e.g. \Imagick::KERNEL_DIAMOND
7282
-     * @param string $kernelString A string that describes the parameters e.g. "4,2.5"
7283
-     * @return void
7284
-     * @since 3.3.0
7285
-     */
7286
-    public static function fromBuiltin($kernelType, $kernelString) {}
7287
-
7288
-    /**
7289
-     * Create a kernel from a builtin in kernel. See https://www.imagemagick.org/Usage/morphology/#kernel for examples.<br>
7290
-     * Currently the 'rotation' symbols are not supported. Example: $diamondKernel = ImagickKernel::fromBuiltIn(\Imagick::KERNEL_DIAMOND, "2");
7291
-     * @link https://php.net/manual/en/imagickkernel.frombuiltin.php
7292
-     * @see https://www.imagemagick.org/Usage/morphology/#kernel
7293
-     * @param array $matrix A matrix (i.e. 2d array) of values that define the kernel. Each element should be either a float value, or FALSE if that element shouldn't be used by the kernel.
7294
-     * @param array $origin [optional] Which element of the kernel should be used as the origin pixel. e.g. For a 3x3 matrix specifying the origin as [2, 2] would specify that the bottom right element should be the origin pixel.
7295
-     * @return ImagickKernel
7296
-     * @throws ImagickKernelException on error
7297
-     * @since 3.3.0
7298
-     */
7299
-    public static function fromMatrix($matrix, $origin) {}
7300
-
7301
-    /**
7302
-     * Get the 2d matrix of values used in this kernel. The elements are either float for elements that are used or 'false' if the element should be skipped.
7303
-     * @link https://php.net/manual/en/imagickkernel.getmatrix.php
7304
-     * @return array A matrix (2d array) of the values that represent the kernel.
7305
-     * @throws ImagickKernelException on error
7306
-     * @since 3.3.0
7307
-     */
7308
-    #[Pure]
7309
-    public function getMatrix() {}
7310
-
7311
-    /**
7312
-     * ScaleKernelInfo() scales the given kernel list by the given amount, with or without normalization of the sum of the kernel values (as per given flags).<br>
7313
-     * The exact behaviour of this function depends on the normalization type being used please see https://www.imagemagick.org/api/morphology.php#ScaleKernelInfo for details.<br>
7314
-     * Flag should be one of Imagick::NORMALIZE_KERNEL_VALUE, Imagick::NORMALIZE_KERNEL_CORRELATE, Imagick::NORMALIZE_KERNEL_PERCENT or not set.
7315
-     * @link https://php.net/manual/en/imagickkernel.scale.php
7316
-     * @see https://www.imagemagick.org/api/morphology.php#ScaleKernelInfo
7317
-     * @return void
7318
-     * @throws ImagickKernelException on error
7319
-     * @since 3.3.0
7320
-     */
7321
-    public function scale() {}
7322
-
7323
-    /**
7324
-     * Separates a linked set of kernels and returns an array of ImagickKernels.
7325
-     * @link https://php.net/manual/en/imagickkernel.separate.php
7326
-     * @return void
7327
-     * @throws ImagickKernelException on error
7328
-     * @since 3.3.0
7329
-     */
7330
-    public function seperate() {}
7258
+	/**
7259
+	 * Attach another kernel to this kernel to allow them to both be applied in a single morphology or filter function. Returns the new combined kernel.
7260
+	 * @link https://php.net/manual/en/imagickkernel.addkernel.php
7261
+	 * @param ImagickKernel $imagickKernel
7262
+	 * @return void
7263
+	 * @throws ImagickKernelException on error
7264
+	 * @since 3.3.0
7265
+	 */
7266
+	public function addKernel(ImagickKernel $imagickKernel) {}
7267
+
7268
+	/**
7269
+	 * Adds a given amount of the 'Unity' Convolution Kernel to the given pre-scaled and normalized Kernel. This in effect adds that amount of the original image into the resulting convolution kernel. The resulting effect is to convert the defined kernels into blended soft-blurs, unsharp kernels or into sharpening kernels.
7270
+	 * @link https://php.net/manual/en/imagickkernel.addunitykernel.php
7271
+	 * @return void
7272
+	 * @throws ImagickKernelException on error
7273
+	 * @since 3.3.0
7274
+	 */
7275
+	public function addUnityKernel() {}
7276
+
7277
+	/**
7278
+	 * Create a kernel from a builtin in kernel. See https://www.imagemagick.org/Usage/morphology/#kernel for examples.<br>
7279
+	 * Currently the 'rotation' symbols are not supported. Example: $diamondKernel = ImagickKernel::fromBuiltIn(\Imagick::KERNEL_DIAMOND, "2");
7280
+	 * @link https://php.net/manual/en/imagickkernel.frombuiltin.php
7281
+	 * @param string $kernelType The type of kernel to build e.g. \Imagick::KERNEL_DIAMOND
7282
+	 * @param string $kernelString A string that describes the parameters e.g. "4,2.5"
7283
+	 * @return void
7284
+	 * @since 3.3.0
7285
+	 */
7286
+	public static function fromBuiltin($kernelType, $kernelString) {}
7287
+
7288
+	/**
7289
+	 * Create a kernel from a builtin in kernel. See https://www.imagemagick.org/Usage/morphology/#kernel for examples.<br>
7290
+	 * Currently the 'rotation' symbols are not supported. Example: $diamondKernel = ImagickKernel::fromBuiltIn(\Imagick::KERNEL_DIAMOND, "2");
7291
+	 * @link https://php.net/manual/en/imagickkernel.frombuiltin.php
7292
+	 * @see https://www.imagemagick.org/Usage/morphology/#kernel
7293
+	 * @param array $matrix A matrix (i.e. 2d array) of values that define the kernel. Each element should be either a float value, or FALSE if that element shouldn't be used by the kernel.
7294
+	 * @param array $origin [optional] Which element of the kernel should be used as the origin pixel. e.g. For a 3x3 matrix specifying the origin as [2, 2] would specify that the bottom right element should be the origin pixel.
7295
+	 * @return ImagickKernel
7296
+	 * @throws ImagickKernelException on error
7297
+	 * @since 3.3.0
7298
+	 */
7299
+	public static function fromMatrix($matrix, $origin) {}
7300
+
7301
+	/**
7302
+	 * Get the 2d matrix of values used in this kernel. The elements are either float for elements that are used or 'false' if the element should be skipped.
7303
+	 * @link https://php.net/manual/en/imagickkernel.getmatrix.php
7304
+	 * @return array A matrix (2d array) of the values that represent the kernel.
7305
+	 * @throws ImagickKernelException on error
7306
+	 * @since 3.3.0
7307
+	 */
7308
+	#[Pure]
7309
+	public function getMatrix() {}
7310
+
7311
+	/**
7312
+	 * ScaleKernelInfo() scales the given kernel list by the given amount, with or without normalization of the sum of the kernel values (as per given flags).<br>
7313
+	 * The exact behaviour of this function depends on the normalization type being used please see https://www.imagemagick.org/api/morphology.php#ScaleKernelInfo for details.<br>
7314
+	 * Flag should be one of Imagick::NORMALIZE_KERNEL_VALUE, Imagick::NORMALIZE_KERNEL_CORRELATE, Imagick::NORMALIZE_KERNEL_PERCENT or not set.
7315
+	 * @link https://php.net/manual/en/imagickkernel.scale.php
7316
+	 * @see https://www.imagemagick.org/api/morphology.php#ScaleKernelInfo
7317
+	 * @return void
7318
+	 * @throws ImagickKernelException on error
7319
+	 * @since 3.3.0
7320
+	 */
7321
+	public function scale() {}
7322
+
7323
+	/**
7324
+	 * Separates a linked set of kernels and returns an array of ImagickKernels.
7325
+	 * @link https://php.net/manual/en/imagickkernel.separate.php
7326
+	 * @return void
7327
+	 * @throws ImagickKernelException on error
7328
+	 * @since 3.3.0
7329
+	 */
7330
+	public function seperate() {}
7331 7331
 }
Please login to merge, or discard this patch.
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -5249,8 +5249,7 @@  discard block
 block discarded – undo
5249 5249
  * @method ImagickDraw clone() (PECL imagick 2.0.0)<br/>Makes an exact copy of the specified ImagickDraw object
5250 5250
  * @link https://php.net/manual/en/class.imagickdraw.php
5251 5251
  */
5252
-class ImagickDraw
5253
-{
5252
+class ImagickDraw {
5254 5253
     public function resetVectorGraphics() {}
5255 5254
 
5256 5255
     #[Pure]
@@ -6811,8 +6810,7 @@  discard block
 block discarded – undo
6811 6810
 /**
6812 6811
  * @link https://php.net/manual/en/class.imagickpixeliterator.php
6813 6812
  */
6814
-class ImagickPixelIterator implements Iterator
6815
-{
6813
+class ImagickPixelIterator implements Iterator {
6816 6814
     /**
6817 6815
      * (PECL imagick 2.0.0)<br/>
6818 6816
      * The ImagickPixelIterator constructor
@@ -7005,8 +7003,7 @@  discard block
 block discarded – undo
7005 7003
  * @method clone()
7006 7004
  * @link https://php.net/manual/en/class.imagickpixel.php
7007 7005
  */
7008
-class ImagickPixel
7009
-{
7006
+class ImagickPixel {
7010 7007
     /**
7011 7008
      * (PECL imagick 2.0.0)<br/>
7012 7009
      * Returns the normalized HSL color of the ImagickPixel object
@@ -7253,8 +7250,7 @@  discard block
 block discarded – undo
7253 7250
 /**
7254 7251
  * @link https://php.net/manual/en/class.imagickkernel.php
7255 7252
  */
7256
-class ImagickKernel
7257
-{
7253
+class ImagickKernel {
7258 7254
     /**
7259 7255
      * Attach another kernel to this kernel to allow them to both be applied in a single morphology or filter function. Returns the new combined kernel.
7260 7256
      * @link https://php.net/manual/en/imagickkernel.addkernel.php
Please login to merge, or discard this patch.
vendor-bin/php-scoper/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php 3 patches
Indentation   +569 added lines, -569 removed lines patch added patch discarded remove patch
@@ -12,386 +12,386 @@  discard block
 block discarded – undo
12 12
  */
13 13
 class SQLite3
14 14
 {
15
-    public const OK = 0;
16
-    public const DENY = 1;
17
-    public const IGNORE = 2;
18
-    public const CREATE_INDEX = 1;
19
-    public const CREATE_TABLE = 2;
20
-    public const CREATE_TEMP_INDEX = 3;
21
-    public const CREATE_TEMP_TABLE = 4;
22
-    public const CREATE_TEMP_TRIGGER = 5;
23
-    public const CREATE_TEMP_VIEW = 6;
24
-    public const CREATE_TRIGGER = 7;
25
-    public const CREATE_VIEW = 8;
26
-    public const DELETE = 9;
27
-    public const DROP_INDEX = 10;
28
-    public const DROP_TABLE = 11;
29
-    public const DROP_TEMP_INDEX = 12;
30
-    public const DROP_TEMP_TABLE = 13;
31
-    public const DROP_TEMP_TRIGGER = 14;
32
-    public const DROP_TEMP_VIEW = 15;
33
-    public const DROP_TRIGGER = 16;
34
-    public const DROP_VIEW = 17;
35
-    public const INSERT = 18;
36
-    public const PRAGMA = 19;
37
-    public const READ = 20;
38
-    public const SELECT = 21;
39
-    public const TRANSACTION = 22;
40
-    public const UPDATE = 23;
41
-    public const ATTACH = 24;
42
-    public const DETACH = 25;
43
-    public const ALTER_TABLE = 26;
44
-    public const REINDEX = 27;
45
-    public const ANALYZE = 28;
46
-    public const CREATE_VTABLE = 29;
47
-    public const DROP_VTABLE = 30;
48
-    public const FUNCTION = 31;
49
-    public const SAVEPOINT = 32;
50
-    public const COPY = 0;
51
-    public const RECURSIVE = 33;
52
-
53
-    /**
54
-     * Opens an SQLite database
55
-     * @link https://php.net/manual/en/sqlite3.open.php
56
-     * @param string $filename <p>
57
-     * Path to the SQLite database, or :memory: to use in-memory database.
58
-     * </p>
59
-     * @param int $flags [optional] <p>
60
-     * Optional flags used to determine how to open the SQLite database. By
61
-     * default, open uses SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE.
62
-     * </p>
63
-     * <p>
64
-     * SQLITE3_OPEN_READONLY: Open the database for
65
-     * reading only.
66
-     * </p>
67
-     * @param string $encryptionKey [optional] <p>
68
-     * An optional encryption key used when encrypting and decrypting an
69
-     * SQLite database.
70
-     * </p>
71
-     * @return void No value is returned.
72
-     */
73
-    #[TentativeType]
74
-    public function open(
75
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
76
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = SQLITE3_OPEN_READWRITE|SQLITE3_OPEN_CREATE,
77
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $encryptionKey = null
78
-    ): void {}
79
-
80
-    /**
81
-     * Closes the database connection
82
-     * @link https://php.net/manual/en/sqlite3.close.php
83
-     * @return bool <b>TRUE</b> on success, <b>FALSE</b> on failure.
84
-     */
85
-    public function close() {}
86
-
87
-    /**
88
-     * Executes a result-less query against a given database
89
-     * @link https://php.net/manual/en/sqlite3.exec.php
90
-     * @param string $query <p>
91
-     * The SQL query to execute (typically an INSERT, UPDATE, or DELETE
92
-     * query).
93
-     * </p>
94
-     * @return bool <b>TRUE</b> if the query succeeded, <b>FALSE</b> on failure.
95
-     */
96
-    #[TentativeType]
97
-    public function exec(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $query): bool {}
98
-
99
-    /**
100
-     * Returns the SQLite3 library version as a string constant and as a number
101
-     * @link https://php.net/manual/en/sqlite3.version.php
102
-     * @return array an associative array with the keys "versionString" and
103
-     * "versionNumber".
104
-     */
105
-    #[ArrayShape(["versionString" => "string", "versionNumber" => "int"])]
106
-    #[TentativeType]
107
-    public static function version(): array {}
108
-
109
-    /**
110
-     * Returns the row ID of the most recent INSERT into the database
111
-     * @link https://php.net/manual/en/sqlite3.lastinsertrowid.php
112
-     * @return int the row ID of the most recent INSERT into the database
113
-     */
114
-    #[TentativeType]
115
-    public function lastInsertRowID(): int {}
116
-
117
-    /**
118
-     * Returns the numeric result code of the most recent failed SQLite request
119
-     * @link https://php.net/manual/en/sqlite3.lasterrorcode.php
120
-     * @return int an integer value representing the numeric result code of the most
121
-     * recent failed SQLite request.
122
-     */
123
-    #[TentativeType]
124
-    public function lastErrorCode(): int {}
125
-
126
-    /**
127
-     * Returns English text describing the most recent failed SQLite request
128
-     * @link https://php.net/manual/en/sqlite3.lasterrormsg.php
129
-     * @return string an English string describing the most recent failed SQLite request.
130
-     */
131
-    #[TentativeType]
132
-    public function lastErrorMsg(): string {}
133
-
134
-    /**
135
-     * Sets the busy connection handler
136
-     * @link https://php.net/manual/en/sqlite3.busytimeout.php
137
-     * @param int $milliseconds <p>
138
-     * The milliseconds to sleep. Setting this value to a value less than
139
-     * or equal to zero, will turn off an already set timeout handler.
140
-     * </p>
141
-     * @return bool <b>TRUE</b> on success, <b>FALSE</b> on failure.
142
-     * @since 5.3.3
143
-     */
144
-    #[TentativeType]
145
-    public function busyTimeout(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $milliseconds): bool {}
146
-
147
-    /**
148
-     * Attempts to load an SQLite extension library
149
-     * @link https://php.net/manual/en/sqlite3.loadextension.php
150
-     * @param string $name <p>
151
-     * The name of the library to load. The library must be located in the
152
-     * directory specified in the configure option sqlite3.extension_dir.
153
-     * </p>
154
-     * @return bool <b>TRUE</b> if the extension is successfully loaded, <b>FALSE</b> on failure.
155
-     */
156
-    #[TentativeType]
157
-    public function loadExtension(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name): bool {}
158
-
159
-    /**
160
-     * Returns the number of database rows that were changed (or inserted or
161
-     * deleted) by the most recent SQL statement
162
-     * @link https://php.net/manual/en/sqlite3.changes.php
163
-     * @return int an integer value corresponding to the number of
164
-     * database rows changed (or inserted or deleted) by the most recent SQL
165
-     * statement.
166
-     */
167
-    #[TentativeType]
168
-    public function changes(): int {}
169
-
170
-    /**
171
-     * Returns a string that has been properly escaped
172
-     * @link https://php.net/manual/en/sqlite3.escapestring.php
173
-     * @param string $string <p>
174
-     * The string to be escaped.
175
-     * </p>
176
-     * @return string a properly escaped string that may be used safely in an SQL
177
-     * statement.
178
-     */
179
-    #[TentativeType]
180
-    public static function escapeString(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $string): string {}
181
-
182
-    /**
183
-     * Prepares an SQL statement for execution
184
-     * @link https://php.net/manual/en/sqlite3.prepare.php
185
-     * @param string $query <p>
186
-     * The SQL query to prepare.
187
-     * </p>
188
-     * @return SQLite3Stmt|false an <b>SQLite3Stmt</b> object on success or <b>FALSE</b> on failure.
189
-     */
190
-    #[TentativeType]
191
-    public function prepare(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $query): SQLite3Stmt|false {}
192
-
193
-    /**
194
-     * Executes an SQL query
195
-     * @link https://php.net/manual/en/sqlite3.query.php
196
-     * @param string $query <p>
197
-     * The SQL query to execute.
198
-     * </p>
199
-     * @return SQLite3Result|false an <b>SQLite3Result</b> object, or <b>FALSE</b> on failure.
200
-     */
201
-    #[TentativeType]
202
-    public function query(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $query): SQLite3Result|false {}
203
-
204
-    /**
205
-     * Executes a query and returns a single result
206
-     * @link https://php.net/manual/en/sqlite3.querysingle.php
207
-     * @param string $query <p>
208
-     * The SQL query to execute.
209
-     * </p>
210
-     * @param bool $entireRow [optional] <p>
211
-     * By default, <b>querySingle</b> returns the value of the
212
-     * first column returned by the query. If
213
-     * <i>entire_row</i> is <b>TRUE</b>, then it returns an array
214
-     * of the entire first row.
215
-     * </p>
216
-     * @return mixed the value of the first column of results or an array of the entire
217
-     * first row (if <i>entire_row</i> is <b>TRUE</b>).
218
-     * </p>
219
-     * <p>
220
-     * If the query is valid but no results are returned, then <b>NULL</b> will be
221
-     * returned if <i>entire_row</i> is <b>FALSE</b>, otherwise an
222
-     * empty array is returned.
223
-     * </p>
224
-     * <p>
225
-     * Invalid or failing queries will return <b>FALSE</b>.
226
-     */
227
-    #[TentativeType]
228
-    public function querySingle(
229
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $query,
230
-        #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $entireRow = false
231
-    ): mixed {}
232
-
233
-    /**
234
-     * Registers a PHP function for use as an SQL scalar function
235
-     * @link https://php.net/manual/en/sqlite3.createfunction.php
236
-     * @param string $name <p>
237
-     * Name of the SQL function to be created or redefined.
238
-     * </p>
239
-     * @param mixed $callback <p>
240
-     * The name of a PHP function or user-defined function to apply as a
241
-     * callback, defining the behavior of the SQL function.
242
-     * </p>
243
-     * @param int $argCount [optional] <p>
244
-     * The number of arguments that the SQL function takes. If
245
-     * this parameter is negative, then the SQL function may take
246
-     * any number of arguments.
247
-     * </p>
248
-     * @param int $flags [optional]
249
-     * <p>A bitwise conjunction of flags.
250
-     * Currently, only <b>SQLITE3_DETERMINISTIC</b> is supported, which specifies that the function always returns
251
-     * the same result given the same inputs within a single SQL statement.</p>
252
-     * @return bool <b>TRUE</b> upon successful creation of the function, <b>FALSE</b> on failure.
253
-     */
254
-    #[TentativeType]
255
-    public function createFunction(
256
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name,
257
-        #[LanguageLevelTypeAware(['8.0' => 'callable'], default: '')] $callback,
258
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $argCount = -1,
259
-        int $flags = 0
260
-    ): bool {}
261
-
262
-    /**
263
-     * Registers a PHP function for use as an SQL aggregate function
264
-     * @link https://php.net/manual/en/sqlite3.createaggregate.php
265
-     * @param string $name <p>
266
-     * Name of the SQL aggregate to be created or redefined.
267
-     * </p>
268
-     * @param mixed $stepCallback <p>
269
-     * The name of a PHP function or user-defined function to apply as a
270
-     * callback for every item in the aggregate.
271
-     * </p>
272
-     * @param mixed $finalCallback <p>
273
-     * The name of a PHP function or user-defined function to apply as a
274
-     * callback at the end of the aggregate data.
275
-     * </p>
276
-     * @param int $argCount [optional] <p>
277
-     * The number of arguments that the SQL aggregate takes. If
278
-     * this parameter is negative, then the SQL aggregate may take
279
-     * any number of arguments.
280
-     * </p>
281
-     * @return bool <b>TRUE</b> upon successful creation of the aggregate, <b>FALSE</b> on
282
-     * failure.
283
-     */
284
-    #[TentativeType]
285
-    public function createAggregate(
286
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name,
287
-        #[LanguageLevelTypeAware(['8.0' => 'callable'], default: '')] $stepCallback,
288
-        #[LanguageLevelTypeAware(['8.0' => 'callable'], default: '')] $finalCallback,
289
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $argCount = -1
290
-    ): bool {}
291
-
292
-    /**
293
-     * Registers a PHP function for use as an SQL collating function
294
-     * @link https://php.net/manual/en/sqlite3.createcollation.php
295
-     * @param string $name <p>
296
-     * Name of the SQL collating function to be created or redefined
297
-     * </p>
298
-     * @param callable $callback <p>
299
-     * The name of a PHP function or user-defined function to apply as a
300
-     * callback, defining the behavior of the collation. It should accept two
301
-     * strings and return as <b>strcmp</b> does, i.e. it should
302
-     * return -1, 1, or 0 if the first string sorts before, sorts after, or is
303
-     * equal to the second.
304
-     * </p>
305
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
306
-     * @since 5.3.11
307
-     */
308
-    #[TentativeType]
309
-    public function createCollation(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name, callable $callback): bool {}
310
-
311
-    /**
312
-     * Opens a stream resource to read a BLOB
313
-     * @link https://php.net/manual/en/sqlite3.openblob.php
314
-     * @param string $table <p>The table name.</p>
315
-     * @param string $column <p>The column name.</p>
316
-     * @param int $rowid <p>The row ID.</p>
317
-     * @param string $database [optional] <p>The symbolic name of the DB</p>
318
-     * @param int $flags [optional]
319
-     * <p>Either <b>SQLITE3_OPEN_READONLY</b> or <b>SQLITE3_OPEN_READWRITE</b> to open the stream for reading only, or for reading and writing, respectively.</p>
320
-     * @return resource|false Returns a stream resource, or FALSE on failure.
321
-     */
322
-    public function openBlob(
323
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $table,
324
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $column,
325
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $rowid,
326
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $database = 'main',
327
-        #[PhpStormStubsElementAvailable(from: '7.2')] int $flags = SQLITE3_OPEN_READONLY
328
-    ) {}
329
-
330
-    /**
331
-     * Enable throwing exceptions
332
-     * @link https://www.php.net/manual/en/sqlite3.enableexceptions
333
-     * @param bool $enable
334
-     * @return bool Returns the old value; true if exceptions were enabled, false otherwise.
335
-     */
336
-    #[TentativeType]
337
-    public function enableExceptions(#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $enable = false): bool {}
338
-
339
-    /**
340
-     * Instantiates an SQLite3 object and opens an SQLite 3 database
341
-     * @link https://php.net/manual/en/sqlite3.construct.php
342
-     * @param string $filename <p>
343
-     * Path to the SQLite database, or :memory: to use in-memory database.
344
-     * </p>
345
-     * @param int $flags [optional] <p>
346
-     * Optional flags used to determine how to open the SQLite database. By
347
-     * default, open uses SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE.
348
-     * </p>
349
-     * <p>
350
-     * SQLITE3_OPEN_READONLY: Open the database for
351
-     * reading only.
352
-     * </p>
353
-     * @param string $encryptionKey [optional] <p>
354
-     * An optional encryption key used when encrypting and decrypting an
355
-     * SQLite database.
356
-     * </p>
357
-     */
358
-    public function __construct(
359
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
360
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = SQLITE3_OPEN_READWRITE|SQLITE3_OPEN_CREATE,
361
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $encryptionKey = null
362
-    ) {}
363
-
364
-    /**
365
-     * @return int
366
-     * @since 7.4
367
-     */
368
-    #[TentativeType]
369
-    public function lastExtendedErrorCode(): int {}
370
-
371
-    /**
372
-     * @param bool $enable
373
-     * @since 7.4
374
-     */
375
-    #[TentativeType]
376
-    public function enableExtendedResultCodes(bool $enable = true): bool {}
377
-
378
-    /**
379
-     * @param SQLite3 $destination
380
-     * @param string $sourceDatabase
381
-     * @param string $destinationDatabase
382
-     * @return bool
383
-     * @since 7.4
384
-     */
385
-    #[TentativeType]
386
-    public function backup(SQLite3 $destination, string $sourceDatabase = 'main', string $destinationDatabase = 'main'): bool {}
387
-
388
-    /**
389
-     * @param null|callable $callback
390
-     * @return bool
391
-     * @since 8.0
392
-     */
393
-    #[TentativeType]
394
-    public function setAuthorizer(?callable $callback): bool {}
15
+	public const OK = 0;
16
+	public const DENY = 1;
17
+	public const IGNORE = 2;
18
+	public const CREATE_INDEX = 1;
19
+	public const CREATE_TABLE = 2;
20
+	public const CREATE_TEMP_INDEX = 3;
21
+	public const CREATE_TEMP_TABLE = 4;
22
+	public const CREATE_TEMP_TRIGGER = 5;
23
+	public const CREATE_TEMP_VIEW = 6;
24
+	public const CREATE_TRIGGER = 7;
25
+	public const CREATE_VIEW = 8;
26
+	public const DELETE = 9;
27
+	public const DROP_INDEX = 10;
28
+	public const DROP_TABLE = 11;
29
+	public const DROP_TEMP_INDEX = 12;
30
+	public const DROP_TEMP_TABLE = 13;
31
+	public const DROP_TEMP_TRIGGER = 14;
32
+	public const DROP_TEMP_VIEW = 15;
33
+	public const DROP_TRIGGER = 16;
34
+	public const DROP_VIEW = 17;
35
+	public const INSERT = 18;
36
+	public const PRAGMA = 19;
37
+	public const READ = 20;
38
+	public const SELECT = 21;
39
+	public const TRANSACTION = 22;
40
+	public const UPDATE = 23;
41
+	public const ATTACH = 24;
42
+	public const DETACH = 25;
43
+	public const ALTER_TABLE = 26;
44
+	public const REINDEX = 27;
45
+	public const ANALYZE = 28;
46
+	public const CREATE_VTABLE = 29;
47
+	public const DROP_VTABLE = 30;
48
+	public const FUNCTION = 31;
49
+	public const SAVEPOINT = 32;
50
+	public const COPY = 0;
51
+	public const RECURSIVE = 33;
52
+
53
+	/**
54
+	 * Opens an SQLite database
55
+	 * @link https://php.net/manual/en/sqlite3.open.php
56
+	 * @param string $filename <p>
57
+	 * Path to the SQLite database, or :memory: to use in-memory database.
58
+	 * </p>
59
+	 * @param int $flags [optional] <p>
60
+	 * Optional flags used to determine how to open the SQLite database. By
61
+	 * default, open uses SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE.
62
+	 * </p>
63
+	 * <p>
64
+	 * SQLITE3_OPEN_READONLY: Open the database for
65
+	 * reading only.
66
+	 * </p>
67
+	 * @param string $encryptionKey [optional] <p>
68
+	 * An optional encryption key used when encrypting and decrypting an
69
+	 * SQLite database.
70
+	 * </p>
71
+	 * @return void No value is returned.
72
+	 */
73
+	#[TentativeType]
74
+	public function open(
75
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
76
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = SQLITE3_OPEN_READWRITE|SQLITE3_OPEN_CREATE,
77
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $encryptionKey = null
78
+	): void {}
79
+
80
+	/**
81
+	 * Closes the database connection
82
+	 * @link https://php.net/manual/en/sqlite3.close.php
83
+	 * @return bool <b>TRUE</b> on success, <b>FALSE</b> on failure.
84
+	 */
85
+	public function close() {}
86
+
87
+	/**
88
+	 * Executes a result-less query against a given database
89
+	 * @link https://php.net/manual/en/sqlite3.exec.php
90
+	 * @param string $query <p>
91
+	 * The SQL query to execute (typically an INSERT, UPDATE, or DELETE
92
+	 * query).
93
+	 * </p>
94
+	 * @return bool <b>TRUE</b> if the query succeeded, <b>FALSE</b> on failure.
95
+	 */
96
+	#[TentativeType]
97
+	public function exec(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $query): bool {}
98
+
99
+	/**
100
+	 * Returns the SQLite3 library version as a string constant and as a number
101
+	 * @link https://php.net/manual/en/sqlite3.version.php
102
+	 * @return array an associative array with the keys "versionString" and
103
+	 * "versionNumber".
104
+	 */
105
+	#[ArrayShape(["versionString" => "string", "versionNumber" => "int"])]
106
+	#[TentativeType]
107
+	public static function version(): array {}
108
+
109
+	/**
110
+	 * Returns the row ID of the most recent INSERT into the database
111
+	 * @link https://php.net/manual/en/sqlite3.lastinsertrowid.php
112
+	 * @return int the row ID of the most recent INSERT into the database
113
+	 */
114
+	#[TentativeType]
115
+	public function lastInsertRowID(): int {}
116
+
117
+	/**
118
+	 * Returns the numeric result code of the most recent failed SQLite request
119
+	 * @link https://php.net/manual/en/sqlite3.lasterrorcode.php
120
+	 * @return int an integer value representing the numeric result code of the most
121
+	 * recent failed SQLite request.
122
+	 */
123
+	#[TentativeType]
124
+	public function lastErrorCode(): int {}
125
+
126
+	/**
127
+	 * Returns English text describing the most recent failed SQLite request
128
+	 * @link https://php.net/manual/en/sqlite3.lasterrormsg.php
129
+	 * @return string an English string describing the most recent failed SQLite request.
130
+	 */
131
+	#[TentativeType]
132
+	public function lastErrorMsg(): string {}
133
+
134
+	/**
135
+	 * Sets the busy connection handler
136
+	 * @link https://php.net/manual/en/sqlite3.busytimeout.php
137
+	 * @param int $milliseconds <p>
138
+	 * The milliseconds to sleep. Setting this value to a value less than
139
+	 * or equal to zero, will turn off an already set timeout handler.
140
+	 * </p>
141
+	 * @return bool <b>TRUE</b> on success, <b>FALSE</b> on failure.
142
+	 * @since 5.3.3
143
+	 */
144
+	#[TentativeType]
145
+	public function busyTimeout(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $milliseconds): bool {}
146
+
147
+	/**
148
+	 * Attempts to load an SQLite extension library
149
+	 * @link https://php.net/manual/en/sqlite3.loadextension.php
150
+	 * @param string $name <p>
151
+	 * The name of the library to load. The library must be located in the
152
+	 * directory specified in the configure option sqlite3.extension_dir.
153
+	 * </p>
154
+	 * @return bool <b>TRUE</b> if the extension is successfully loaded, <b>FALSE</b> on failure.
155
+	 */
156
+	#[TentativeType]
157
+	public function loadExtension(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name): bool {}
158
+
159
+	/**
160
+	 * Returns the number of database rows that were changed (or inserted or
161
+	 * deleted) by the most recent SQL statement
162
+	 * @link https://php.net/manual/en/sqlite3.changes.php
163
+	 * @return int an integer value corresponding to the number of
164
+	 * database rows changed (or inserted or deleted) by the most recent SQL
165
+	 * statement.
166
+	 */
167
+	#[TentativeType]
168
+	public function changes(): int {}
169
+
170
+	/**
171
+	 * Returns a string that has been properly escaped
172
+	 * @link https://php.net/manual/en/sqlite3.escapestring.php
173
+	 * @param string $string <p>
174
+	 * The string to be escaped.
175
+	 * </p>
176
+	 * @return string a properly escaped string that may be used safely in an SQL
177
+	 * statement.
178
+	 */
179
+	#[TentativeType]
180
+	public static function escapeString(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $string): string {}
181
+
182
+	/**
183
+	 * Prepares an SQL statement for execution
184
+	 * @link https://php.net/manual/en/sqlite3.prepare.php
185
+	 * @param string $query <p>
186
+	 * The SQL query to prepare.
187
+	 * </p>
188
+	 * @return SQLite3Stmt|false an <b>SQLite3Stmt</b> object on success or <b>FALSE</b> on failure.
189
+	 */
190
+	#[TentativeType]
191
+	public function prepare(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $query): SQLite3Stmt|false {}
192
+
193
+	/**
194
+	 * Executes an SQL query
195
+	 * @link https://php.net/manual/en/sqlite3.query.php
196
+	 * @param string $query <p>
197
+	 * The SQL query to execute.
198
+	 * </p>
199
+	 * @return SQLite3Result|false an <b>SQLite3Result</b> object, or <b>FALSE</b> on failure.
200
+	 */
201
+	#[TentativeType]
202
+	public function query(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $query): SQLite3Result|false {}
203
+
204
+	/**
205
+	 * Executes a query and returns a single result
206
+	 * @link https://php.net/manual/en/sqlite3.querysingle.php
207
+	 * @param string $query <p>
208
+	 * The SQL query to execute.
209
+	 * </p>
210
+	 * @param bool $entireRow [optional] <p>
211
+	 * By default, <b>querySingle</b> returns the value of the
212
+	 * first column returned by the query. If
213
+	 * <i>entire_row</i> is <b>TRUE</b>, then it returns an array
214
+	 * of the entire first row.
215
+	 * </p>
216
+	 * @return mixed the value of the first column of results or an array of the entire
217
+	 * first row (if <i>entire_row</i> is <b>TRUE</b>).
218
+	 * </p>
219
+	 * <p>
220
+	 * If the query is valid but no results are returned, then <b>NULL</b> will be
221
+	 * returned if <i>entire_row</i> is <b>FALSE</b>, otherwise an
222
+	 * empty array is returned.
223
+	 * </p>
224
+	 * <p>
225
+	 * Invalid or failing queries will return <b>FALSE</b>.
226
+	 */
227
+	#[TentativeType]
228
+	public function querySingle(
229
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $query,
230
+		#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $entireRow = false
231
+	): mixed {}
232
+
233
+	/**
234
+	 * Registers a PHP function for use as an SQL scalar function
235
+	 * @link https://php.net/manual/en/sqlite3.createfunction.php
236
+	 * @param string $name <p>
237
+	 * Name of the SQL function to be created or redefined.
238
+	 * </p>
239
+	 * @param mixed $callback <p>
240
+	 * The name of a PHP function or user-defined function to apply as a
241
+	 * callback, defining the behavior of the SQL function.
242
+	 * </p>
243
+	 * @param int $argCount [optional] <p>
244
+	 * The number of arguments that the SQL function takes. If
245
+	 * this parameter is negative, then the SQL function may take
246
+	 * any number of arguments.
247
+	 * </p>
248
+	 * @param int $flags [optional]
249
+	 * <p>A bitwise conjunction of flags.
250
+	 * Currently, only <b>SQLITE3_DETERMINISTIC</b> is supported, which specifies that the function always returns
251
+	 * the same result given the same inputs within a single SQL statement.</p>
252
+	 * @return bool <b>TRUE</b> upon successful creation of the function, <b>FALSE</b> on failure.
253
+	 */
254
+	#[TentativeType]
255
+	public function createFunction(
256
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name,
257
+		#[LanguageLevelTypeAware(['8.0' => 'callable'], default: '')] $callback,
258
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $argCount = -1,
259
+		int $flags = 0
260
+	): bool {}
261
+
262
+	/**
263
+	 * Registers a PHP function for use as an SQL aggregate function
264
+	 * @link https://php.net/manual/en/sqlite3.createaggregate.php
265
+	 * @param string $name <p>
266
+	 * Name of the SQL aggregate to be created or redefined.
267
+	 * </p>
268
+	 * @param mixed $stepCallback <p>
269
+	 * The name of a PHP function or user-defined function to apply as a
270
+	 * callback for every item in the aggregate.
271
+	 * </p>
272
+	 * @param mixed $finalCallback <p>
273
+	 * The name of a PHP function or user-defined function to apply as a
274
+	 * callback at the end of the aggregate data.
275
+	 * </p>
276
+	 * @param int $argCount [optional] <p>
277
+	 * The number of arguments that the SQL aggregate takes. If
278
+	 * this parameter is negative, then the SQL aggregate may take
279
+	 * any number of arguments.
280
+	 * </p>
281
+	 * @return bool <b>TRUE</b> upon successful creation of the aggregate, <b>FALSE</b> on
282
+	 * failure.
283
+	 */
284
+	#[TentativeType]
285
+	public function createAggregate(
286
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name,
287
+		#[LanguageLevelTypeAware(['8.0' => 'callable'], default: '')] $stepCallback,
288
+		#[LanguageLevelTypeAware(['8.0' => 'callable'], default: '')] $finalCallback,
289
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $argCount = -1
290
+	): bool {}
291
+
292
+	/**
293
+	 * Registers a PHP function for use as an SQL collating function
294
+	 * @link https://php.net/manual/en/sqlite3.createcollation.php
295
+	 * @param string $name <p>
296
+	 * Name of the SQL collating function to be created or redefined
297
+	 * </p>
298
+	 * @param callable $callback <p>
299
+	 * The name of a PHP function or user-defined function to apply as a
300
+	 * callback, defining the behavior of the collation. It should accept two
301
+	 * strings and return as <b>strcmp</b> does, i.e. it should
302
+	 * return -1, 1, or 0 if the first string sorts before, sorts after, or is
303
+	 * equal to the second.
304
+	 * </p>
305
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
306
+	 * @since 5.3.11
307
+	 */
308
+	#[TentativeType]
309
+	public function createCollation(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name, callable $callback): bool {}
310
+
311
+	/**
312
+	 * Opens a stream resource to read a BLOB
313
+	 * @link https://php.net/manual/en/sqlite3.openblob.php
314
+	 * @param string $table <p>The table name.</p>
315
+	 * @param string $column <p>The column name.</p>
316
+	 * @param int $rowid <p>The row ID.</p>
317
+	 * @param string $database [optional] <p>The symbolic name of the DB</p>
318
+	 * @param int $flags [optional]
319
+	 * <p>Either <b>SQLITE3_OPEN_READONLY</b> or <b>SQLITE3_OPEN_READWRITE</b> to open the stream for reading only, or for reading and writing, respectively.</p>
320
+	 * @return resource|false Returns a stream resource, or FALSE on failure.
321
+	 */
322
+	public function openBlob(
323
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $table,
324
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $column,
325
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $rowid,
326
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $database = 'main',
327
+		#[PhpStormStubsElementAvailable(from: '7.2')] int $flags = SQLITE3_OPEN_READONLY
328
+	) {}
329
+
330
+	/**
331
+	 * Enable throwing exceptions
332
+	 * @link https://www.php.net/manual/en/sqlite3.enableexceptions
333
+	 * @param bool $enable
334
+	 * @return bool Returns the old value; true if exceptions were enabled, false otherwise.
335
+	 */
336
+	#[TentativeType]
337
+	public function enableExceptions(#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $enable = false): bool {}
338
+
339
+	/**
340
+	 * Instantiates an SQLite3 object and opens an SQLite 3 database
341
+	 * @link https://php.net/manual/en/sqlite3.construct.php
342
+	 * @param string $filename <p>
343
+	 * Path to the SQLite database, or :memory: to use in-memory database.
344
+	 * </p>
345
+	 * @param int $flags [optional] <p>
346
+	 * Optional flags used to determine how to open the SQLite database. By
347
+	 * default, open uses SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE.
348
+	 * </p>
349
+	 * <p>
350
+	 * SQLITE3_OPEN_READONLY: Open the database for
351
+	 * reading only.
352
+	 * </p>
353
+	 * @param string $encryptionKey [optional] <p>
354
+	 * An optional encryption key used when encrypting and decrypting an
355
+	 * SQLite database.
356
+	 * </p>
357
+	 */
358
+	public function __construct(
359
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
360
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = SQLITE3_OPEN_READWRITE|SQLITE3_OPEN_CREATE,
361
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $encryptionKey = null
362
+	) {}
363
+
364
+	/**
365
+	 * @return int
366
+	 * @since 7.4
367
+	 */
368
+	#[TentativeType]
369
+	public function lastExtendedErrorCode(): int {}
370
+
371
+	/**
372
+	 * @param bool $enable
373
+	 * @since 7.4
374
+	 */
375
+	#[TentativeType]
376
+	public function enableExtendedResultCodes(bool $enable = true): bool {}
377
+
378
+	/**
379
+	 * @param SQLite3 $destination
380
+	 * @param string $sourceDatabase
381
+	 * @param string $destinationDatabase
382
+	 * @return bool
383
+	 * @since 7.4
384
+	 */
385
+	#[TentativeType]
386
+	public function backup(SQLite3 $destination, string $sourceDatabase = 'main', string $destinationDatabase = 'main'): bool {}
387
+
388
+	/**
389
+	 * @param null|callable $callback
390
+	 * @return bool
391
+	 * @since 8.0
392
+	 */
393
+	#[TentativeType]
394
+	public function setAuthorizer(?callable $callback): bool {}
395 395
 }
396 396
 
397 397
 /**
@@ -400,125 +400,125 @@  discard block
 block discarded – undo
400 400
  */
401 401
 class SQLite3Stmt
402 402
 {
403
-    /**
404
-     * Returns the number of parameters within the prepared statement
405
-     * @link https://php.net/manual/en/sqlite3stmt.paramcount.php
406
-     * @return int the number of parameters within the prepared statement.
407
-     */
408
-    #[TentativeType]
409
-    public function paramCount(): int {}
410
-
411
-    /**
412
-     * Closes the prepared statement
413
-     * @link https://php.net/manual/en/sqlite3stmt.close.php
414
-     * @return bool <b>TRUE</b>
415
-     */
416
-    #[TentativeType]
417
-    public function close(): bool {}
418
-
419
-    /**
420
-     * Resets the prepared statement
421
-     * @link https://php.net/manual/en/sqlite3stmt.reset.php
422
-     * @return bool <b>TRUE</b> if the statement is successfully reset, <b>FALSE</b> on failure.
423
-     */
424
-    #[TentativeType]
425
-    public function reset(): bool {}
426
-
427
-    /**
428
-     * Clears all current bound parameters
429
-     * @link https://php.net/manual/en/sqlite3stmt.clear.php
430
-     * @return bool <b>TRUE</b> on successful clearing of bound parameters, <b>FALSE</b> on
431
-     * failure.
432
-     */
433
-    #[TentativeType]
434
-    public function clear(): bool {}
435
-
436
-    /**
437
-     * Executes a prepared statement and returns a result set object
438
-     * @link https://php.net/manual/en/sqlite3stmt.execute.php
439
-     * @return SQLite3Result|false an <b>SQLite3Result</b> object on successful execution of the prepared
440
-     * statement, <b>FALSE</b> on failure.
441
-     */
442
-    #[TentativeType]
443
-    public function execute(): SQLite3Result|false {}
444
-
445
-    /**
446
-     * Binds a parameter to a statement variable
447
-     * @link https://php.net/manual/en/sqlite3stmt.bindparam.php
448
-     * @param string $param <p>
449
-     * An string identifying the statement variable to which the
450
-     * parameter should be bound.
451
-     * </p>
452
-     * @param mixed &$var <p>
453
-     * The parameter to bind to a statement variable.
454
-     * </p>
455
-     * @param int $type [optional] <p>
456
-     * The data type of the parameter to bind.
457
-     * </p>
458
-     * <p>
459
-     * SQLITE3_INTEGER: The value is a signed integer,
460
-     * stored in 1, 2, 3, 4, 6, or 8 bytes depending on the magnitude of
461
-     * the value.
462
-     * </p>
463
-     * @return bool <b>TRUE</b> if the parameter is bound to the statement variable, <b>FALSE</b>
464
-     * on failure.
465
-     */
466
-    #[TentativeType]
467
-    public function bindParam(
468
-        #[LanguageLevelTypeAware(['8.0' => 'string|int'], default: '')] $param,
469
-        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] &$var,
470
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $type = SQLITE3_TEXT
471
-    ): bool {}
472
-
473
-    /**
474
-     * Binds the value of a parameter to a statement variable
475
-     * @link https://php.net/manual/en/sqlite3stmt.bindvalue.php
476
-     * @param string $param <p>
477
-     * An string identifying the statement variable to which the
478
-     * value should be bound.
479
-     * </p>
480
-     * @param mixed $value <p>
481
-     * The value to bind to a statement variable.
482
-     * </p>
483
-     * @param int $type [optional] <p>
484
-     * The data type of the value to bind.
485
-     * </p>
486
-     * <p>
487
-     * SQLITE3_INTEGER: The value is a signed integer,
488
-     * stored in 1, 2, 3, 4, 6, or 8 bytes depending on the magnitude of
489
-     * the value.
490
-     * </p>
491
-     * @return bool <b>TRUE</b> if the value is bound to the statement variable, <b>FALSE</b>
492
-     * on failure.
493
-     */
494
-    #[TentativeType]
495
-    public function bindValue(
496
-        #[LanguageLevelTypeAware(['8.0' => 'string|int'], default: '')] $param,
497
-        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value,
498
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $type = SQLITE3_TEXT
499
-    ): bool {}
500
-
501
-    #[TentativeType]
502
-    public function readOnly(): bool {}
503
-
504
-    /**
505
-     * @param SQLite3 $sqlite3
506
-     * @param string $query
507
-     */
508
-    private function __construct(
509
-        #[LanguageLevelTypeAware(['8.0' => 'SQLite3'], default: '')] $sqlite3,
510
-        #[PhpStormStubsElementAvailable(from: '8.0')] string $query
511
-    ) {}
512
-
513
-    /**
514
-     * Retrieves the SQL of the prepared statement. If expanded is FALSE, the unmodified SQL is retrieved.
515
-     * If expanded is TRUE, all query parameters are replaced with their bound values, or with an SQL NULL, if not already bound.
516
-     * @param bool $expand Whether to retrieve the expanded SQL. Passing TRUE is only supported as of libsqlite 3.14.
517
-     * @return string|false Returns the SQL of the prepared statement, or FALSE on failure.
518
-     * @since 7.4
519
-     */
520
-    #[TentativeType]
521
-    public function getSQL(bool $expand = false): string|false {}
403
+	/**
404
+	 * Returns the number of parameters within the prepared statement
405
+	 * @link https://php.net/manual/en/sqlite3stmt.paramcount.php
406
+	 * @return int the number of parameters within the prepared statement.
407
+	 */
408
+	#[TentativeType]
409
+	public function paramCount(): int {}
410
+
411
+	/**
412
+	 * Closes the prepared statement
413
+	 * @link https://php.net/manual/en/sqlite3stmt.close.php
414
+	 * @return bool <b>TRUE</b>
415
+	 */
416
+	#[TentativeType]
417
+	public function close(): bool {}
418
+
419
+	/**
420
+	 * Resets the prepared statement
421
+	 * @link https://php.net/manual/en/sqlite3stmt.reset.php
422
+	 * @return bool <b>TRUE</b> if the statement is successfully reset, <b>FALSE</b> on failure.
423
+	 */
424
+	#[TentativeType]
425
+	public function reset(): bool {}
426
+
427
+	/**
428
+	 * Clears all current bound parameters
429
+	 * @link https://php.net/manual/en/sqlite3stmt.clear.php
430
+	 * @return bool <b>TRUE</b> on successful clearing of bound parameters, <b>FALSE</b> on
431
+	 * failure.
432
+	 */
433
+	#[TentativeType]
434
+	public function clear(): bool {}
435
+
436
+	/**
437
+	 * Executes a prepared statement and returns a result set object
438
+	 * @link https://php.net/manual/en/sqlite3stmt.execute.php
439
+	 * @return SQLite3Result|false an <b>SQLite3Result</b> object on successful execution of the prepared
440
+	 * statement, <b>FALSE</b> on failure.
441
+	 */
442
+	#[TentativeType]
443
+	public function execute(): SQLite3Result|false {}
444
+
445
+	/**
446
+	 * Binds a parameter to a statement variable
447
+	 * @link https://php.net/manual/en/sqlite3stmt.bindparam.php
448
+	 * @param string $param <p>
449
+	 * An string identifying the statement variable to which the
450
+	 * parameter should be bound.
451
+	 * </p>
452
+	 * @param mixed &$var <p>
453
+	 * The parameter to bind to a statement variable.
454
+	 * </p>
455
+	 * @param int $type [optional] <p>
456
+	 * The data type of the parameter to bind.
457
+	 * </p>
458
+	 * <p>
459
+	 * SQLITE3_INTEGER: The value is a signed integer,
460
+	 * stored in 1, 2, 3, 4, 6, or 8 bytes depending on the magnitude of
461
+	 * the value.
462
+	 * </p>
463
+	 * @return bool <b>TRUE</b> if the parameter is bound to the statement variable, <b>FALSE</b>
464
+	 * on failure.
465
+	 */
466
+	#[TentativeType]
467
+	public function bindParam(
468
+		#[LanguageLevelTypeAware(['8.0' => 'string|int'], default: '')] $param,
469
+		#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] &$var,
470
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $type = SQLITE3_TEXT
471
+	): bool {}
472
+
473
+	/**
474
+	 * Binds the value of a parameter to a statement variable
475
+	 * @link https://php.net/manual/en/sqlite3stmt.bindvalue.php
476
+	 * @param string $param <p>
477
+	 * An string identifying the statement variable to which the
478
+	 * value should be bound.
479
+	 * </p>
480
+	 * @param mixed $value <p>
481
+	 * The value to bind to a statement variable.
482
+	 * </p>
483
+	 * @param int $type [optional] <p>
484
+	 * The data type of the value to bind.
485
+	 * </p>
486
+	 * <p>
487
+	 * SQLITE3_INTEGER: The value is a signed integer,
488
+	 * stored in 1, 2, 3, 4, 6, or 8 bytes depending on the magnitude of
489
+	 * the value.
490
+	 * </p>
491
+	 * @return bool <b>TRUE</b> if the value is bound to the statement variable, <b>FALSE</b>
492
+	 * on failure.
493
+	 */
494
+	#[TentativeType]
495
+	public function bindValue(
496
+		#[LanguageLevelTypeAware(['8.0' => 'string|int'], default: '')] $param,
497
+		#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value,
498
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $type = SQLITE3_TEXT
499
+	): bool {}
500
+
501
+	#[TentativeType]
502
+	public function readOnly(): bool {}
503
+
504
+	/**
505
+	 * @param SQLite3 $sqlite3
506
+	 * @param string $query
507
+	 */
508
+	private function __construct(
509
+		#[LanguageLevelTypeAware(['8.0' => 'SQLite3'], default: '')] $sqlite3,
510
+		#[PhpStormStubsElementAvailable(from: '8.0')] string $query
511
+	) {}
512
+
513
+	/**
514
+	 * Retrieves the SQL of the prepared statement. If expanded is FALSE, the unmodified SQL is retrieved.
515
+	 * If expanded is TRUE, all query parameters are replaced with their bound values, or with an SQL NULL, if not already bound.
516
+	 * @param bool $expand Whether to retrieve the expanded SQL. Passing TRUE is only supported as of libsqlite 3.14.
517
+	 * @return string|false Returns the SQL of the prepared statement, or FALSE on failure.
518
+	 * @since 7.4
519
+	 */
520
+	#[TentativeType]
521
+	public function getSQL(bool $expand = false): string|false {}
522 522
 }
523 523
 
524 524
 /**
@@ -527,76 +527,76 @@  discard block
 block discarded – undo
527 527
  */
528 528
 class SQLite3Result
529 529
 {
530
-    /**
531
-     * Returns the number of columns in the result set
532
-     * @link https://php.net/manual/en/sqlite3result.numcolumns.php
533
-     * @return int the number of columns in the result set.
534
-     */
535
-    #[TentativeType]
536
-    public function numColumns(): int {}
537
-
538
-    /**
539
-     * Returns the name of the nth column
540
-     * @link https://php.net/manual/en/sqlite3result.columnname.php
541
-     * @param int $column <p>
542
-     * The numeric zero-based index of the column.
543
-     * </p>
544
-     * @return string|false the string name of the column identified by
545
-     * <i>column_number</i>.
546
-     */
547
-    #[TentativeType]
548
-    public function columnName(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $column): string|false {}
549
-
550
-    /**
551
-     * Returns the type of the nth column
552
-     * @link https://php.net/manual/en/sqlite3result.columntype.php
553
-     * @param int $column <p>
554
-     * The numeric zero-based index of the column.
555
-     * </p>
556
-     * @return int|false the data type index of the column identified by
557
-     * <i>column_number</i> (one of
558
-     * <b>SQLITE3_INTEGER</b>, <b>SQLITE3_FLOAT</b>,
559
-     * <b>SQLITE3_TEXT</b>, <b>SQLITE3_BLOB</b>, or
560
-     * <b>SQLITE3_NULL</b>).
561
-     */
562
-    #[TentativeType]
563
-    public function columnType(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $column): int|false {}
564
-
565
-    /**
566
-     * Fetches a result row as an associative or numerically indexed array or both
567
-     * @link https://php.net/manual/en/sqlite3result.fetcharray.php
568
-     * @param int $mode [optional] <p>
569
-     * Controls how the next row will be returned to the caller. This value
570
-     * must be one of either SQLITE3_ASSOC,
571
-     * SQLITE3_NUM, or SQLITE3_BOTH.
572
-     * </p>
573
-     * <p>
574
-     * SQLITE3_ASSOC: returns an array indexed by column
575
-     * name as returned in the corresponding result set
576
-     * </p>
577
-     * @return array|false a result row as an associatively or numerically indexed array or
578
-     * both. Alternately will return <b>FALSE</b> if there are no more rows.
579
-     */
580
-    #[TentativeType]
581
-    public function fetchArray(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $mode = SQLITE3_BOTH): array|false {}
582
-
583
-    /**
584
-     * Resets the result set back to the first row
585
-     * @link https://php.net/manual/en/sqlite3result.reset.php
586
-     * @return bool <b>TRUE</b> if the result set is successfully reset
587
-     * back to the first row, <b>FALSE</b> on failure.
588
-     */
589
-    #[TentativeType]
590
-    public function reset(): bool {}
591
-
592
-    /**
593
-     * Closes the result set
594
-     * @link https://php.net/manual/en/sqlite3result.finalize.php
595
-     * @return bool <b>TRUE</b>.
596
-     */
597
-    public function finalize() {}
598
-
599
-    private function __construct() {}
530
+	/**
531
+	 * Returns the number of columns in the result set
532
+	 * @link https://php.net/manual/en/sqlite3result.numcolumns.php
533
+	 * @return int the number of columns in the result set.
534
+	 */
535
+	#[TentativeType]
536
+	public function numColumns(): int {}
537
+
538
+	/**
539
+	 * Returns the name of the nth column
540
+	 * @link https://php.net/manual/en/sqlite3result.columnname.php
541
+	 * @param int $column <p>
542
+	 * The numeric zero-based index of the column.
543
+	 * </p>
544
+	 * @return string|false the string name of the column identified by
545
+	 * <i>column_number</i>.
546
+	 */
547
+	#[TentativeType]
548
+	public function columnName(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $column): string|false {}
549
+
550
+	/**
551
+	 * Returns the type of the nth column
552
+	 * @link https://php.net/manual/en/sqlite3result.columntype.php
553
+	 * @param int $column <p>
554
+	 * The numeric zero-based index of the column.
555
+	 * </p>
556
+	 * @return int|false the data type index of the column identified by
557
+	 * <i>column_number</i> (one of
558
+	 * <b>SQLITE3_INTEGER</b>, <b>SQLITE3_FLOAT</b>,
559
+	 * <b>SQLITE3_TEXT</b>, <b>SQLITE3_BLOB</b>, or
560
+	 * <b>SQLITE3_NULL</b>).
561
+	 */
562
+	#[TentativeType]
563
+	public function columnType(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $column): int|false {}
564
+
565
+	/**
566
+	 * Fetches a result row as an associative or numerically indexed array or both
567
+	 * @link https://php.net/manual/en/sqlite3result.fetcharray.php
568
+	 * @param int $mode [optional] <p>
569
+	 * Controls how the next row will be returned to the caller. This value
570
+	 * must be one of either SQLITE3_ASSOC,
571
+	 * SQLITE3_NUM, or SQLITE3_BOTH.
572
+	 * </p>
573
+	 * <p>
574
+	 * SQLITE3_ASSOC: returns an array indexed by column
575
+	 * name as returned in the corresponding result set
576
+	 * </p>
577
+	 * @return array|false a result row as an associatively or numerically indexed array or
578
+	 * both. Alternately will return <b>FALSE</b> if there are no more rows.
579
+	 */
580
+	#[TentativeType]
581
+	public function fetchArray(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $mode = SQLITE3_BOTH): array|false {}
582
+
583
+	/**
584
+	 * Resets the result set back to the first row
585
+	 * @link https://php.net/manual/en/sqlite3result.reset.php
586
+	 * @return bool <b>TRUE</b> if the result set is successfully reset
587
+	 * back to the first row, <b>FALSE</b> on failure.
588
+	 */
589
+	#[TentativeType]
590
+	public function reset(): bool {}
591
+
592
+	/**
593
+	 * Closes the result set
594
+	 * @link https://php.net/manual/en/sqlite3result.finalize.php
595
+	 * @return bool <b>TRUE</b>.
596
+	 */
597
+	public function finalize() {}
598
+
599
+	private function __construct() {}
600 600
 }
601 601
 
602 602
 /**
Please login to merge, or discard this patch.
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     #[TentativeType]
74 74
     public function open(
75 75
         #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
76
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = SQLITE3_OPEN_READWRITE|SQLITE3_OPEN_CREATE,
76
+        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE,
77 77
         #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $encryptionKey = null
78 78
     ): void {}
79 79
 
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
      * @return SQLite3Stmt|false an <b>SQLite3Stmt</b> object on success or <b>FALSE</b> on failure.
189 189
      */
190 190
     #[TentativeType]
191
-    public function prepare(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $query): SQLite3Stmt|false {}
191
+    public function prepare(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $query): SQLite3Stmt | false {}
192 192
 
193 193
     /**
194 194
      * Executes an SQL query
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
      * @return SQLite3Result|false an <b>SQLite3Result</b> object, or <b>FALSE</b> on failure.
200 200
      */
201 201
     #[TentativeType]
202
-    public function query(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $query): SQLite3Result|false {}
202
+    public function query(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $query): SQLite3Result | false {}
203 203
 
204 204
     /**
205 205
      * Executes a query and returns a single result
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
357 357
      */
358 358
     public function __construct(
359 359
         #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
360
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = SQLITE3_OPEN_READWRITE|SQLITE3_OPEN_CREATE,
360
+        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE,
361 361
         #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $encryptionKey = null
362 362
     ) {}
363 363
 
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
      * statement, <b>FALSE</b> on failure.
441 441
      */
442 442
     #[TentativeType]
443
-    public function execute(): SQLite3Result|false {}
443
+    public function execute(): SQLite3Result | false {}
444 444
 
445 445
     /**
446 446
      * Binds a parameter to a statement variable
@@ -465,9 +465,9 @@  discard block
 block discarded – undo
465 465
      */
466 466
     #[TentativeType]
467 467
     public function bindParam(
468
-        #[LanguageLevelTypeAware(['8.0' => 'string|int'], default: '')] $param,
469
-        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] &$var,
470
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $type = SQLITE3_TEXT
468
+        #[LanguageLevelTypeAware(['8.0' => 'string|int'], default : '')] $param,
469
+        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default : '')] & $var,
470
+        #[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $type = SQLITE3_TEXT
471 471
     ): bool {}
472 472
 
473 473
     /**
@@ -493,9 +493,9 @@  discard block
 block discarded – undo
493 493
      */
494 494
     #[TentativeType]
495 495
     public function bindValue(
496
-        #[LanguageLevelTypeAware(['8.0' => 'string|int'], default: '')] $param,
497
-        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value,
498
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $type = SQLITE3_TEXT
496
+        #[LanguageLevelTypeAware(['8.0' => 'string|int'], default : '')] $param,
497
+        #[LanguageLevelTypeAware(['8.0' => 'mixed'], default : '')] $value,
498
+        #[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $type = SQLITE3_TEXT
499 499
     ): bool {}
500 500
 
501 501
     #[TentativeType]
@@ -506,8 +506,8 @@  discard block
 block discarded – undo
506 506
      * @param string $query
507 507
      */
508 508
     private function __construct(
509
-        #[LanguageLevelTypeAware(['8.0' => 'SQLite3'], default: '')] $sqlite3,
510
-        #[PhpStormStubsElementAvailable(from: '8.0')] string $query
509
+        #[LanguageLevelTypeAware(['8.0' => 'SQLite3'], default : '')] $sqlite3,
510
+        #[PhpStormStubsElementAvailable(from : '8.0')] string $query
511 511
     ) {}
512 512
 
513 513
     /**
@@ -518,7 +518,7 @@  discard block
 block discarded – undo
518 518
      * @since 7.4
519 519
      */
520 520
     #[TentativeType]
521
-    public function getSQL(bool $expand = false): string|false {}
521
+    public function getSQL(bool $expand = false): string | false {}
522 522
 }
523 523
 
524 524
 /**
@@ -545,7 +545,7 @@  discard block
 block discarded – undo
545 545
      * <i>column_number</i>.
546 546
      */
547 547
     #[TentativeType]
548
-    public function columnName(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $column): string|false {}
548
+    public function columnName(#[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $column): string | false {}
549 549
 
550 550
     /**
551 551
      * Returns the type of the nth column
@@ -560,7 +560,7 @@  discard block
 block discarded – undo
560 560
      * <b>SQLITE3_NULL</b>).
561 561
      */
562 562
     #[TentativeType]
563
-    public function columnType(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $column): int|false {}
563
+    public function columnType(#[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $column): int | false {}
564 564
 
565 565
     /**
566 566
      * Fetches a result row as an associative or numerically indexed array or both
@@ -578,7 +578,7 @@  discard block
 block discarded – undo
578 578
      * both. Alternately will return <b>FALSE</b> if there are no more rows.
579 579
      */
580 580
     #[TentativeType]
581
-    public function fetchArray(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $mode = SQLITE3_BOTH): array|false {}
581
+    public function fetchArray(#[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $mode = SQLITE3_BOTH): array | false {}
582 582
 
583 583
     /**
584 584
      * Resets the result set back to the first row
Please login to merge, or discard this patch.
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -10,8 +10,7 @@  discard block
 block discarded – undo
10 10
  * A class that interfaces SQLite 3 databases.
11 11
  * @link https://php.net/manual/en/class.sqlite3.php
12 12
  */
13
-class SQLite3
14
-{
13
+class SQLite3 {
15 14
     public const OK = 0;
16 15
     public const DENY = 1;
17 16
     public const IGNORE = 2;
@@ -398,8 +397,7 @@  discard block
 block discarded – undo
398 397
  * A class that handles prepared statements for the SQLite 3 extension.
399 398
  * @link https://php.net/manual/en/class.sqlite3stmt.php
400 399
  */
401
-class SQLite3Stmt
402
-{
400
+class SQLite3Stmt {
403 401
     /**
404 402
      * Returns the number of parameters within the prepared statement
405 403
      * @link https://php.net/manual/en/sqlite3stmt.paramcount.php
@@ -525,8 +523,7 @@  discard block
 block discarded – undo
525 523
  * A class that handles result sets for the SQLite 3 extension.
526 524
  * @link https://php.net/manual/en/class.sqlite3result.php
527 525
  */
528
-class SQLite3Result
529
-{
526
+class SQLite3Result {
530 527
     /**
531 528
      * Returns the number of columns in the result set
532 529
      * @link https://php.net/manual/en/sqlite3result.numcolumns.php
Please login to merge, or discard this patch.
php-scoper/vendor/jetbrains/phpstorm-stubs/couchbase/couchbase.php 2 patches
Indentation   +2218 added lines, -2218 removed lines patch added patch discarded remove patch
@@ -75,33 +75,33 @@  discard block
 block discarded – undo
75 75
  */
76 76
 interface MutationToken
77 77
 {
78
-    /**
79
-     * Returns bucket name
80
-     *
81
-     * @return string
82
-     */
83
-    public function bucketName();
84
-
85
-    /**
86
-     * Returns partition number
87
-     *
88
-     * @return int
89
-     */
90
-    public function partitionId();
91
-
92
-    /**
93
-     * Returns UUID of the partition
94
-     *
95
-     * @return string
96
-     */
97
-    public function partitionUuid();
98
-
99
-    /**
100
-     * Returns the sequence number inside partition
101
-     *
102
-     * @return string
103
-     */
104
-    public function sequenceNumber();
78
+	/**
79
+	 * Returns bucket name
80
+	 *
81
+	 * @return string
82
+	 */
83
+	public function bucketName();
84
+
85
+	/**
86
+	 * Returns partition number
87
+	 *
88
+	 * @return int
89
+	 */
90
+	public function partitionId();
91
+
92
+	/**
93
+	 * Returns UUID of the partition
94
+	 *
95
+	 * @return string
96
+	 */
97
+	public function partitionUuid();
98
+
99
+	/**
100
+	 * Returns the sequence number inside partition
101
+	 *
102
+	 * @return string
103
+	 */
104
+	public function sequenceNumber();
105 105
 }
106 106
 
107 107
 /**
@@ -109,61 +109,61 @@  discard block
 block discarded – undo
109 109
  */
110 110
 interface QueryMetaData
111 111
 {
112
-    /**
113
-     * Returns the query execution status
114
-     *
115
-     * @return string|null
116
-     */
117
-    public function status(): ?string;
118
-
119
-    /**
120
-     * Returns the identifier associated with the query
121
-     *
122
-     * @return string|null
123
-     */
124
-    public function requestId(): ?string;
125
-
126
-    /**
127
-     * Returns the client context id associated with the query
128
-     *
129
-     * @return string|null
130
-     */
131
-    public function clientContextId(): ?string;
132
-
133
-    /**
134
-     * Returns the signature of the query
135
-     *
136
-     * @return array|null
137
-     */
138
-    public function signature(): ?array;
139
-
140
-    /**
141
-     * Returns any warnings generated during query execution
142
-     *
143
-     * @return array|null
144
-     */
145
-    public function warnings(): ?array;
146
-
147
-    /**
148
-     * Returns any errors generated during query execution
149
-     *
150
-     * @return array|null
151
-     */
152
-    public function errors(): ?array;
153
-
154
-    /**
155
-     * Returns metrics generated during query execution such as timings and counts
156
-     *
157
-     * @return array|null
158
-     */
159
-    public function metrics(): ?array;
160
-
161
-    /**
162
-     * Returns the profile of the query if enabled
163
-     *
164
-     * @return array|null
165
-     */
166
-    public function profile(): ?array;
112
+	/**
113
+	 * Returns the query execution status
114
+	 *
115
+	 * @return string|null
116
+	 */
117
+	public function status(): ?string;
118
+
119
+	/**
120
+	 * Returns the identifier associated with the query
121
+	 *
122
+	 * @return string|null
123
+	 */
124
+	public function requestId(): ?string;
125
+
126
+	/**
127
+	 * Returns the client context id associated with the query
128
+	 *
129
+	 * @return string|null
130
+	 */
131
+	public function clientContextId(): ?string;
132
+
133
+	/**
134
+	 * Returns the signature of the query
135
+	 *
136
+	 * @return array|null
137
+	 */
138
+	public function signature(): ?array;
139
+
140
+	/**
141
+	 * Returns any warnings generated during query execution
142
+	 *
143
+	 * @return array|null
144
+	 */
145
+	public function warnings(): ?array;
146
+
147
+	/**
148
+	 * Returns any errors generated during query execution
149
+	 *
150
+	 * @return array|null
151
+	 */
152
+	public function errors(): ?array;
153
+
154
+	/**
155
+	 * Returns metrics generated during query execution such as timings and counts
156
+	 *
157
+	 * @return array|null
158
+	 */
159
+	public function metrics(): ?array;
160
+
161
+	/**
162
+	 * Returns the profile of the query if enabled
163
+	 *
164
+	 * @return array|null
165
+	 */
166
+	public function profile(): ?array;
167 167
 }
168 168
 
169 169
 /**
@@ -171,47 +171,47 @@  discard block
 block discarded – undo
171 171
  */
172 172
 interface SearchMetaData
173 173
 {
174
-    /**
175
-     * Returns the number of pindexes successfully queried
176
-     *
177
-     * @return int|null
178
-     */
179
-    public function successCount(): ?int;
180
-
181
-    /**
182
-     * Returns the number of errors messages reported by individual pindexes
183
-     *
184
-     * @return int|null
185
-     */
186
-    public function errorCount(): ?int;
187
-
188
-    /**
189
-     * Returns the time taken to complete the query
190
-     *
191
-     * @return int|null
192
-     */
193
-    public function took(): ?int;
194
-
195
-    /**
196
-     * Returns the total number of matches for this result
197
-     *
198
-     * @return int|null
199
-     */
200
-    public function totalHits(): ?int;
201
-
202
-    /**
203
-     * Returns the highest score of all documents for this search query.
204
-     *
205
-     * @return float|null
206
-     */
207
-    public function maxScore(): ?float;
208
-
209
-    /**
210
-     * Returns the metrics generated during execution of this search query.
211
-     *
212
-     * @return array|null
213
-     */
214
-    public function metrics(): ?array;
174
+	/**
175
+	 * Returns the number of pindexes successfully queried
176
+	 *
177
+	 * @return int|null
178
+	 */
179
+	public function successCount(): ?int;
180
+
181
+	/**
182
+	 * Returns the number of errors messages reported by individual pindexes
183
+	 *
184
+	 * @return int|null
185
+	 */
186
+	public function errorCount(): ?int;
187
+
188
+	/**
189
+	 * Returns the time taken to complete the query
190
+	 *
191
+	 * @return int|null
192
+	 */
193
+	public function took(): ?int;
194
+
195
+	/**
196
+	 * Returns the total number of matches for this result
197
+	 *
198
+	 * @return int|null
199
+	 */
200
+	public function totalHits(): ?int;
201
+
202
+	/**
203
+	 * Returns the highest score of all documents for this search query.
204
+	 *
205
+	 * @return float|null
206
+	 */
207
+	public function maxScore(): ?float;
208
+
209
+	/**
210
+	 * Returns the metrics generated during execution of this search query.
211
+	 *
212
+	 * @return array|null
213
+	 */
214
+	public function metrics(): ?array;
215 215
 }
216 216
 
217 217
 /**
@@ -219,19 +219,19 @@  discard block
 block discarded – undo
219 219
  */
220 220
 interface ViewMetaData
221 221
 {
222
-    /**
223
-     * Returns the total number of rows returned by this view query
224
-     *
225
-     * @return int|null
226
-     */
227
-    public function totalRows(): ?int;
222
+	/**
223
+	 * Returns the total number of rows returned by this view query
224
+	 *
225
+	 * @return int|null
226
+	 */
227
+	public function totalRows(): ?int;
228 228
 
229
-    /**
230
-     * Returns debug information for this view query if enabled
231
-     *
232
-     * @return array|null
233
-     */
234
-    public function debug(): ?array;
229
+	/**
230
+	 * Returns debug information for this view query if enabled
231
+	 *
232
+	 * @return array|null
233
+	 */
234
+	public function debug(): ?array;
235 235
 }
236 236
 
237 237
 /**
@@ -239,12 +239,12 @@  discard block
 block discarded – undo
239 239
  */
240 240
 interface Result
241 241
 {
242
-    /**
243
-     * Returns the CAS value for the document
244
-     *
245
-     * @return string|null
246
-     */
247
-    public function cas(): ?string;
242
+	/**
243
+	 * Returns the CAS value for the document
244
+	 *
245
+	 * @return string|null
246
+	 */
247
+	public function cas(): ?string;
248 248
 }
249 249
 
250 250
 /**
@@ -252,21 +252,21 @@  discard block
 block discarded – undo
252 252
  */
253 253
 interface GetResult extends Result
254 254
 {
255
-    /**
256
-     * Returns the content of the document fetched
257
-     *
258
-     * @return array|null
259
-     */
260
-    public function content(): ?array;
255
+	/**
256
+	 * Returns the content of the document fetched
257
+	 *
258
+	 * @return array|null
259
+	 */
260
+	public function content(): ?array;
261 261
 
262
-    /**
263
-     * Returns the document expiration time or null if the document does not expire.
264
-     *
265
-     * Note, that this function will return expiry only when GetOptions had withExpiry set to true.
266
-     *
267
-     * @return DateTimeInterface|null
268
-     */
269
-    public function expiryTime(): ?DateTimeInterface;
262
+	/**
263
+	 * Returns the document expiration time or null if the document does not expire.
264
+	 *
265
+	 * Note, that this function will return expiry only when GetOptions had withExpiry set to true.
266
+	 *
267
+	 * @return DateTimeInterface|null
268
+	 */
269
+	public function expiryTime(): ?DateTimeInterface;
270 270
 }
271 271
 
272 272
 /**
@@ -274,19 +274,19 @@  discard block
 block discarded – undo
274 274
  */
275 275
 interface GetReplicaResult extends Result
276 276
 {
277
-    /**
278
-     * Returns the content of the document fetched
279
-     *
280
-     * @return array|null
281
-     */
282
-    public function content(): ?array;
277
+	/**
278
+	 * Returns the content of the document fetched
279
+	 *
280
+	 * @return array|null
281
+	 */
282
+	public function content(): ?array;
283 283
 
284
-    /**
285
-     * Returns whether or not the document came from a replica server
286
-     *
287
-     * @return bool
288
-     */
289
-    public function isReplica(): bool;
284
+	/**
285
+	 * Returns whether or not the document came from a replica server
286
+	 *
287
+	 * @return bool
288
+	 */
289
+	public function isReplica(): bool;
290 290
 }
291 291
 
292 292
 /**
@@ -294,12 +294,12 @@  discard block
 block discarded – undo
294 294
  */
295 295
 interface ExistsResult extends Result
296 296
 {
297
-    /**
298
-     * Returns whether or not the document exists
299
-     *
300
-     * @return bool
301
-     */
302
-    public function exists(): bool;
297
+	/**
298
+	 * Returns whether or not the document exists
299
+	 *
300
+	 * @return bool
301
+	 */
302
+	public function exists(): bool;
303 303
 }
304 304
 
305 305
 /**
@@ -307,12 +307,12 @@  discard block
 block discarded – undo
307 307
  */
308 308
 interface MutationResult extends Result
309 309
 {
310
-    /**
311
-     * Returns the mutation token generated during the mutation
312
-     *
313
-     * @return MutationToken|null
314
-     */
315
-    public function mutationToken(): ?MutationToken;
310
+	/**
311
+	 * Returns the mutation token generated during the mutation
312
+	 *
313
+	 * @return MutationToken|null
314
+	 */
315
+	public function mutationToken(): ?MutationToken;
316 316
 }
317 317
 
318 318
 /**
@@ -320,12 +320,12 @@  discard block
 block discarded – undo
320 320
  */
321 321
 interface CounterResult extends MutationResult
322 322
 {
323
-    /**
324
-     * Returns the new value of the counter
325
-     *
326
-     * @return int
327
-     */
328
-    public function content(): int;
323
+	/**
324
+	 * Returns the new value of the counter
325
+	 *
326
+	 * @return int
327
+	 */
328
+	public function content(): int;
329 329
 }
330 330
 
331 331
 /**
@@ -333,38 +333,38 @@  discard block
 block discarded – undo
333 333
  */
334 334
 interface LookupInResult extends Result
335 335
 {
336
-    /**
337
-     * Returns the value located at the index specified
338
-     *
339
-     * @param int $index the index to retrieve content from
340
-     * @return object|null
341
-     */
342
-    public function content(int $index): ?object;
343
-
344
-    /**
345
-     * Returns whether or not the path at the index specified exists
346
-     *
347
-     * @param int $index the index to check for existence
348
-     * @return bool
349
-     */
350
-    public function exists(int $index): bool;
351
-
352
-    /**
353
-     * Returns any error code for the path at the index specified
354
-     *
355
-     * @param int $index the index to retrieve the error code for
356
-     * @return int
357
-     */
358
-    public function status(int $index): int;
359
-
360
-    /**
361
-     * Returns the document expiration time or null if the document does not expire.
362
-     *
363
-     * Note, that this function will return expiry only when LookupInOptions had withExpiry set to true.
364
-     *
365
-     * @return DateTimeInterface|null
366
-     */
367
-    public function expiryTime(): ?DateTimeInterface;
336
+	/**
337
+	 * Returns the value located at the index specified
338
+	 *
339
+	 * @param int $index the index to retrieve content from
340
+	 * @return object|null
341
+	 */
342
+	public function content(int $index): ?object;
343
+
344
+	/**
345
+	 * Returns whether or not the path at the index specified exists
346
+	 *
347
+	 * @param int $index the index to check for existence
348
+	 * @return bool
349
+	 */
350
+	public function exists(int $index): bool;
351
+
352
+	/**
353
+	 * Returns any error code for the path at the index specified
354
+	 *
355
+	 * @param int $index the index to retrieve the error code for
356
+	 * @return int
357
+	 */
358
+	public function status(int $index): int;
359
+
360
+	/**
361
+	 * Returns the document expiration time or null if the document does not expire.
362
+	 *
363
+	 * Note, that this function will return expiry only when LookupInOptions had withExpiry set to true.
364
+	 *
365
+	 * @return DateTimeInterface|null
366
+	 */
367
+	public function expiryTime(): ?DateTimeInterface;
368 368
 }
369 369
 
370 370
 /**
@@ -372,13 +372,13 @@  discard block
 block discarded – undo
372 372
  */
373 373
 interface MutateInResult extends MutationResult
374 374
 {
375
-    /**
376
-     * Returns any value located at the index specified
377
-     *
378
-     * @param int $index the index to retrieve content from
379
-     * @return array|null
380
-     */
381
-    public function content(int $index): ?array;
375
+	/**
376
+	 * Returns any value located at the index specified
377
+	 *
378
+	 * @param int $index the index to retrieve content from
379
+	 * @return array|null
380
+	 */
381
+	public function content(int $index): ?array;
382 382
 }
383 383
 
384 384
 /**
@@ -386,19 +386,19 @@  discard block
 block discarded – undo
386 386
  */
387 387
 interface QueryResult
388 388
 {
389
-    /**
390
-     * Returns metadata generated during query execution such as errors and metrics
391
-     *
392
-     * @return QueryMetaData|null
393
-     */
394
-    public function metaData(): ?QueryMetaData;
389
+	/**
390
+	 * Returns metadata generated during query execution such as errors and metrics
391
+	 *
392
+	 * @return QueryMetaData|null
393
+	 */
394
+	public function metaData(): ?QueryMetaData;
395 395
 
396
-    /**
397
-     * Returns the rows returns during query execution
398
-     *
399
-     * @return array|null
400
-     */
401
-    public function rows(): ?array;
396
+	/**
397
+	 * Returns the rows returns during query execution
398
+	 *
399
+	 * @return array|null
400
+	 */
401
+	public function rows(): ?array;
402 402
 }
403 403
 
404 404
 /**
@@ -406,19 +406,19 @@  discard block
 block discarded – undo
406 406
  */
407 407
 interface AnalyticsResult
408 408
 {
409
-    /**
410
-     * Returns metadata generated during query execution
411
-     *
412
-     * @return QueryMetaData|null
413
-     */
414
-    public function metaData(): ?QueryMetaData;
409
+	/**
410
+	 * Returns metadata generated during query execution
411
+	 *
412
+	 * @return QueryMetaData|null
413
+	 */
414
+	public function metaData(): ?QueryMetaData;
415 415
 
416
-    /**
417
-     * Returns the rows returned during query execution
418
-     *
419
-     * @return array|null
420
-     */
421
-    public function rows(): ?array;
416
+	/**
417
+	 * Returns the rows returned during query execution
418
+	 *
419
+	 * @return array|null
420
+	 */
421
+	public function rows(): ?array;
422 422
 }
423 423
 
424 424
 /**
@@ -427,15 +427,15 @@  discard block
 block discarded – undo
427 427
  */
428 428
 interface TermFacetResult
429 429
 {
430
-    /**
431
-     * @return string
432
-     */
433
-    public function term(): string;
430
+	/**
431
+	 * @return string
432
+	 */
433
+	public function term(): string;
434 434
 
435
-    /**
436
-     * @return int
437
-     */
438
-    public function count(): int;
435
+	/**
436
+	 * @return int
437
+	 */
438
+	public function count(): int;
439 439
 }
440 440
 
441 441
 /**
@@ -444,25 +444,25 @@  discard block
 block discarded – undo
444 444
  */
445 445
 interface NumericRangeFacetResult
446 446
 {
447
-    /**
448
-     * @return string
449
-     */
450
-    public function name(): string;
447
+	/**
448
+	 * @return string
449
+	 */
450
+	public function name(): string;
451 451
 
452
-    /**
453
-     * @return int|float|null
454
-     */
455
-    public function min();
452
+	/**
453
+	 * @return int|float|null
454
+	 */
455
+	public function min();
456 456
 
457
-    /**
458
-     * @return int|float|null
459
-     */
460
-    public function max();
457
+	/**
458
+	 * @return int|float|null
459
+	 */
460
+	public function max();
461 461
 
462
-    /**
463
-     * @return int
464
-     */
465
-    public function count(): int;
462
+	/**
463
+	 * @return int
464
+	 */
465
+	public function count(): int;
466 466
 }
467 467
 
468 468
 /**
@@ -471,25 +471,25 @@  discard block
 block discarded – undo
471 471
  */
472 472
 interface DateRangeFacetResult
473 473
 {
474
-    /**
475
-     * @return string
476
-     */
477
-    public function name(): string;
474
+	/**
475
+	 * @return string
476
+	 */
477
+	public function name(): string;
478 478
 
479
-    /**
480
-     * @return string|null
481
-     */
482
-    public function start(): ?string;
479
+	/**
480
+	 * @return string|null
481
+	 */
482
+	public function start(): ?string;
483 483
 
484
-    /**
485
-     * @return string|null
486
-     */
487
-    public function end(): ?string;
484
+	/**
485
+	 * @return string|null
486
+	 */
487
+	public function end(): ?string;
488 488
 
489
-    /**
490
-     * @return int
491
-     */
492
-    public function count(): int;
489
+	/**
490
+	 * @return int
491
+	 */
492
+	public function count(): int;
493 493
 }
494 494
 
495 495
 /**
@@ -499,51 +499,51 @@  discard block
 block discarded – undo
499 499
  */
500 500
 interface SearchFacetResult
501 501
 {
502
-    /**
503
-     * The field the SearchFacet was targeting.
504
-     *
505
-     * @return string
506
-     */
507
-    public function field(): string;
508
-
509
-    /**
510
-     * The total number of *valued* facet results. Total = other() + terms (but doesn't include * missing()).
511
-     *
512
-     * @return int
513
-     */
514
-    public function total(): int;
515
-
516
-    /**
517
-     * The number of results that couldn't be faceted, missing the adequate value. Not matter how many more
518
-     * buckets are added to the original facet, these result won't ever be included in one.
519
-     *
520
-     * @return int
521
-     */
522
-    public function missing(): int;
523
-
524
-    /**
525
-     * The number of results that could have been faceted (because they have a value for the facet's field) but
526
-     * weren't, due to not having a bucket in which they belong. Adding a bucket can result in these results being
527
-     * faceted.
528
-     *
529
-     * @return int
530
-     */
531
-    public function other(): int;
532
-
533
-    /**
534
-     * @return array of pairs string name to TermFacetResult
535
-     */
536
-    public function terms(): ?array;
537
-
538
-    /**
539
-     * @return array of pairs string name to NumericRangeFacetResult
540
-     */
541
-    public function numericRanges(): ?array;
542
-
543
-    /**
544
-     * @return array of pairs string name to DateRangeFacetResult
545
-     */
546
-    public function dateRanges(): ?array;
502
+	/**
503
+	 * The field the SearchFacet was targeting.
504
+	 *
505
+	 * @return string
506
+	 */
507
+	public function field(): string;
508
+
509
+	/**
510
+	 * The total number of *valued* facet results. Total = other() + terms (but doesn't include * missing()).
511
+	 *
512
+	 * @return int
513
+	 */
514
+	public function total(): int;
515
+
516
+	/**
517
+	 * The number of results that couldn't be faceted, missing the adequate value. Not matter how many more
518
+	 * buckets are added to the original facet, these result won't ever be included in one.
519
+	 *
520
+	 * @return int
521
+	 */
522
+	public function missing(): int;
523
+
524
+	/**
525
+	 * The number of results that could have been faceted (because they have a value for the facet's field) but
526
+	 * weren't, due to not having a bucket in which they belong. Adding a bucket can result in these results being
527
+	 * faceted.
528
+	 *
529
+	 * @return int
530
+	 */
531
+	public function other(): int;
532
+
533
+	/**
534
+	 * @return array of pairs string name to TermFacetResult
535
+	 */
536
+	public function terms(): ?array;
537
+
538
+	/**
539
+	 * @return array of pairs string name to NumericRangeFacetResult
540
+	 */
541
+	public function numericRanges(): ?array;
542
+
543
+	/**
544
+	 * @return array of pairs string name to DateRangeFacetResult
545
+	 */
546
+	public function dateRanges(): ?array;
547 547
 }
548 548
 
549 549
 /**
@@ -551,27 +551,27 @@  discard block
 block discarded – undo
551 551
  */
552 552
 interface SearchResult
553 553
 {
554
-    /**
555
-     * Returns metadata generated during query execution
556
-     *
557
-     * @return SearchMetaData|null
558
-     */
559
-    public function metaData(): ?SearchMetaData;
554
+	/**
555
+	 * Returns metadata generated during query execution
556
+	 *
557
+	 * @return SearchMetaData|null
558
+	 */
559
+	public function metaData(): ?SearchMetaData;
560 560
 
561
-    /**
562
-     * Returns any facets returned by the query
563
-     *
564
-     * Array contains instances of SearchFacetResult
565
-     * @return array|null
566
-     */
567
-    public function facets(): ?array;
561
+	/**
562
+	 * Returns any facets returned by the query
563
+	 *
564
+	 * Array contains instances of SearchFacetResult
565
+	 * @return array|null
566
+	 */
567
+	public function facets(): ?array;
568 568
 
569
-    /**
570
-     * Returns any rows returned by the query
571
-     *
572
-     * @return array|null
573
-     */
574
-    public function rows(): ?array;
569
+	/**
570
+	 * Returns any rows returned by the query
571
+	 *
572
+	 * @return array|null
573
+	 */
574
+	public function rows(): ?array;
575 575
 }
576 576
 
577 577
 /**
@@ -579,19 +579,19 @@  discard block
 block discarded – undo
579 579
  */
580 580
 interface ViewResult
581 581
 {
582
-    /**
583
-     * Returns metadata generated during query execution
584
-     *
585
-     * @return ViewMetaData|null
586
-     */
587
-    public function metaData(): ?ViewMetaData;
582
+	/**
583
+	 * Returns metadata generated during query execution
584
+	 *
585
+	 * @return ViewMetaData|null
586
+	 */
587
+	public function metaData(): ?ViewMetaData;
588 588
 
589
-    /**
590
-     * Returns any rows returned by the query
591
-     *
592
-     * @return array|null
593
-     */
594
-    public function rows(): ?array;
589
+	/**
590
+	 * Returns any rows returned by the query
591
+	 *
592
+	 * @return array|null
593
+	 */
594
+	public function rows(): ?array;
595 595
 }
596 596
 
597 597
 /**
@@ -599,27 +599,27 @@  discard block
 block discarded – undo
599 599
  */
600 600
 class ViewRow
601 601
 {
602
-    /**
603
-     * Returns the id of the row
604
-     *
605
-     * @return string|null
606
-     */
607
-    public function id(): ?string {}
602
+	/**
603
+	 * Returns the id of the row
604
+	 *
605
+	 * @return string|null
606
+	 */
607
+	public function id(): ?string {}
608 608
 
609
-    /**
610
-     * Returns the key of the document
611
-     */
612
-    public function key() {}
609
+	/**
610
+	 * Returns the key of the document
611
+	 */
612
+	public function key() {}
613 613
 
614
-    /**
615
-     * Returns the value of the row
616
-     */
617
-    public function value() {}
614
+	/**
615
+	 * Returns the value of the row
616
+	 */
617
+	public function value() {}
618 618
 
619
-    /**
620
-     * Returns the corresponding document for the row, if enabled
621
-     */
622
-    public function document() {}
619
+	/**
620
+	 * Returns the corresponding document for the row, if enabled
621
+	 */
622
+	public function document() {}
623 623
 }
624 624
 
625 625
 /**
@@ -627,19 +627,19 @@  discard block
 block discarded – undo
627 627
  */
628 628
 class BaseException extends Exception implements Throwable
629 629
 {
630
-    /**
631
-     * Returns the underling reference string, if any
632
-     *
633
-     * @return string|null
634
-     */
635
-    public function ref(): ?string {}
630
+	/**
631
+	 * Returns the underling reference string, if any
632
+	 *
633
+	 * @return string|null
634
+	 */
635
+	public function ref(): ?string {}
636 636
 
637
-    /**
638
-     * Returns the underling error context, if any
639
-     *
640
-     * @return object|null
641
-     */
642
-    public function context(): ?object {}
637
+	/**
638
+	 * Returns the underling error context, if any
639
+	 *
640
+	 * @return object|null
641
+	 */
642
+	public function context(): ?object {}
643 643
 }
644 644
 
645 645
 class RequestCanceledException extends BaseException implements Throwable {}
@@ -808,135 +808,135 @@  discard block
 block discarded – undo
808 808
 
809 809
 class QueryIndex
810 810
 {
811
-    public function name(): string {}
811
+	public function name(): string {}
812 812
 
813
-    public function isPrimary(): bool {}
813
+	public function isPrimary(): bool {}
814 814
 
815
-    public function type(): string {}
815
+	public function type(): string {}
816 816
 
817
-    public function state(): string {}
817
+	public function state(): string {}
818 818
 
819
-    public function keyspace(): string {}
819
+	public function keyspace(): string {}
820 820
 
821
-    public function indexKey(): array {}
821
+	public function indexKey(): array {}
822 822
 
823
-    public function condition(): ?string {}
823
+	public function condition(): ?string {}
824 824
 }
825 825
 
826 826
 class CreateQueryIndexOptions
827 827
 {
828
-    public function condition(string $condition): CreateQueryIndexOptions {}
828
+	public function condition(string $condition): CreateQueryIndexOptions {}
829 829
 
830
-    public function ignoreIfExists(bool $shouldIgnore): CreateQueryIndexOptions {}
830
+	public function ignoreIfExists(bool $shouldIgnore): CreateQueryIndexOptions {}
831 831
 
832
-    public function numReplicas(int $number): CreateQueryIndexOptions {}
832
+	public function numReplicas(int $number): CreateQueryIndexOptions {}
833 833
 
834
-    public function deferred(bool $isDeferred): CreateQueryIndexOptions {}
834
+	public function deferred(bool $isDeferred): CreateQueryIndexOptions {}
835 835
 }
836 836
 
837 837
 class CreateQueryPrimaryIndexOptions
838 838
 {
839
-    public function indexName(string $name): CreateQueryPrimaryIndexOptions {}
839
+	public function indexName(string $name): CreateQueryPrimaryIndexOptions {}
840 840
 
841
-    public function ignoreIfExists(bool $shouldIgnore): CreateQueryPrimaryIndexOptions {}
841
+	public function ignoreIfExists(bool $shouldIgnore): CreateQueryPrimaryIndexOptions {}
842 842
 
843
-    public function numReplicas(int $number): CreateQueryPrimaryIndexOptions {}
843
+	public function numReplicas(int $number): CreateQueryPrimaryIndexOptions {}
844 844
 
845
-    public function deferred(bool $isDeferred): CreateQueryPrimaryIndexOptions {}
845
+	public function deferred(bool $isDeferred): CreateQueryPrimaryIndexOptions {}
846 846
 }
847 847
 
848 848
 class DropQueryIndexOptions
849 849
 {
850
-    public function ignoreIfNotExists(bool $shouldIgnore): DropQueryIndexOptions {}
850
+	public function ignoreIfNotExists(bool $shouldIgnore): DropQueryIndexOptions {}
851 851
 }
852 852
 
853 853
 class DropQueryPrimaryIndexOptions
854 854
 {
855
-    public function indexName(string $name): DropQueryPrimaryIndexOptions {}
855
+	public function indexName(string $name): DropQueryPrimaryIndexOptions {}
856 856
 
857
-    public function ignoreIfNotExists(bool $shouldIgnore): DropQueryPrimaryIndexOptions {}
857
+	public function ignoreIfNotExists(bool $shouldIgnore): DropQueryPrimaryIndexOptions {}
858 858
 }
859 859
 
860 860
 class WatchQueryIndexesOptions
861 861
 {
862
-    public function watchPrimary(bool $shouldWatch): WatchQueryIndexesOptions {}
862
+	public function watchPrimary(bool $shouldWatch): WatchQueryIndexesOptions {}
863 863
 }
864 864
 
865 865
 class QueryIndexManager
866 866
 {
867
-    public function getAllIndexes(string $bucketName): array {}
867
+	public function getAllIndexes(string $bucketName): array {}
868 868
 
869
-    public function createIndex(string $bucketName, string $indexName, array $fields, CreateQueryIndexOptions $options = null) {}
869
+	public function createIndex(string $bucketName, string $indexName, array $fields, CreateQueryIndexOptions $options = null) {}
870 870
 
871
-    public function createPrimaryIndex(string $bucketName, CreateQueryPrimaryIndexOptions $options = null) {}
871
+	public function createPrimaryIndex(string $bucketName, CreateQueryPrimaryIndexOptions $options = null) {}
872 872
 
873
-    public function dropIndex(string $bucketName, string $indexName, DropQueryIndexOptions $options = null) {}
873
+	public function dropIndex(string $bucketName, string $indexName, DropQueryIndexOptions $options = null) {}
874 874
 
875
-    public function dropPrimaryIndex(string $bucketName, DropQueryPrimaryIndexOptions $options = null) {}
875
+	public function dropPrimaryIndex(string $bucketName, DropQueryPrimaryIndexOptions $options = null) {}
876 876
 
877
-    public function watchIndexes(string $bucketName, array $indexNames, int $timeout, WatchQueryIndexesOptions $options = null) {}
877
+	public function watchIndexes(string $bucketName, array $indexNames, int $timeout, WatchQueryIndexesOptions $options = null) {}
878 878
 
879
-    public function buildDeferredIndexes(string $bucketName) {}
879
+	public function buildDeferredIndexes(string $bucketName) {}
880 880
 }
881 881
 
882 882
 class SearchIndex implements JsonSerializable
883 883
 {
884
-    public function jsonSerialize() {}
884
+	public function jsonSerialize() {}
885 885
 
886
-    public function type(): string {}
886
+	public function type(): string {}
887 887
 
888
-    public function uuid(): string {}
888
+	public function uuid(): string {}
889 889
 
890
-    public function params(): array {}
890
+	public function params(): array {}
891 891
 
892
-    public function sourceType(): string {}
892
+	public function sourceType(): string {}
893 893
 
894
-    public function sourceUuid(): string {}
894
+	public function sourceUuid(): string {}
895 895
 
896
-    public function sourceName(): string {}
896
+	public function sourceName(): string {}
897 897
 
898
-    public function sourceParams(): array {}
898
+	public function sourceParams(): array {}
899 899
 
900
-    public function setType(string $type): SearchIndex {}
900
+	public function setType(string $type): SearchIndex {}
901 901
 
902
-    public function setUuid(string $uuid): SearchIndex {}
902
+	public function setUuid(string $uuid): SearchIndex {}
903 903
 
904
-    public function setParams(string $params): SearchIndex {}
904
+	public function setParams(string $params): SearchIndex {}
905 905
 
906
-    public function setSourceType(string $type): SearchIndex {}
906
+	public function setSourceType(string $type): SearchIndex {}
907 907
 
908
-    public function setSourceUuid(string $uuid): SearchIndex {}
908
+	public function setSourceUuid(string $uuid): SearchIndex {}
909 909
 
910
-    public function setSourcename(string $params): SearchIndex {}
910
+	public function setSourcename(string $params): SearchIndex {}
911 911
 
912
-    public function setSourceParams(string $params): SearchIndex {}
912
+	public function setSourceParams(string $params): SearchIndex {}
913 913
 }
914 914
 
915 915
 class SearchIndexManager
916 916
 {
917
-    public function getIndex(string $name): SearchIndex {}
917
+	public function getIndex(string $name): SearchIndex {}
918 918
 
919
-    public function getAllIndexes(): array {}
919
+	public function getAllIndexes(): array {}
920 920
 
921
-    public function upsertIndex(SearchIndex $indexDefinition) {}
921
+	public function upsertIndex(SearchIndex $indexDefinition) {}
922 922
 
923
-    public function dropIndex(string $name) {}
923
+	public function dropIndex(string $name) {}
924 924
 
925
-    public function getIndexedDocumentsCount(string $indexName): int {}
925
+	public function getIndexedDocumentsCount(string $indexName): int {}
926 926
 
927
-    public function pauseIngest(string $indexName) {}
927
+	public function pauseIngest(string $indexName) {}
928 928
 
929
-    public function resumeIngest(string $indexName) {}
929
+	public function resumeIngest(string $indexName) {}
930 930
 
931
-    public function allowQuerying(string $indexName) {}
931
+	public function allowQuerying(string $indexName) {}
932 932
 
933
-    public function disallowQuerying(string $indexName) {}
933
+	public function disallowQuerying(string $indexName) {}
934 934
 
935
-    public function freezePlan(string $indexName) {}
935
+	public function freezePlan(string $indexName) {}
936 936
 
937
-    public function unfreezePlan(string $indexName) {}
937
+	public function unfreezePlan(string $indexName) {}
938 938
 
939
-    public function analyzeDocument(string $indexName, $document) {}
939
+	public function analyzeDocument(string $indexName, $document) {}
940 940
 }
941 941
 
942 942
 /**
@@ -945,329 +945,329 @@  discard block
 block discarded – undo
945 945
  */
946 946
 class Cluster
947 947
 {
948
-    public function __construct(string $connstr, ClusterOptions $options) {}
949
-
950
-    /**
951
-     * Returns a new bucket object.
952
-     *
953
-     * @param string $name the name of the bucket
954
-     * @return Bucket
955
-     */
956
-    public function bucket(string $name): Bucket {}
957
-
958
-    /**
959
-     * Executes a N1QL query against the cluster.
960
-     * Note: On Couchbase Server versions < 6.5 a bucket must be opened before using query.
961
-     *
962
-     * @param string $statement the N1QL query statement to execute
963
-     * @param QueryOptions $options the options to use when executing the query
964
-     * @return QueryResult
965
-     */
966
-    public function query(string $statement, QueryOptions $options = null): QueryResult {}
967
-
968
-    /**
969
-     * Executes an analytics query against the cluster.
970
-     * Note: On Couchbase Server versions < 6.5 a bucket must be opened before using analyticsQuery.
971
-     *
972
-     * @param string $statement the analytics query statement to execute
973
-     * @param AnalyticsOptions $options the options to use when executing the query
974
-     * @return AnalyticsResult
975
-     */
976
-    public function analyticsQuery(string $statement, AnalyticsOptions $options = null): AnalyticsResult {}
977
-
978
-    /**
979
-     * Executes a full text search query against the cluster.
980
-     * Note: On Couchbase Server versions < 6.5 a bucket must be opened before using searchQuery.
981
-     *
982
-     * @param string $indexName the fts index to use for the query
983
-     * @param SearchQuery $query the search query to execute
984
-     * @param SearchOptions $options the options to use when executing the query
985
-     * @return SearchResult
986
-     */
987
-    public function searchQuery(string $indexName, SearchQuery $query, SearchOptions $options = null): SearchResult {}
988
-
989
-    /**
990
-     * Creates a new bucket manager object for managing buckets.
991
-     *
992
-     * @return BucketManager
993
-     */
994
-    public function buckets(): BucketManager {}
995
-
996
-    /**
997
-     * Creates a new user manager object for managing users and groups.
998
-     *
999
-     * @return UserManager
1000
-     */
1001
-    public function users(): UserManager {}
1002
-
1003
-    /**
1004
-     * Creates a new query index manager object for managing N1QL query indexes.
1005
-     *
1006
-     * @return QueryIndexManager
1007
-     */
1008
-    public function queryIndexes(): QueryIndexManager {}
1009
-
1010
-    /**
1011
-     * Creates a new search index manager object for managing search query indexes.
1012
-     *
1013
-     * @return SearchIndexManager
1014
-     */
1015
-    public function searchIndexes(): SearchIndexManager {}
948
+	public function __construct(string $connstr, ClusterOptions $options) {}
949
+
950
+	/**
951
+	 * Returns a new bucket object.
952
+	 *
953
+	 * @param string $name the name of the bucket
954
+	 * @return Bucket
955
+	 */
956
+	public function bucket(string $name): Bucket {}
957
+
958
+	/**
959
+	 * Executes a N1QL query against the cluster.
960
+	 * Note: On Couchbase Server versions < 6.5 a bucket must be opened before using query.
961
+	 *
962
+	 * @param string $statement the N1QL query statement to execute
963
+	 * @param QueryOptions $options the options to use when executing the query
964
+	 * @return QueryResult
965
+	 */
966
+	public function query(string $statement, QueryOptions $options = null): QueryResult {}
967
+
968
+	/**
969
+	 * Executes an analytics query against the cluster.
970
+	 * Note: On Couchbase Server versions < 6.5 a bucket must be opened before using analyticsQuery.
971
+	 *
972
+	 * @param string $statement the analytics query statement to execute
973
+	 * @param AnalyticsOptions $options the options to use when executing the query
974
+	 * @return AnalyticsResult
975
+	 */
976
+	public function analyticsQuery(string $statement, AnalyticsOptions $options = null): AnalyticsResult {}
977
+
978
+	/**
979
+	 * Executes a full text search query against the cluster.
980
+	 * Note: On Couchbase Server versions < 6.5 a bucket must be opened before using searchQuery.
981
+	 *
982
+	 * @param string $indexName the fts index to use for the query
983
+	 * @param SearchQuery $query the search query to execute
984
+	 * @param SearchOptions $options the options to use when executing the query
985
+	 * @return SearchResult
986
+	 */
987
+	public function searchQuery(string $indexName, SearchQuery $query, SearchOptions $options = null): SearchResult {}
988
+
989
+	/**
990
+	 * Creates a new bucket manager object for managing buckets.
991
+	 *
992
+	 * @return BucketManager
993
+	 */
994
+	public function buckets(): BucketManager {}
995
+
996
+	/**
997
+	 * Creates a new user manager object for managing users and groups.
998
+	 *
999
+	 * @return UserManager
1000
+	 */
1001
+	public function users(): UserManager {}
1002
+
1003
+	/**
1004
+	 * Creates a new query index manager object for managing N1QL query indexes.
1005
+	 *
1006
+	 * @return QueryIndexManager
1007
+	 */
1008
+	public function queryIndexes(): QueryIndexManager {}
1009
+
1010
+	/**
1011
+	 * Creates a new search index manager object for managing search query indexes.
1012
+	 *
1013
+	 * @return SearchIndexManager
1014
+	 */
1015
+	public function searchIndexes(): SearchIndexManager {}
1016 1016
 }
1017 1017
 
1018 1018
 interface EvictionPolicy
1019 1019
 {
1020
-    /**
1021
-     * During ejection, everything (including key, metadata, and value) will be ejected.
1022
-     *
1023
-     * Full Ejection reduces the memory overhead requirement, at the cost of performance.
1024
-     *
1025
-     * This value is only valid for buckets of type COUCHBASE.
1026
-     */
1027
-    public const FULL = "fullEviction";
1028
-
1029
-    /**
1030
-     * During ejection, only the value will be ejected (key and metadata will remain in memory).
1031
-     *
1032
-     * Value Ejection needs more system memory, but provides better performance than Full Ejection.
1033
-     *
1034
-     * This value is only valid for buckets of type COUCHBASE.
1035
-     */
1036
-    public const VALUE_ONLY = "valueOnly";
1037
-
1038
-    /**
1039
-     * Couchbase Server keeps all data until explicitly deleted, but will reject
1040
-     * any new data if you reach the quota (dedicated memory) you set for your bucket.
1041
-     *
1042
-     * This value is only valid for buckets of type EPHEMERAL.
1043
-     */
1044
-    public const NO_EVICTION = "noEviction";
1045
-
1046
-    /**
1047
-     * When the memory quota is reached, Couchbase Server ejects data that has not been used recently.
1048
-     *
1049
-     * This value is only valid for buckets of type EPHEMERAL.
1050
-     */
1051
-    public const NOT_RECENTLY_USED = "nruEviction";
1020
+	/**
1021
+	 * During ejection, everything (including key, metadata, and value) will be ejected.
1022
+	 *
1023
+	 * Full Ejection reduces the memory overhead requirement, at the cost of performance.
1024
+	 *
1025
+	 * This value is only valid for buckets of type COUCHBASE.
1026
+	 */
1027
+	public const FULL = "fullEviction";
1028
+
1029
+	/**
1030
+	 * During ejection, only the value will be ejected (key and metadata will remain in memory).
1031
+	 *
1032
+	 * Value Ejection needs more system memory, but provides better performance than Full Ejection.
1033
+	 *
1034
+	 * This value is only valid for buckets of type COUCHBASE.
1035
+	 */
1036
+	public const VALUE_ONLY = "valueOnly";
1037
+
1038
+	/**
1039
+	 * Couchbase Server keeps all data until explicitly deleted, but will reject
1040
+	 * any new data if you reach the quota (dedicated memory) you set for your bucket.
1041
+	 *
1042
+	 * This value is only valid for buckets of type EPHEMERAL.
1043
+	 */
1044
+	public const NO_EVICTION = "noEviction";
1045
+
1046
+	/**
1047
+	 * When the memory quota is reached, Couchbase Server ejects data that has not been used recently.
1048
+	 *
1049
+	 * This value is only valid for buckets of type EPHEMERAL.
1050
+	 */
1051
+	public const NOT_RECENTLY_USED = "nruEviction";
1052 1052
 }
1053 1053
 
1054 1054
 class BucketSettings
1055 1055
 {
1056
-    public function name(): string {}
1056
+	public function name(): string {}
1057 1057
 
1058
-    public function flushEnabled(): bool {}
1058
+	public function flushEnabled(): bool {}
1059 1059
 
1060
-    public function ramQuotaMb(): int {}
1060
+	public function ramQuotaMb(): int {}
1061 1061
 
1062
-    public function numReplicas(): int {}
1062
+	public function numReplicas(): int {}
1063 1063
 
1064
-    public function replicaIndexes(): bool {}
1064
+	public function replicaIndexes(): bool {}
1065 1065
 
1066
-    public function bucketType(): string {}
1066
+	public function bucketType(): string {}
1067 1067
 
1068
-    public function evictionPolicy(): string {}
1068
+	public function evictionPolicy(): string {}
1069 1069
 
1070
-    public function maxTtl(): int {}
1070
+	public function maxTtl(): int {}
1071 1071
 
1072
-    public function compressionMode(): string {}
1072
+	public function compressionMode(): string {}
1073 1073
 
1074
-    public function setName(string $name): BucketSettings {}
1074
+	public function setName(string $name): BucketSettings {}
1075 1075
 
1076
-    public function enableFlush(bool $enable): BucketSettings {}
1076
+	public function enableFlush(bool $enable): BucketSettings {}
1077 1077
 
1078
-    public function setRamQuotaMb(int $sizeInMb): BucketSettings {}
1078
+	public function setRamQuotaMb(int $sizeInMb): BucketSettings {}
1079 1079
 
1080
-    public function setNumReplicas(int $numReplicas): BucketSettings {}
1080
+	public function setNumReplicas(int $numReplicas): BucketSettings {}
1081 1081
 
1082
-    public function enableReplicaIndexes(bool $enable): BucketSettings {}
1082
+	public function enableReplicaIndexes(bool $enable): BucketSettings {}
1083 1083
 
1084
-    public function setBucketType(string $type): BucketSettings {}
1084
+	public function setBucketType(string $type): BucketSettings {}
1085 1085
 
1086
-    /**
1087
-     * Configures eviction policy for the bucket.
1088
-     *
1089
-     * @param string $policy eviction policy. Use constants FULL, VALUE_ONLY,
1090
-     *   NO_EVICTION, NOT_RECENTLY_USED.
1091
-     *
1092
-     * @see \EvictionPolicy::FULL
1093
-     * @see \EvictionPolicy::VALUE_ONLY
1094
-     * @see \EvictionPolicy::NO_EVICTION
1095
-     * @see \EvictionPolicy::NOT_RECENTLY_USED
1096
-     */
1097
-    public function setEvictionPolicy(string $policy): BucketSettings {}
1086
+	/**
1087
+	 * Configures eviction policy for the bucket.
1088
+	 *
1089
+	 * @param string $policy eviction policy. Use constants FULL, VALUE_ONLY,
1090
+	 *   NO_EVICTION, NOT_RECENTLY_USED.
1091
+	 *
1092
+	 * @see \EvictionPolicy::FULL
1093
+	 * @see \EvictionPolicy::VALUE_ONLY
1094
+	 * @see \EvictionPolicy::NO_EVICTION
1095
+	 * @see \EvictionPolicy::NOT_RECENTLY_USED
1096
+	 */
1097
+	public function setEvictionPolicy(string $policy): BucketSettings {}
1098 1098
 
1099
-    public function setMaxTtl(int $ttlSeconds): BucketSettings {}
1099
+	public function setMaxTtl(int $ttlSeconds): BucketSettings {}
1100 1100
 
1101
-    public function setCompressionMode(string $mode): BucketSettings {}
1101
+	public function setCompressionMode(string $mode): BucketSettings {}
1102 1102
 
1103
-    /**
1104
-     * Retrieves minimal durability level configured for the bucket
1105
-     *
1106
-     * @see \DurabilityLevel::NONE
1107
-     * @see \DurabilityLevel::MAJORITY
1108
-     * @see \DurabilityLevel::MAJORITY_AND_PERSIST_TO_ACTIVE
1109
-     * @see \DurabilityLevel::PERSIST_TO_MAJORITY
1110
-     */
1111
-    public function minimalDurabilityLevel(): int {}
1103
+	/**
1104
+	 * Retrieves minimal durability level configured for the bucket
1105
+	 *
1106
+	 * @see \DurabilityLevel::NONE
1107
+	 * @see \DurabilityLevel::MAJORITY
1108
+	 * @see \DurabilityLevel::MAJORITY_AND_PERSIST_TO_ACTIVE
1109
+	 * @see \DurabilityLevel::PERSIST_TO_MAJORITY
1110
+	 */
1111
+	public function minimalDurabilityLevel(): int {}
1112 1112
 
1113
-    /**
1114
-     * Configures minimal durability level for the bucket
1115
-     *
1116
-     * @param int $durabilityLevel durability level.
1117
-     *
1118
-     * @see \DurabilityLevel::NONE
1119
-     * @see \DurabilityLevel::MAJORITY
1120
-     * @see \DurabilityLevel::MAJORITY_AND_PERSIST_TO_ACTIVE
1121
-     * @see \DurabilityLevel::PERSIST_TO_MAJORITY
1122
-     */
1123
-    public function setMinimalDurabilityLevel(int $durabilityLevel): BucketSettings {}
1113
+	/**
1114
+	 * Configures minimal durability level for the bucket
1115
+	 *
1116
+	 * @param int $durabilityLevel durability level.
1117
+	 *
1118
+	 * @see \DurabilityLevel::NONE
1119
+	 * @see \DurabilityLevel::MAJORITY
1120
+	 * @see \DurabilityLevel::MAJORITY_AND_PERSIST_TO_ACTIVE
1121
+	 * @see \DurabilityLevel::PERSIST_TO_MAJORITY
1122
+	 */
1123
+	public function setMinimalDurabilityLevel(int $durabilityLevel): BucketSettings {}
1124 1124
 }
1125 1125
 
1126 1126
 class BucketManager
1127 1127
 {
1128
-    public function createBucket(BucketSettings $settings) {}
1128
+	public function createBucket(BucketSettings $settings) {}
1129 1129
 
1130
-    public function removeBucket(string $name) {}
1130
+	public function removeBucket(string $name) {}
1131 1131
 
1132
-    public function getBucket(string $name): BucketSettings {}
1132
+	public function getBucket(string $name): BucketSettings {}
1133 1133
 
1134
-    public function getAllBuckets(): array {}
1134
+	public function getAllBuckets(): array {}
1135 1135
 
1136
-    public function flush(string $name) {}
1136
+	public function flush(string $name) {}
1137 1137
 }
1138 1138
 
1139 1139
 class Role
1140 1140
 {
1141
-    public function name(): string {}
1141
+	public function name(): string {}
1142 1142
 
1143
-    public function bucket(): ?string {}
1143
+	public function bucket(): ?string {}
1144 1144
 
1145
-    public function scope(): ?string {}
1145
+	public function scope(): ?string {}
1146 1146
 
1147
-    public function collection(): ?string {}
1147
+	public function collection(): ?string {}
1148 1148
 
1149
-    public function setName(string $name): Role {}
1149
+	public function setName(string $name): Role {}
1150 1150
 
1151
-    public function setBucket(string $bucket): Role {}
1151
+	public function setBucket(string $bucket): Role {}
1152 1152
 
1153
-    public function setScope(string $bucket): Role {}
1153
+	public function setScope(string $bucket): Role {}
1154 1154
 
1155
-    public function setCollection(string $bucket): Role {}
1155
+	public function setCollection(string $bucket): Role {}
1156 1156
 }
1157 1157
 
1158 1158
 class RoleAndDescription
1159 1159
 {
1160
-    public function role(): Role {}
1160
+	public function role(): Role {}
1161 1161
 
1162
-    public function displayName(): string {}
1162
+	public function displayName(): string {}
1163 1163
 
1164
-    public function description(): string {}
1164
+	public function description(): string {}
1165 1165
 }
1166 1166
 
1167 1167
 class Origin
1168 1168
 {
1169
-    public function type(): string {}
1169
+	public function type(): string {}
1170 1170
 
1171
-    public function name(): string {}
1171
+	public function name(): string {}
1172 1172
 }
1173 1173
 
1174 1174
 class RoleAndOrigin
1175 1175
 {
1176
-    public function role(): Role {}
1176
+	public function role(): Role {}
1177 1177
 
1178
-    public function origins(): array {}
1178
+	public function origins(): array {}
1179 1179
 }
1180 1180
 
1181 1181
 class User
1182 1182
 {
1183
-    public function username(): string {}
1183
+	public function username(): string {}
1184 1184
 
1185
-    public function displayName(): string {}
1185
+	public function displayName(): string {}
1186 1186
 
1187
-    public function groups(): array {}
1187
+	public function groups(): array {}
1188 1188
 
1189
-    public function roles(): array {}
1189
+	public function roles(): array {}
1190 1190
 
1191
-    public function setUsername(string $username): User {}
1191
+	public function setUsername(string $username): User {}
1192 1192
 
1193
-    public function setPassword(string $password): User {}
1193
+	public function setPassword(string $password): User {}
1194 1194
 
1195
-    public function setDisplayName(string $name): User {}
1195
+	public function setDisplayName(string $name): User {}
1196 1196
 
1197
-    public function setGroups(array $groups): User {}
1197
+	public function setGroups(array $groups): User {}
1198 1198
 
1199
-    public function setRoles(array $roles): User {}
1199
+	public function setRoles(array $roles): User {}
1200 1200
 }
1201 1201
 
1202 1202
 class Group
1203 1203
 {
1204
-    public function name(): string {}
1204
+	public function name(): string {}
1205 1205
 
1206
-    public function description(): string {}
1206
+	public function description(): string {}
1207 1207
 
1208
-    public function roles(): array {}
1208
+	public function roles(): array {}
1209 1209
 
1210
-    public function ldapGroupReference(): ?string {}
1210
+	public function ldapGroupReference(): ?string {}
1211 1211
 
1212
-    public function setName(string $name): Group {}
1212
+	public function setName(string $name): Group {}
1213 1213
 
1214
-    public function setDescription(string $description): Group {}
1214
+	public function setDescription(string $description): Group {}
1215 1215
 
1216
-    public function setRoles(array $roles): Group {}
1216
+	public function setRoles(array $roles): Group {}
1217 1217
 }
1218 1218
 
1219 1219
 class UserAndMetadata
1220 1220
 {
1221
-    public function domain(): string {}
1221
+	public function domain(): string {}
1222 1222
 
1223
-    public function user(): User {}
1223
+	public function user(): User {}
1224 1224
 
1225
-    public function effectiveRoles(): array {}
1225
+	public function effectiveRoles(): array {}
1226 1226
 
1227
-    public function passwordChanged(): string {}
1227
+	public function passwordChanged(): string {}
1228 1228
 
1229
-    public function externalGroups(): array {}
1229
+	public function externalGroups(): array {}
1230 1230
 }
1231 1231
 
1232 1232
 class GetAllUsersOptions
1233 1233
 {
1234
-    public function domainName(string $name): GetAllUsersOptions {}
1234
+	public function domainName(string $name): GetAllUsersOptions {}
1235 1235
 }
1236 1236
 
1237 1237
 class GetUserOptions
1238 1238
 {
1239
-    public function domainName(string $name): GetUserOptions {}
1239
+	public function domainName(string $name): GetUserOptions {}
1240 1240
 }
1241 1241
 
1242 1242
 class DropUserOptions
1243 1243
 {
1244
-    public function domainName(string $name): DropUserOptions {}
1244
+	public function domainName(string $name): DropUserOptions {}
1245 1245
 }
1246 1246
 
1247 1247
 class UpsertUserOptions
1248 1248
 {
1249
-    public function domainName(string $name): DropUserOptions {}
1249
+	public function domainName(string $name): DropUserOptions {}
1250 1250
 }
1251 1251
 
1252 1252
 class UserManager
1253 1253
 {
1254
-    public function getUser(string $name, GetUserOptions $options = null): UserAndMetadata {}
1254
+	public function getUser(string $name, GetUserOptions $options = null): UserAndMetadata {}
1255 1255
 
1256
-    public function getAllUsers(GetAllUsersOptions $options = null): array {}
1256
+	public function getAllUsers(GetAllUsersOptions $options = null): array {}
1257 1257
 
1258
-    public function upsertUser(User $user, UpsertUserOptions $options = null) {}
1258
+	public function upsertUser(User $user, UpsertUserOptions $options = null) {}
1259 1259
 
1260
-    public function dropUser(string $name, DropUserOptions $options = null) {}
1260
+	public function dropUser(string $name, DropUserOptions $options = null) {}
1261 1261
 
1262
-    public function getRoles(): array {}
1262
+	public function getRoles(): array {}
1263 1263
 
1264
-    public function getGroup(string $name): Group {}
1264
+	public function getGroup(string $name): Group {}
1265 1265
 
1266
-    public function getAllGroups(): array {}
1266
+	public function getAllGroups(): array {}
1267 1267
 
1268
-    public function upsertGroup(Group $group) {}
1268
+	public function upsertGroup(Group $group) {}
1269 1269
 
1270
-    public function dropGroup(string $name) {}
1270
+	public function dropGroup(string $name) {}
1271 1271
 }
1272 1272
 
1273 1273
 /**
@@ -1275,50 +1275,50 @@  discard block
 block discarded – undo
1275 1275
  */
1276 1276
 class BinaryCollection
1277 1277
 {
1278
-    /**
1279
-     * Get the name of the binary collection.
1280
-     *
1281
-     * @return string
1282
-     */
1283
-    public function name(): string {}
1284
-
1285
-    /**
1286
-     * Appends a value to a document.
1287
-     *
1288
-     * @param string $id the key of the document
1289
-     * @param string $value the value to append
1290
-     * @param AppendOptions $options the options to use for the operation
1291
-     * @return MutationResult
1292
-     */
1293
-    public function append(string $id, string $value, AppendOptions $options = null): MutationResult {}
1294
-
1295
-    /**
1296
-     * Prepends a value to a document.
1297
-     *
1298
-     * @param string $id the key of the document
1299
-     * @param string $value the value to prepend
1300
-     * @param PrependOptions $options the options to use for the operation
1301
-     * @return MutationResult
1302
-     */
1303
-    public function prepend(string $id, string $value, PrependOptions $options = null): MutationResult {}
1304
-
1305
-    /**
1306
-     * Increments a counter document by a value.
1307
-     *
1308
-     * @param string $id the key of the document
1309
-     * @param IncrementOptions $options the options to use for the operation
1310
-     * @return CounterResult
1311
-     */
1312
-    public function increment(string $id, IncrementOptions $options = null): CounterResult {}
1313
-
1314
-    /**
1315
-     * Decrements a counter document by a value.
1316
-     *
1317
-     * @param string $id the key of the document
1318
-     * @param DecrementOptions $options the options to use for the operation
1319
-     * @return CounterResult
1320
-     */
1321
-    public function decrement(string $id, DecrementOptions $options = null): CounterResult {}
1278
+	/**
1279
+	 * Get the name of the binary collection.
1280
+	 *
1281
+	 * @return string
1282
+	 */
1283
+	public function name(): string {}
1284
+
1285
+	/**
1286
+	 * Appends a value to a document.
1287
+	 *
1288
+	 * @param string $id the key of the document
1289
+	 * @param string $value the value to append
1290
+	 * @param AppendOptions $options the options to use for the operation
1291
+	 * @return MutationResult
1292
+	 */
1293
+	public function append(string $id, string $value, AppendOptions $options = null): MutationResult {}
1294
+
1295
+	/**
1296
+	 * Prepends a value to a document.
1297
+	 *
1298
+	 * @param string $id the key of the document
1299
+	 * @param string $value the value to prepend
1300
+	 * @param PrependOptions $options the options to use for the operation
1301
+	 * @return MutationResult
1302
+	 */
1303
+	public function prepend(string $id, string $value, PrependOptions $options = null): MutationResult {}
1304
+
1305
+	/**
1306
+	 * Increments a counter document by a value.
1307
+	 *
1308
+	 * @param string $id the key of the document
1309
+	 * @param IncrementOptions $options the options to use for the operation
1310
+	 * @return CounterResult
1311
+	 */
1312
+	public function increment(string $id, IncrementOptions $options = null): CounterResult {}
1313
+
1314
+	/**
1315
+	 * Decrements a counter document by a value.
1316
+	 *
1317
+	 * @param string $id the key of the document
1318
+	 * @param DecrementOptions $options the options to use for the operation
1319
+	 * @return CounterResult
1320
+	 */
1321
+	public function decrement(string $id, DecrementOptions $options = null): CounterResult {}
1322 1322
 }
1323 1323
 
1324 1324
 /**
@@ -1326,161 +1326,161 @@  discard block
 block discarded – undo
1326 1326
  */
1327 1327
 class Collection
1328 1328
 {
1329
-    /**
1330
-     * Get the name of the collection.
1331
-     *
1332
-     * @return string
1333
-     */
1334
-    public function name(): string {}
1335
-
1336
-    /**
1337
-     * Gets a document from the server.
1338
-     *
1339
-     * This can take 3 paths, a standard full document fetch, a subdocument full document fetch also
1340
-     * fetching document expiry (when withExpiry is set), or a subdocument fetch (when projections are
1341
-     * used).
1342
-     *
1343
-     * @param string $id the key of the document to fetch
1344
-     * @param GetOptions $options the options to use for the operation
1345
-     * @return GetResult
1346
-     */
1347
-    public function get(string $id, GetOptions $options = null): GetResult {}
1348
-
1349
-    /**
1350
-     * Checks if a document exists on the server.
1351
-     *
1352
-     * @param string $id the key of the document to check if exists
1353
-     * @param ExistsOptions $options the options to use for the operation
1354
-     * @return ExistsResult
1355
-     */
1356
-    public function exists(string $id, ExistsOptions $options = null): ExistsResult {}
1357
-
1358
-    /**
1359
-     * Gets a document from the server, locking the document so that no other processes can
1360
-     * perform mutations against it.
1361
-     *
1362
-     * @param string $id the key of the document to get
1363
-     * @param int $lockTime the length of time to lock the document in ms
1364
-     * @param GetAndLockOptions $options the options to use for the operation
1365
-     * @return GetResult
1366
-     */
1367
-    public function getAndLock(string $id, int $lockTime, GetAndLockOptions $options = null): GetResult {}
1368
-
1369
-    /**
1370
-     * Gets a document from the server and simultaneously updates its expiry time.
1371
-     *
1372
-     * @param string $id the key of the document
1373
-     * @param int $expiry the length of time to update the expiry to in ms
1374
-     * @param GetAndTouchOptions $options the options to use for the operation
1375
-     * @return GetResult
1376
-     */
1377
-    public function getAndTouch(string $id, int $expiry, GetAndTouchOptions $options = null): GetResult {}
1378
-
1379
-    /**
1380
-     * Gets a document from any replica server in the cluster.
1381
-     *
1382
-     * @param string $id the key of the document
1383
-     * @param GetAnyReplicaOptions $options the options to use for the operation
1384
-     * @return GetReplicaResult
1385
-     */
1386
-    public function getAnyReplica(string $id, GetAnyReplicaOptions $options = null): GetReplicaResult {}
1387
-
1388
-    /**
1389
-     * Gets a document from the active server and all replica servers in the cluster.
1390
-     * Returns an array of documents, one per server.
1391
-     *
1392
-     * @param string $id the key of the document
1393
-     * @param GetAllReplicasOptions $options the options to use for the operation
1394
-     * @return array
1395
-     */
1396
-    public function getAllReplicas(string $id, GetAllReplicasOptions $options = null): array {}
1397
-
1398
-    /**
1399
-     * Creates a document if it doesn't exist, otherwise updates it.
1400
-     *
1401
-     * @param string $id the key of the document
1402
-     * @param mixed $value the value to use for the document
1403
-     * @param UpsertOptions $options the options to use for the operation
1404
-     * @return MutationResult
1405
-     */
1406
-    public function upsert(string $id, $value, UpsertOptions $options = null): MutationResult {}
1407
-
1408
-    /**
1409
-     * Inserts a document if it doesn't exist, errors if it does exist.
1410
-     *
1411
-     * @param string $id the key of the document
1412
-     * @param mixed $value the value to use for the document
1413
-     * @param InsertOptions $options the options to use for the operation
1414
-     * @return MutationResult
1415
-     */
1416
-    public function insert(string $id, $value, InsertOptions $options = null): MutationResult {}
1417
-
1418
-    /**
1419
-     * Replaces a document if it exists, errors if it doesn't exist.
1420
-     *
1421
-     * @param string $id the key of the document
1422
-     * @param mixed $value the value to use for the document
1423
-     * @param ReplaceOptions $options the options to use for the operation
1424
-     * @return MutationResult
1425
-     */
1426
-    public function replace(string $id, $value, ReplaceOptions $options = null): MutationResult {}
1427
-
1428
-    /**
1429
-     * Removes a document.
1430
-     *
1431
-     * @param string $id the key of the document
1432
-     * @param RemoveOptions $options the options to use for the operation
1433
-     * @return MutationResult
1434
-     */
1435
-    public function remove(string $id, RemoveOptions $options = null): MutationResult {}
1436
-
1437
-    /**
1438
-     * Unlocks a document which was locked using getAndLock. This frees the document to be
1439
-     * modified by other processes.
1440
-     *
1441
-     * @param string $id the key of the document
1442
-     * @param string $cas the current cas value of the document
1443
-     * @param UnlockOptions $options the options to use for the operation
1444
-     * @return Result
1445
-     */
1446
-    public function unlock(string $id, string $cas, UnlockOptions $options = null): Result {}
1447
-
1448
-    /**
1449
-     * Touches a document, setting a new expiry time.
1450
-     *
1451
-     * @param string $id the key of the document
1452
-     * @param int $expiry the expiry time for the document in ms
1453
-     * @param TouchOptions $options the options to use for the operation
1454
-     * @return MutationResult
1455
-     */
1456
-    public function touch(string $id, int $expiry, TouchOptions $options = null): MutationResult {}
1457
-
1458
-    /**
1459
-     * Performs a set of subdocument lookup operations against the document.
1460
-     *
1461
-     * @param string $id the key of the document
1462
-     * @param array $specs the LookupInSpecs to perform against the document
1463
-     * @param LookupInOptions $options the options to use for the operation
1464
-     * @return LookupInResult
1465
-     */
1466
-    public function lookupIn(string $id, array $specs, LookupInOptions $options = null): LookupInResult {}
1467
-
1468
-    /**
1469
-     * Performs a set of subdocument lookup operations against the document.
1470
-     *
1471
-     * @param string $id the key of the document
1472
-     * @param array $specs the MutateInSpecs to perform against the document
1473
-     * @param MutateInOptions $options the options to use for the operation
1474
-     * @return MutateInResult
1475
-     */
1476
-    public function mutateIn(string $id, array $specs, MutateInOptions $options = null): MutateInResult {}
1477
-
1478
-    /**
1479
-     * Creates and returns a BinaryCollection object for use with binary type documents.
1480
-     *
1481
-     * @return BinaryCollection
1482
-     */
1483
-    public function binary(): BinaryCollection {}
1329
+	/**
1330
+	 * Get the name of the collection.
1331
+	 *
1332
+	 * @return string
1333
+	 */
1334
+	public function name(): string {}
1335
+
1336
+	/**
1337
+	 * Gets a document from the server.
1338
+	 *
1339
+	 * This can take 3 paths, a standard full document fetch, a subdocument full document fetch also
1340
+	 * fetching document expiry (when withExpiry is set), or a subdocument fetch (when projections are
1341
+	 * used).
1342
+	 *
1343
+	 * @param string $id the key of the document to fetch
1344
+	 * @param GetOptions $options the options to use for the operation
1345
+	 * @return GetResult
1346
+	 */
1347
+	public function get(string $id, GetOptions $options = null): GetResult {}
1348
+
1349
+	/**
1350
+	 * Checks if a document exists on the server.
1351
+	 *
1352
+	 * @param string $id the key of the document to check if exists
1353
+	 * @param ExistsOptions $options the options to use for the operation
1354
+	 * @return ExistsResult
1355
+	 */
1356
+	public function exists(string $id, ExistsOptions $options = null): ExistsResult {}
1357
+
1358
+	/**
1359
+	 * Gets a document from the server, locking the document so that no other processes can
1360
+	 * perform mutations against it.
1361
+	 *
1362
+	 * @param string $id the key of the document to get
1363
+	 * @param int $lockTime the length of time to lock the document in ms
1364
+	 * @param GetAndLockOptions $options the options to use for the operation
1365
+	 * @return GetResult
1366
+	 */
1367
+	public function getAndLock(string $id, int $lockTime, GetAndLockOptions $options = null): GetResult {}
1368
+
1369
+	/**
1370
+	 * Gets a document from the server and simultaneously updates its expiry time.
1371
+	 *
1372
+	 * @param string $id the key of the document
1373
+	 * @param int $expiry the length of time to update the expiry to in ms
1374
+	 * @param GetAndTouchOptions $options the options to use for the operation
1375
+	 * @return GetResult
1376
+	 */
1377
+	public function getAndTouch(string $id, int $expiry, GetAndTouchOptions $options = null): GetResult {}
1378
+
1379
+	/**
1380
+	 * Gets a document from any replica server in the cluster.
1381
+	 *
1382
+	 * @param string $id the key of the document
1383
+	 * @param GetAnyReplicaOptions $options the options to use for the operation
1384
+	 * @return GetReplicaResult
1385
+	 */
1386
+	public function getAnyReplica(string $id, GetAnyReplicaOptions $options = null): GetReplicaResult {}
1387
+
1388
+	/**
1389
+	 * Gets a document from the active server and all replica servers in the cluster.
1390
+	 * Returns an array of documents, one per server.
1391
+	 *
1392
+	 * @param string $id the key of the document
1393
+	 * @param GetAllReplicasOptions $options the options to use for the operation
1394
+	 * @return array
1395
+	 */
1396
+	public function getAllReplicas(string $id, GetAllReplicasOptions $options = null): array {}
1397
+
1398
+	/**
1399
+	 * Creates a document if it doesn't exist, otherwise updates it.
1400
+	 *
1401
+	 * @param string $id the key of the document
1402
+	 * @param mixed $value the value to use for the document
1403
+	 * @param UpsertOptions $options the options to use for the operation
1404
+	 * @return MutationResult
1405
+	 */
1406
+	public function upsert(string $id, $value, UpsertOptions $options = null): MutationResult {}
1407
+
1408
+	/**
1409
+	 * Inserts a document if it doesn't exist, errors if it does exist.
1410
+	 *
1411
+	 * @param string $id the key of the document
1412
+	 * @param mixed $value the value to use for the document
1413
+	 * @param InsertOptions $options the options to use for the operation
1414
+	 * @return MutationResult
1415
+	 */
1416
+	public function insert(string $id, $value, InsertOptions $options = null): MutationResult {}
1417
+
1418
+	/**
1419
+	 * Replaces a document if it exists, errors if it doesn't exist.
1420
+	 *
1421
+	 * @param string $id the key of the document
1422
+	 * @param mixed $value the value to use for the document
1423
+	 * @param ReplaceOptions $options the options to use for the operation
1424
+	 * @return MutationResult
1425
+	 */
1426
+	public function replace(string $id, $value, ReplaceOptions $options = null): MutationResult {}
1427
+
1428
+	/**
1429
+	 * Removes a document.
1430
+	 *
1431
+	 * @param string $id the key of the document
1432
+	 * @param RemoveOptions $options the options to use for the operation
1433
+	 * @return MutationResult
1434
+	 */
1435
+	public function remove(string $id, RemoveOptions $options = null): MutationResult {}
1436
+
1437
+	/**
1438
+	 * Unlocks a document which was locked using getAndLock. This frees the document to be
1439
+	 * modified by other processes.
1440
+	 *
1441
+	 * @param string $id the key of the document
1442
+	 * @param string $cas the current cas value of the document
1443
+	 * @param UnlockOptions $options the options to use for the operation
1444
+	 * @return Result
1445
+	 */
1446
+	public function unlock(string $id, string $cas, UnlockOptions $options = null): Result {}
1447
+
1448
+	/**
1449
+	 * Touches a document, setting a new expiry time.
1450
+	 *
1451
+	 * @param string $id the key of the document
1452
+	 * @param int $expiry the expiry time for the document in ms
1453
+	 * @param TouchOptions $options the options to use for the operation
1454
+	 * @return MutationResult
1455
+	 */
1456
+	public function touch(string $id, int $expiry, TouchOptions $options = null): MutationResult {}
1457
+
1458
+	/**
1459
+	 * Performs a set of subdocument lookup operations against the document.
1460
+	 *
1461
+	 * @param string $id the key of the document
1462
+	 * @param array $specs the LookupInSpecs to perform against the document
1463
+	 * @param LookupInOptions $options the options to use for the operation
1464
+	 * @return LookupInResult
1465
+	 */
1466
+	public function lookupIn(string $id, array $specs, LookupInOptions $options = null): LookupInResult {}
1467
+
1468
+	/**
1469
+	 * Performs a set of subdocument lookup operations against the document.
1470
+	 *
1471
+	 * @param string $id the key of the document
1472
+	 * @param array $specs the MutateInSpecs to perform against the document
1473
+	 * @param MutateInOptions $options the options to use for the operation
1474
+	 * @return MutateInResult
1475
+	 */
1476
+	public function mutateIn(string $id, array $specs, MutateInOptions $options = null): MutateInResult {}
1477
+
1478
+	/**
1479
+	 * Creates and returns a BinaryCollection object for use with binary type documents.
1480
+	 *
1481
+	 * @return BinaryCollection
1482
+	 */
1483
+	public function binary(): BinaryCollection {}
1484 1484
 }
1485 1485
 
1486 1486
 /**
@@ -1488,66 +1488,66 @@  discard block
 block discarded – undo
1488 1488
  */
1489 1489
 class Scope
1490 1490
 {
1491
-    public function __construct(Bucket $bucket, string $name) {}
1492
-
1493
-    /**
1494
-     * Returns the name of the scope.
1495
-     *
1496
-     * @return string
1497
-     */
1498
-    public function name(): string {}
1499
-
1500
-    /**
1501
-     * Returns a new Collection object representing the collection specified.
1502
-     *
1503
-     * @param string $name the name of the collection
1504
-     * @return Collection
1505
-     */
1506
-    public function collection(string $name): Collection {}
1507
-
1508
-    /**
1509
-     * Executes a N1QL query against the cluster with scopeName set implicitly.
1510
-     *
1511
-     * @param string $statement the N1QL query statement to execute
1512
-     * @param QueryOptions $options the options to use when executing the query
1513
-     * @return QueryResult
1514
-     */
1515
-    public function query(string $statement, QueryOptions $options = null): QueryResult {}
1491
+	public function __construct(Bucket $bucket, string $name) {}
1492
+
1493
+	/**
1494
+	 * Returns the name of the scope.
1495
+	 *
1496
+	 * @return string
1497
+	 */
1498
+	public function name(): string {}
1499
+
1500
+	/**
1501
+	 * Returns a new Collection object representing the collection specified.
1502
+	 *
1503
+	 * @param string $name the name of the collection
1504
+	 * @return Collection
1505
+	 */
1506
+	public function collection(string $name): Collection {}
1507
+
1508
+	/**
1509
+	 * Executes a N1QL query against the cluster with scopeName set implicitly.
1510
+	 *
1511
+	 * @param string $statement the N1QL query statement to execute
1512
+	 * @param QueryOptions $options the options to use when executing the query
1513
+	 * @return QueryResult
1514
+	 */
1515
+	public function query(string $statement, QueryOptions $options = null): QueryResult {}
1516 1516
 }
1517 1517
 
1518 1518
 class ScopeSpec
1519 1519
 {
1520
-    public function name(): string {}
1520
+	public function name(): string {}
1521 1521
 
1522
-    public function collections(): array {}
1522
+	public function collections(): array {}
1523 1523
 }
1524 1524
 
1525 1525
 class CollectionSpec
1526 1526
 {
1527
-    public function name(): string {}
1527
+	public function name(): string {}
1528 1528
 
1529
-    public function scopeName(): string {}
1529
+	public function scopeName(): string {}
1530 1530
 
1531
-    public function setName(string $name): CollectionSpec {}
1531
+	public function setName(string $name): CollectionSpec {}
1532 1532
 
1533
-    public function setScopeName(string $name): CollectionSpec {}
1533
+	public function setScopeName(string $name): CollectionSpec {}
1534 1534
 
1535
-    public function setMaxExpiry(int $ms): CollectionSpec {}
1535
+	public function setMaxExpiry(int $ms): CollectionSpec {}
1536 1536
 }
1537 1537
 
1538 1538
 class CollectionManager
1539 1539
 {
1540
-    public function getScope(string $name): ScopeSpec {}
1540
+	public function getScope(string $name): ScopeSpec {}
1541 1541
 
1542
-    public function getAllScopes(): array {}
1542
+	public function getAllScopes(): array {}
1543 1543
 
1544
-    public function createScope(string $name) {}
1544
+	public function createScope(string $name) {}
1545 1545
 
1546
-    public function dropScope(string $name) {}
1546
+	public function dropScope(string $name) {}
1547 1547
 
1548
-    public function createCollection(CollectionSpec $collection) {}
1548
+	public function createCollection(CollectionSpec $collection) {}
1549 1549
 
1550
-    public function dropCollection(CollectionSpec $collection) {}
1550
+	public function dropCollection(CollectionSpec $collection) {}
1551 1551
 }
1552 1552
 
1553 1553
 /**
@@ -1556,120 +1556,120 @@  discard block
 block discarded – undo
1556 1556
  */
1557 1557
 class Bucket
1558 1558
 {
1559
-    /**
1560
-     * Returns a new Scope object representing the default scope.
1561
-     *
1562
-     * @return Scope
1563
-     */
1564
-    public function defaultScope(): Scope {}
1565
-
1566
-    /**
1567
-     * Returns a new Collection object representing the default collectiom.
1568
-     *
1569
-     * @return Collection
1570
-     */
1571
-    public function defaultCollection(): Collection {}
1572
-
1573
-    /**
1574
-     * Returns a new Scope object representing the given scope.
1575
-     *
1576
-     * @param string $name the name of the scope
1577
-     * @return Scope
1578
-     */
1579
-    public function scope(string $name): Scope {}
1580
-
1581
-    /**
1582
-     * Sets the default transcoder to be used when fetching or sending data.
1583
-     *
1584
-     * @param callable $encoder the encoder to use to encode data when sending data to the server
1585
-     * @param callable $decoder the decoder to use to decode data when retrieving data from the server
1586
-     */
1587
-    public function setTranscoder(callable $encoder, callable $decoder) {}
1588
-
1589
-    /**
1590
-     * Returns the name of the Bucket.
1591
-     *
1592
-     * @return string
1593
-     */
1594
-    public function name(): string {}
1595
-
1596
-    /**
1597
-     * Executes a view query against the cluster.
1598
-     *
1599
-     * @param string $designDoc the design document to use for the query
1600
-     * @param string $viewName the view to use for the query
1601
-     * @param ViewOptions $options the options to use when executing the query
1602
-     * @return ViewResult
1603
-     */
1604
-    public function viewQuery(string $designDoc, string $viewName, ViewOptions $options = null): ViewResult {}
1605
-
1606
-    /**
1607
-     * Creates a new CollectionManager object for managing collections and scopes.
1608
-     *
1609
-     * @return CollectionManager
1610
-     */
1611
-    public function collections(): CollectionManager {}
1612
-
1613
-    /**
1614
-     * Creates a new ViewIndexManager object for managing views and design documents.
1615
-     *
1616
-     * @return ViewIndexManager
1617
-     */
1618
-    public function viewIndexes(): ViewIndexManager {}
1619
-
1620
-    /**
1621
-     * Executes a ping for each service against each node in the cluster. This can be used for determining
1622
-     * the current health of the cluster.
1623
-     *
1624
-     * @param mixed $services the services to ping against
1625
-     * @param mixed $reportId a name which will be included within the ping result
1626
-     */
1627
-    public function ping($services, $reportId) {}
1628
-
1629
-    /**
1630
-     * Returns diagnostics information about connections that the SDK has to the cluster. This does not perform
1631
-     * any operations.
1632
-     *
1633
-     * @param mixed $reportId a name which will be included within the ping result
1634
-     */
1635
-    public function diagnostics($reportId): array {}
1559
+	/**
1560
+	 * Returns a new Scope object representing the default scope.
1561
+	 *
1562
+	 * @return Scope
1563
+	 */
1564
+	public function defaultScope(): Scope {}
1565
+
1566
+	/**
1567
+	 * Returns a new Collection object representing the default collectiom.
1568
+	 *
1569
+	 * @return Collection
1570
+	 */
1571
+	public function defaultCollection(): Collection {}
1572
+
1573
+	/**
1574
+	 * Returns a new Scope object representing the given scope.
1575
+	 *
1576
+	 * @param string $name the name of the scope
1577
+	 * @return Scope
1578
+	 */
1579
+	public function scope(string $name): Scope {}
1580
+
1581
+	/**
1582
+	 * Sets the default transcoder to be used when fetching or sending data.
1583
+	 *
1584
+	 * @param callable $encoder the encoder to use to encode data when sending data to the server
1585
+	 * @param callable $decoder the decoder to use to decode data when retrieving data from the server
1586
+	 */
1587
+	public function setTranscoder(callable $encoder, callable $decoder) {}
1588
+
1589
+	/**
1590
+	 * Returns the name of the Bucket.
1591
+	 *
1592
+	 * @return string
1593
+	 */
1594
+	public function name(): string {}
1595
+
1596
+	/**
1597
+	 * Executes a view query against the cluster.
1598
+	 *
1599
+	 * @param string $designDoc the design document to use for the query
1600
+	 * @param string $viewName the view to use for the query
1601
+	 * @param ViewOptions $options the options to use when executing the query
1602
+	 * @return ViewResult
1603
+	 */
1604
+	public function viewQuery(string $designDoc, string $viewName, ViewOptions $options = null): ViewResult {}
1605
+
1606
+	/**
1607
+	 * Creates a new CollectionManager object for managing collections and scopes.
1608
+	 *
1609
+	 * @return CollectionManager
1610
+	 */
1611
+	public function collections(): CollectionManager {}
1612
+
1613
+	/**
1614
+	 * Creates a new ViewIndexManager object for managing views and design documents.
1615
+	 *
1616
+	 * @return ViewIndexManager
1617
+	 */
1618
+	public function viewIndexes(): ViewIndexManager {}
1619
+
1620
+	/**
1621
+	 * Executes a ping for each service against each node in the cluster. This can be used for determining
1622
+	 * the current health of the cluster.
1623
+	 *
1624
+	 * @param mixed $services the services to ping against
1625
+	 * @param mixed $reportId a name which will be included within the ping result
1626
+	 */
1627
+	public function ping($services, $reportId) {}
1628
+
1629
+	/**
1630
+	 * Returns diagnostics information about connections that the SDK has to the cluster. This does not perform
1631
+	 * any operations.
1632
+	 *
1633
+	 * @param mixed $reportId a name which will be included within the ping result
1634
+	 */
1635
+	public function diagnostics($reportId): array {}
1636 1636
 }
1637 1637
 
1638 1638
 class View
1639 1639
 {
1640
-    public function name(): string {}
1640
+	public function name(): string {}
1641 1641
 
1642
-    public function map(): string {}
1642
+	public function map(): string {}
1643 1643
 
1644
-    public function reduce(): string {}
1644
+	public function reduce(): string {}
1645 1645
 
1646
-    public function setName(string $name): View {}
1646
+	public function setName(string $name): View {}
1647 1647
 
1648
-    public function setMap(string $mapJsCode): View {}
1648
+	public function setMap(string $mapJsCode): View {}
1649 1649
 
1650
-    public function setReduce(string $reduceJsCode): View {}
1650
+	public function setReduce(string $reduceJsCode): View {}
1651 1651
 }
1652 1652
 
1653 1653
 class DesignDocument
1654 1654
 {
1655
-    public function name(): string {}
1655
+	public function name(): string {}
1656 1656
 
1657
-    public function views(): array {}
1657
+	public function views(): array {}
1658 1658
 
1659
-    public function setName(string $name): DesignDocument {}
1659
+	public function setName(string $name): DesignDocument {}
1660 1660
 
1661
-    public function setViews(array $views): DesignDocument {}
1661
+	public function setViews(array $views): DesignDocument {}
1662 1662
 }
1663 1663
 
1664 1664
 class ViewIndexManager
1665 1665
 {
1666
-    public function getAllDesignDocuments(): array {}
1666
+	public function getAllDesignDocuments(): array {}
1667 1667
 
1668
-    public function getDesignDocument(string $name): DesignDocument {}
1668
+	public function getDesignDocument(string $name): DesignDocument {}
1669 1669
 
1670
-    public function dropDesignDocument(string $name) {}
1670
+	public function dropDesignDocument(string $name) {}
1671 1671
 
1672
-    public function upsertDesignDocument(DesignDocument $document) {}
1672
+	public function upsertDesignDocument(DesignDocument $document) {}
1673 1673
 }
1674 1674
 
1675 1675
 /**
@@ -1677,34 +1677,34 @@  discard block
 block discarded – undo
1677 1677
  */
1678 1678
 class MutationState
1679 1679
 {
1680
-    public function __construct() {}
1680
+	public function __construct() {}
1681 1681
 
1682
-    /**
1683
-     * Adds the result of a mutation operation to this mutation state.
1684
-     *
1685
-     * @param MutationResult $source the result object to add to this state
1686
-     * @return MutationState
1687
-     */
1688
-    public function add(MutationResult $source): MutationState {}
1682
+	/**
1683
+	 * Adds the result of a mutation operation to this mutation state.
1684
+	 *
1685
+	 * @param MutationResult $source the result object to add to this state
1686
+	 * @return MutationState
1687
+	 */
1688
+	public function add(MutationResult $source): MutationState {}
1689 1689
 }
1690 1690
 
1691 1691
 class AnalyticsOptions
1692 1692
 {
1693
-    public function timeout(int $arg): AnalyticsOptions {}
1693
+	public function timeout(int $arg): AnalyticsOptions {}
1694 1694
 
1695
-    public function namedParameters(array $pairs): AnalyticsOptions {}
1695
+	public function namedParameters(array $pairs): AnalyticsOptions {}
1696 1696
 
1697
-    public function positionalParameters(array $args): AnalyticsOptions {}
1697
+	public function positionalParameters(array $args): AnalyticsOptions {}
1698 1698
 
1699
-    public function raw(string $key, $value): AnalyticsOptions {}
1699
+	public function raw(string $key, $value): AnalyticsOptions {}
1700 1700
 
1701
-    public function clientContextId(string $value): AnalyticsOptions {}
1701
+	public function clientContextId(string $value): AnalyticsOptions {}
1702 1702
 
1703
-    public function priority(bool $urgent): AnalyticsOptions {}
1703
+	public function priority(bool $urgent): AnalyticsOptions {}
1704 1704
 
1705
-    public function readonly(bool $arg): AnalyticsOptions {}
1705
+	public function readonly(bool $arg): AnalyticsOptions {}
1706 1706
 
1707
-    public function scanConsistency(string $arg): AnalyticsOptions {}
1707
+	public function scanConsistency(string $arg): AnalyticsOptions {}
1708 1708
 }
1709 1709
 
1710 1710
 /**
@@ -1717,7 +1717,7 @@  discard block
 block discarded – undo
1717 1717
  */
1718 1718
 class LookupGetSpec implements LookupInSpec
1719 1719
 {
1720
-    public function __construct(string $path, bool $isXattr = false) {}
1720
+	public function __construct(string $path, bool $isXattr = false) {}
1721 1721
 }
1722 1722
 
1723 1723
 /**
@@ -1725,7 +1725,7 @@  discard block
 block discarded – undo
1725 1725
  */
1726 1726
 class LookupCountSpec implements LookupInSpec
1727 1727
 {
1728
-    public function __construct(string $path, bool $isXattr = false) {}
1728
+	public function __construct(string $path, bool $isXattr = false) {}
1729 1729
 }
1730 1730
 
1731 1731
 /**
@@ -1733,7 +1733,7 @@  discard block
 block discarded – undo
1733 1733
  */
1734 1734
 class LookupExistsSpec implements LookupInSpec
1735 1735
 {
1736
-    public function __construct(string $path, bool $isXattr = false) {}
1736
+	public function __construct(string $path, bool $isXattr = false) {}
1737 1737
 }
1738 1738
 
1739 1739
 /**
@@ -1741,7 +1741,7 @@  discard block
 block discarded – undo
1741 1741
  */
1742 1742
 class LookupGetFullSpec implements LookupInSpec
1743 1743
 {
1744
-    public function __construct() {}
1744
+	public function __construct() {}
1745 1745
 }
1746 1746
 
1747 1747
 /**
@@ -1754,7 +1754,7 @@  discard block
 block discarded – undo
1754 1754
  */
1755 1755
 class MutateInsertSpec implements MutateInSpec
1756 1756
 {
1757
-    public function __construct(string $path, $value, bool $isXattr, bool $createPath, bool $expandMacros) {}
1757
+	public function __construct(string $path, $value, bool $isXattr, bool $createPath, bool $expandMacros) {}
1758 1758
 }
1759 1759
 
1760 1760
 /**
@@ -1762,7 +1762,7 @@  discard block
 block discarded – undo
1762 1762
  */
1763 1763
 class MutateUpsertSpec implements MutateInSpec
1764 1764
 {
1765
-    public function __construct(string $path, $value, bool $isXattr, bool $createPath, bool $expandMacros) {}
1765
+	public function __construct(string $path, $value, bool $isXattr, bool $createPath, bool $expandMacros) {}
1766 1766
 }
1767 1767
 
1768 1768
 /**
@@ -1770,7 +1770,7 @@  discard block
 block discarded – undo
1770 1770
  */
1771 1771
 class MutateReplaceSpec implements MutateInSpec
1772 1772
 {
1773
-    public function __construct(string $path, $value, bool $isXattr) {}
1773
+	public function __construct(string $path, $value, bool $isXattr) {}
1774 1774
 }
1775 1775
 
1776 1776
 /**
@@ -1778,7 +1778,7 @@  discard block
 block discarded – undo
1778 1778
  */
1779 1779
 class MutateRemoveSpec implements MutateInSpec
1780 1780
 {
1781
-    public function __construct(string $path, bool $isXattr) {}
1781
+	public function __construct(string $path, bool $isXattr) {}
1782 1782
 }
1783 1783
 
1784 1784
 /**
@@ -1786,7 +1786,7 @@  discard block
 block discarded – undo
1786 1786
  */
1787 1787
 class MutateArrayAppendSpec implements MutateInSpec
1788 1788
 {
1789
-    public function __construct(string $path, array $values, bool $isXattr, bool $createPath, bool $expandMacros) {}
1789
+	public function __construct(string $path, array $values, bool $isXattr, bool $createPath, bool $expandMacros) {}
1790 1790
 }
1791 1791
 
1792 1792
 /**
@@ -1794,7 +1794,7 @@  discard block
 block discarded – undo
1794 1794
  */
1795 1795
 class MutateArrayPrependSpec implements MutateInSpec
1796 1796
 {
1797
-    public function __construct(string $path, array $values, bool $isXattr, bool $createPath, bool $expandMacros) {}
1797
+	public function __construct(string $path, array $values, bool $isXattr, bool $createPath, bool $expandMacros) {}
1798 1798
 }
1799 1799
 
1800 1800
 /**
@@ -1802,7 +1802,7 @@  discard block
 block discarded – undo
1802 1802
  */
1803 1803
 class MutateArrayInsertSpec implements MutateInSpec
1804 1804
 {
1805
-    public function __construct(string $path, array $values, bool $isXattr, bool $createPath, bool $expandMacros) {}
1805
+	public function __construct(string $path, array $values, bool $isXattr, bool $createPath, bool $expandMacros) {}
1806 1806
 }
1807 1807
 
1808 1808
 /**
@@ -1811,7 +1811,7 @@  discard block
 block discarded – undo
1811 1811
  */
1812 1812
 class MutateArrayAddUniqueSpec implements MutateInSpec
1813 1813
 {
1814
-    public function __construct(string $path, $value, bool $isXattr, bool $createPath, bool $expandMacros) {}
1814
+	public function __construct(string $path, $value, bool $isXattr, bool $createPath, bool $expandMacros) {}
1815 1815
 }
1816 1816
 
1817 1817
 /**
@@ -1819,132 +1819,132 @@  discard block
 block discarded – undo
1819 1819
  */
1820 1820
 class MutateCounterSpec implements MutateInSpec
1821 1821
 {
1822
-    public function __construct(string $path, int $delta, bool $isXattr, bool $createPath) {}
1822
+	public function __construct(string $path, int $delta, bool $isXattr, bool $createPath) {}
1823 1823
 }
1824 1824
 
1825 1825
 class SearchOptions implements JsonSerializable
1826 1826
 {
1827
-    public function jsonSerialize() {}
1828
-
1829
-    /**
1830
-     * Sets the server side timeout in milliseconds
1831
-     *
1832
-     * @param int $ms the server side timeout to apply
1833
-     * @return SearchOptions
1834
-     */
1835
-    public function timeout(int $ms): SearchOptions {}
1836
-
1837
-    /**
1838
-     * Add a limit to the query on the number of hits it can return
1839
-     *
1840
-     * @param int $limit the maximum number of hits to return
1841
-     * @return SearchOptions
1842
-     */
1843
-    public function limit(int $limit): SearchOptions {}
1844
-
1845
-    /**
1846
-     * Set the number of hits to skip (eg. for pagination).
1847
-     *
1848
-     * @param int $skip the number of results to skip
1849
-     * @return SearchOptions
1850
-     */
1851
-    public function skip(int $skip): SearchOptions {}
1852
-
1853
-    /**
1854
-     * Activates the explanation of each result hit in the response
1855
-     *
1856
-     * @param bool $explain
1857
-     * @return SearchOptions
1858
-     */
1859
-    public function explain(bool $explain): SearchOptions {}
1860
-
1861
-    /**
1862
-     * If set to true, the server will not perform any scoring on the hits
1863
-     *
1864
-     * @param bool $disabled
1865
-     * @return SearchOptions
1866
-     */
1867
-    public function disableScoring(bool $disabled): SearchOptions {}
1868
-
1869
-    /**
1870
-     * Sets the consistency to consider for this FTS query to AT_PLUS and
1871
-     * uses the MutationState to parameterize the consistency.
1872
-     *
1873
-     * This replaces any consistency tuning previously set.
1874
-     *
1875
-     * @param MutationState $state the mutation state information to work with
1876
-     * @return SearchOptions
1877
-     */
1878
-    public function consistentWith(string $index, MutationState $state): SearchOptions {}
1879
-
1880
-    /**
1881
-     * Configures the list of fields for which the whole value should be included in the response.
1882
-     *
1883
-     * If empty, no field values are included. This drives the inclusion of the fields in each hit.
1884
-     * Note that to be highlighted, the fields must be stored in the FTS index.
1885
-     *
1886
-     * @param string[] $fields
1887
-     * @return SearchOptions
1888
-     */
1889
-    public function fields(array $fields): SearchOptions {}
1890
-
1891
-    /**
1892
-     * Adds one SearchFacet-s to the query
1893
-     *
1894
-     * This is an additive operation (the given facets are added to any facet previously requested),
1895
-     * but if an existing facet has the same name it will be replaced.
1896
-     *
1897
-     * Note that to be faceted, a field's value must be stored in the FTS index.
1898
-     *
1899
-     * @param SearchFacet[] $facets
1900
-     * @return SearchOptions
1901
-     *
1902
-     * @see \SearchFacet
1903
-     * @see \TermSearchFacet
1904
-     * @see \NumericRangeSearchFacet
1905
-     * @see \DateRangeSearchFacet
1906
-     */
1907
-    public function facets(array $facets): SearchOptions {}
1908
-
1909
-    /**
1910
-     * Configures the list of fields (including special fields) which are used for sorting purposes.
1911
-     * If empty, the default sorting (descending by score) is used by the server.
1912
-     *
1913
-     * The list of sort fields can include actual fields (like "firstname" but then they must be stored in the
1914
-     * index, configured in the server side mapping). Fields provided first are considered first and in a "tie" case
1915
-     * the next sort field is considered. So sorting by "firstname" and then "lastname" will first sort ascending by
1916
-     * the firstname and if the names are equal then sort ascending by lastname. Special fields like "_id" and
1917
-     * "_score" can also be used. If prefixed with "-" the sort order is set to descending.
1918
-     *
1919
-     * If no sort is provided, it is equal to sort("-_score"), since the server will sort it by score in descending
1920
-     * order.
1921
-     *
1922
-     * @param array $specs sort the fields that should take part in the sorting.
1923
-     * @return SearchOptions
1924
-     */
1925
-    public function sort(array $specs): SearchOptions {}
1926
-
1927
-    /**
1928
-     * Configures the highlighting of matches in the response
1929
-     *
1930
-     * @param string $style highlight style to apply. Use constants HIGHLIGHT_HTML,
1931
-     *   HIGHLIGHT_ANSI, HIGHLIGHT_SIMPLE.
1932
-     * @param string ...$fields the optional fields on which to highlight.
1933
-     *   If none, all fields where there is a match are highlighted.
1934
-     * @return SearchOptions
1935
-     *
1936
-     * @see \SearchHighlightMode::HTML
1937
-     * @see \SearchHighlightMode::ANSI
1938
-     * @see \SearchHighlightMode::SIMPLE
1939
-     */
1940
-    public function highlight(string $style = null, array $fields = null): SearchOptions {}
1827
+	public function jsonSerialize() {}
1828
+
1829
+	/**
1830
+	 * Sets the server side timeout in milliseconds
1831
+	 *
1832
+	 * @param int $ms the server side timeout to apply
1833
+	 * @return SearchOptions
1834
+	 */
1835
+	public function timeout(int $ms): SearchOptions {}
1836
+
1837
+	/**
1838
+	 * Add a limit to the query on the number of hits it can return
1839
+	 *
1840
+	 * @param int $limit the maximum number of hits to return
1841
+	 * @return SearchOptions
1842
+	 */
1843
+	public function limit(int $limit): SearchOptions {}
1844
+
1845
+	/**
1846
+	 * Set the number of hits to skip (eg. for pagination).
1847
+	 *
1848
+	 * @param int $skip the number of results to skip
1849
+	 * @return SearchOptions
1850
+	 */
1851
+	public function skip(int $skip): SearchOptions {}
1852
+
1853
+	/**
1854
+	 * Activates the explanation of each result hit in the response
1855
+	 *
1856
+	 * @param bool $explain
1857
+	 * @return SearchOptions
1858
+	 */
1859
+	public function explain(bool $explain): SearchOptions {}
1860
+
1861
+	/**
1862
+	 * If set to true, the server will not perform any scoring on the hits
1863
+	 *
1864
+	 * @param bool $disabled
1865
+	 * @return SearchOptions
1866
+	 */
1867
+	public function disableScoring(bool $disabled): SearchOptions {}
1868
+
1869
+	/**
1870
+	 * Sets the consistency to consider for this FTS query to AT_PLUS and
1871
+	 * uses the MutationState to parameterize the consistency.
1872
+	 *
1873
+	 * This replaces any consistency tuning previously set.
1874
+	 *
1875
+	 * @param MutationState $state the mutation state information to work with
1876
+	 * @return SearchOptions
1877
+	 */
1878
+	public function consistentWith(string $index, MutationState $state): SearchOptions {}
1879
+
1880
+	/**
1881
+	 * Configures the list of fields for which the whole value should be included in the response.
1882
+	 *
1883
+	 * If empty, no field values are included. This drives the inclusion of the fields in each hit.
1884
+	 * Note that to be highlighted, the fields must be stored in the FTS index.
1885
+	 *
1886
+	 * @param string[] $fields
1887
+	 * @return SearchOptions
1888
+	 */
1889
+	public function fields(array $fields): SearchOptions {}
1890
+
1891
+	/**
1892
+	 * Adds one SearchFacet-s to the query
1893
+	 *
1894
+	 * This is an additive operation (the given facets are added to any facet previously requested),
1895
+	 * but if an existing facet has the same name it will be replaced.
1896
+	 *
1897
+	 * Note that to be faceted, a field's value must be stored in the FTS index.
1898
+	 *
1899
+	 * @param SearchFacet[] $facets
1900
+	 * @return SearchOptions
1901
+	 *
1902
+	 * @see \SearchFacet
1903
+	 * @see \TermSearchFacet
1904
+	 * @see \NumericRangeSearchFacet
1905
+	 * @see \DateRangeSearchFacet
1906
+	 */
1907
+	public function facets(array $facets): SearchOptions {}
1908
+
1909
+	/**
1910
+	 * Configures the list of fields (including special fields) which are used for sorting purposes.
1911
+	 * If empty, the default sorting (descending by score) is used by the server.
1912
+	 *
1913
+	 * The list of sort fields can include actual fields (like "firstname" but then they must be stored in the
1914
+	 * index, configured in the server side mapping). Fields provided first are considered first and in a "tie" case
1915
+	 * the next sort field is considered. So sorting by "firstname" and then "lastname" will first sort ascending by
1916
+	 * the firstname and if the names are equal then sort ascending by lastname. Special fields like "_id" and
1917
+	 * "_score" can also be used. If prefixed with "-" the sort order is set to descending.
1918
+	 *
1919
+	 * If no sort is provided, it is equal to sort("-_score"), since the server will sort it by score in descending
1920
+	 * order.
1921
+	 *
1922
+	 * @param array $specs sort the fields that should take part in the sorting.
1923
+	 * @return SearchOptions
1924
+	 */
1925
+	public function sort(array $specs): SearchOptions {}
1926
+
1927
+	/**
1928
+	 * Configures the highlighting of matches in the response
1929
+	 *
1930
+	 * @param string $style highlight style to apply. Use constants HIGHLIGHT_HTML,
1931
+	 *   HIGHLIGHT_ANSI, HIGHLIGHT_SIMPLE.
1932
+	 * @param string ...$fields the optional fields on which to highlight.
1933
+	 *   If none, all fields where there is a match are highlighted.
1934
+	 * @return SearchOptions
1935
+	 *
1936
+	 * @see \SearchHighlightMode::HTML
1937
+	 * @see \SearchHighlightMode::ANSI
1938
+	 * @see \SearchHighlightMode::SIMPLE
1939
+	 */
1940
+	public function highlight(string $style = null, array $fields = null): SearchOptions {}
1941 1941
 }
1942 1942
 
1943 1943
 interface SearchHighlightMode
1944 1944
 {
1945
-    public const HTML = "html";
1946
-    public const ANSI = "ansi";
1947
-    public const SIMPLE = "simple";
1945
+	public const HTML = "html";
1946
+	public const ANSI = "ansi";
1947
+	public const SIMPLE = "simple";
1948 1948
 }
1949 1949
 
1950 1950
 /**
@@ -1962,21 +1962,21 @@  discard block
 block discarded – undo
1962 1962
  */
1963 1963
 class BooleanFieldSearchQuery implements JsonSerializable, SearchQuery
1964 1964
 {
1965
-    public function jsonSerialize() {}
1965
+	public function jsonSerialize() {}
1966 1966
 
1967
-    public function __construct(bool $arg) {}
1967
+	public function __construct(bool $arg) {}
1968 1968
 
1969
-    /**
1970
-     * @param float $boost
1971
-     * @return BooleanFieldSearchQuery
1972
-     */
1973
-    public function boost(float $boost): BooleanFieldSearchQuery {}
1969
+	/**
1970
+	 * @param float $boost
1971
+	 * @return BooleanFieldSearchQuery
1972
+	 */
1973
+	public function boost(float $boost): BooleanFieldSearchQuery {}
1974 1974
 
1975
-    /**
1976
-     * @param string $field
1977
-     * @return BooleanFieldSearchQuery
1978
-     */
1979
-    public function field(string $field): BooleanFieldSearchQuery {}
1975
+	/**
1976
+	 * @param string $field
1977
+	 * @return BooleanFieldSearchQuery
1978
+	 */
1979
+	public function field(string $field): BooleanFieldSearchQuery {}
1980 1980
 }
1981 1981
 
1982 1982
 /**
@@ -1984,33 +1984,33 @@  discard block
 block discarded – undo
1984 1984
  */
1985 1985
 class BooleanSearchQuery implements JsonSerializable, SearchQuery
1986 1986
 {
1987
-    public function jsonSerialize() {}
1987
+	public function jsonSerialize() {}
1988 1988
 
1989
-    public function __construct() {}
1989
+	public function __construct() {}
1990 1990
 
1991
-    /**
1992
-     * @param float $boost
1993
-     * @return BooleanSearchQuery
1994
-     */
1995
-    public function boost($boost): BooleanSearchQuery {}
1991
+	/**
1992
+	 * @param float $boost
1993
+	 * @return BooleanSearchQuery
1994
+	 */
1995
+	public function boost($boost): BooleanSearchQuery {}
1996 1996
 
1997
-    /**
1998
-     * @param ConjunctionSearchQuery $query
1999
-     * @return BooleanSearchQuery
2000
-     */
2001
-    public function must(ConjunctionSearchQuery $query): BooleanSearchQuery {}
1997
+	/**
1998
+	 * @param ConjunctionSearchQuery $query
1999
+	 * @return BooleanSearchQuery
2000
+	 */
2001
+	public function must(ConjunctionSearchQuery $query): BooleanSearchQuery {}
2002 2002
 
2003
-    /**
2004
-     * @param DisjunctionSearchQuery $query
2005
-     * @return BooleanSearchQuery
2006
-     */
2007
-    public function mustNot(DisjunctionSearchQuery $query): BooleanSearchQuery {}
2003
+	/**
2004
+	 * @param DisjunctionSearchQuery $query
2005
+	 * @return BooleanSearchQuery
2006
+	 */
2007
+	public function mustNot(DisjunctionSearchQuery $query): BooleanSearchQuery {}
2008 2008
 
2009
-    /**
2010
-     * @param DisjunctionSearchQuery $query
2011
-     * @return BooleanSearchQuery
2012
-     */
2013
-    public function should(DisjunctionSearchQuery $query): BooleanSearchQuery {}
2009
+	/**
2010
+	 * @param DisjunctionSearchQuery $query
2011
+	 * @return BooleanSearchQuery
2012
+	 */
2013
+	public function should(DisjunctionSearchQuery $query): BooleanSearchQuery {}
2014 2014
 }
2015 2015
 
2016 2016
 /**
@@ -2018,21 +2018,21 @@  discard block
 block discarded – undo
2018 2018
  */
2019 2019
 class ConjunctionSearchQuery implements JsonSerializable, SearchQuery
2020 2020
 {
2021
-    public function jsonSerialize() {}
2021
+	public function jsonSerialize() {}
2022 2022
 
2023
-    public function __construct(array $queries) {}
2023
+	public function __construct(array $queries) {}
2024 2024
 
2025
-    /**
2026
-     * @param float $boost
2027
-     * @return ConjunctionSearchQuery
2028
-     */
2029
-    public function boost($boost): ConjunctionSearchQuery {}
2025
+	/**
2026
+	 * @param float $boost
2027
+	 * @return ConjunctionSearchQuery
2028
+	 */
2029
+	public function boost($boost): ConjunctionSearchQuery {}
2030 2030
 
2031
-    /**
2032
-     * @param SearchQuery ...$queries
2033
-     * @return ConjunctionSearchQuery
2034
-     */
2035
-    public function every(SearchQuery ...$queries): ConjunctionSearchQuery {}
2031
+	/**
2032
+	 * @param SearchQuery ...$queries
2033
+	 * @return ConjunctionSearchQuery
2034
+	 */
2035
+	public function every(SearchQuery ...$queries): ConjunctionSearchQuery {}
2036 2036
 }
2037 2037
 
2038 2038
 /**
@@ -2041,45 +2041,45 @@  discard block
 block discarded – undo
2041 2041
  */
2042 2042
 class DateRangeSearchQuery implements JsonSerializable, SearchQuery
2043 2043
 {
2044
-    public function jsonSerialize() {}
2044
+	public function jsonSerialize() {}
2045 2045
 
2046
-    public function __construct() {}
2046
+	public function __construct() {}
2047 2047
 
2048
-    /**
2049
-     * @param float $boost
2050
-     * @return DateRangeSearchQuery
2051
-     */
2052
-    public function boost(float $boost): DateRangeSearchQuery {}
2048
+	/**
2049
+	 * @param float $boost
2050
+	 * @return DateRangeSearchQuery
2051
+	 */
2052
+	public function boost(float $boost): DateRangeSearchQuery {}
2053 2053
 
2054
-    /**
2055
-     * @param string $field
2056
-     * @return DateRangeSearchQuery
2057
-     */
2058
-    public function field(string $field): DateRangeSearchQuery {}
2054
+	/**
2055
+	 * @param string $field
2056
+	 * @return DateRangeSearchQuery
2057
+	 */
2058
+	public function field(string $field): DateRangeSearchQuery {}
2059 2059
 
2060
-    /**
2061
-     * @param int|string $start The strings will be taken verbatim and supposed to be formatted with custom date
2062
-     *      time formatter (see dateTimeParser). Integers interpreted as unix timestamps and represented as RFC3339
2063
-     *      strings.
2064
-     * @param bool $inclusive
2065
-     * @return DateRangeSearchQuery
2066
-     */
2067
-    public function start($start, bool $inclusive = false): DateRangeSearchQuery {}
2060
+	/**
2061
+	 * @param int|string $start The strings will be taken verbatim and supposed to be formatted with custom date
2062
+	 *      time formatter (see dateTimeParser). Integers interpreted as unix timestamps and represented as RFC3339
2063
+	 *      strings.
2064
+	 * @param bool $inclusive
2065
+	 * @return DateRangeSearchQuery
2066
+	 */
2067
+	public function start($start, bool $inclusive = false): DateRangeSearchQuery {}
2068 2068
 
2069
-    /**
2070
-     * @param int|string $end The strings will be taken verbatim and supposed to be formatted with custom date
2071
-     *      time formatter (see dateTimeParser). Integers interpreted as unix timestamps and represented as RFC3339
2072
-     *      strings.
2073
-     * @param bool $inclusive
2074
-     * @return DateRangeSearchQuery
2075
-     */
2076
-    public function end($end, bool $inclusive = false): DateRangeSearchQuery {}
2069
+	/**
2070
+	 * @param int|string $end The strings will be taken verbatim and supposed to be formatted with custom date
2071
+	 *      time formatter (see dateTimeParser). Integers interpreted as unix timestamps and represented as RFC3339
2072
+	 *      strings.
2073
+	 * @param bool $inclusive
2074
+	 * @return DateRangeSearchQuery
2075
+	 */
2076
+	public function end($end, bool $inclusive = false): DateRangeSearchQuery {}
2077 2077
 
2078
-    /**
2079
-     * @param string $dateTimeParser
2080
-     * @return DateRangeSearchQuery
2081
-     */
2082
-    public function dateTimeParser(string $dateTimeParser): DateRangeSearchQuery {}
2078
+	/**
2079
+	 * @param string $dateTimeParser
2080
+	 * @return DateRangeSearchQuery
2081
+	 */
2082
+	public function dateTimeParser(string $dateTimeParser): DateRangeSearchQuery {}
2083 2083
 }
2084 2084
 
2085 2085
 /**
@@ -2088,27 +2088,27 @@  discard block
 block discarded – undo
2088 2088
  */
2089 2089
 class DisjunctionSearchQuery implements JsonSerializable, SearchQuery
2090 2090
 {
2091
-    public function jsonSerialize() {}
2091
+	public function jsonSerialize() {}
2092 2092
 
2093
-    public function __construct(array $queries) {}
2093
+	public function __construct(array $queries) {}
2094 2094
 
2095
-    /**
2096
-     * @param float $boost
2097
-     * @return DisjunctionSearchQuery
2098
-     */
2099
-    public function boost(float $boost): DisjunctionSearchQuery {}
2095
+	/**
2096
+	 * @param float $boost
2097
+	 * @return DisjunctionSearchQuery
2098
+	 */
2099
+	public function boost(float $boost): DisjunctionSearchQuery {}
2100 2100
 
2101
-    /**
2102
-     * @param SearchQuery ...$queries
2103
-     * @return DisjunctionSearchQuery
2104
-     */
2105
-    public function either(SearchQuery ...$queries): DisjunctionSearchQuery {}
2101
+	/**
2102
+	 * @param SearchQuery ...$queries
2103
+	 * @return DisjunctionSearchQuery
2104
+	 */
2105
+	public function either(SearchQuery ...$queries): DisjunctionSearchQuery {}
2106 2106
 
2107
-    /**
2108
-     * @param int $min
2109
-     * @return DisjunctionSearchQuery
2110
-     */
2111
-    public function min(int $min): DisjunctionSearchQuery {}
2107
+	/**
2108
+	 * @param int $min
2109
+	 * @return DisjunctionSearchQuery
2110
+	 */
2111
+	public function min(int $min): DisjunctionSearchQuery {}
2112 2112
 }
2113 2113
 
2114 2114
 /**
@@ -2117,27 +2117,27 @@  discard block
 block discarded – undo
2117 2117
  */
2118 2118
 class DocIdSearchQuery implements JsonSerializable, SearchQuery
2119 2119
 {
2120
-    public function jsonSerialize() {}
2120
+	public function jsonSerialize() {}
2121 2121
 
2122
-    public function __construct() {}
2122
+	public function __construct() {}
2123 2123
 
2124
-    /**
2125
-     * @param float $boost
2126
-     * @return DocIdSearchQuery
2127
-     */
2128
-    public function boost(float $boost): DocIdSearchQuery {}
2124
+	/**
2125
+	 * @param float $boost
2126
+	 * @return DocIdSearchQuery
2127
+	 */
2128
+	public function boost(float $boost): DocIdSearchQuery {}
2129 2129
 
2130
-    /**
2131
-     * @param string $field
2132
-     * @return DocIdSearchQuery
2133
-     */
2134
-    public function field(string $field): DocIdSearchQuery {}
2130
+	/**
2131
+	 * @param string $field
2132
+	 * @return DocIdSearchQuery
2133
+	 */
2134
+	public function field(string $field): DocIdSearchQuery {}
2135 2135
 
2136
-    /**
2137
-     * @param string ...$documentIds
2138
-     * @return DocIdSearchQuery
2139
-     */
2140
-    public function docIds(string ...$documentIds): DocIdSearchQuery {}
2136
+	/**
2137
+	 * @param string ...$documentIds
2138
+	 * @return DocIdSearchQuery
2139
+	 */
2140
+	public function docIds(string ...$documentIds): DocIdSearchQuery {}
2141 2141
 }
2142 2142
 
2143 2143
 /**
@@ -2145,21 +2145,21 @@  discard block
 block discarded – undo
2145 2145
  */
2146 2146
 class GeoBoundingBoxSearchQuery implements JsonSerializable, SearchQuery
2147 2147
 {
2148
-    public function jsonSerialize() {}
2148
+	public function jsonSerialize() {}
2149 2149
 
2150
-    public function __construct(float $top_left_longitude, float $top_left_latitude, float $buttom_right_longitude, float $buttom_right_latitude) {}
2150
+	public function __construct(float $top_left_longitude, float $top_left_latitude, float $buttom_right_longitude, float $buttom_right_latitude) {}
2151 2151
 
2152
-    /**
2153
-     * @param float $boost
2154
-     * @return GeoBoundingBoxSearchQuery
2155
-     */
2156
-    public function boost(float $boost): GeoBoundingBoxSearchQuery {}
2152
+	/**
2153
+	 * @param float $boost
2154
+	 * @return GeoBoundingBoxSearchQuery
2155
+	 */
2156
+	public function boost(float $boost): GeoBoundingBoxSearchQuery {}
2157 2157
 
2158
-    /**
2159
-     * @param string $field
2160
-     * @return GeoBoundingBoxSearchQuery
2161
-     */
2162
-    public function field(string $field): GeoBoundingBoxSearchQuery {}
2158
+	/**
2159
+	 * @param string $field
2160
+	 * @return GeoBoundingBoxSearchQuery
2161
+	 */
2162
+	public function field(string $field): GeoBoundingBoxSearchQuery {}
2163 2163
 }
2164 2164
 
2165 2165
 /**
@@ -2169,34 +2169,34 @@  discard block
 block discarded – undo
2169 2169
  */
2170 2170
 class GeoDistanceSearchQuery implements JsonSerializable, SearchQuery
2171 2171
 {
2172
-    public function jsonSerialize() {}
2172
+	public function jsonSerialize() {}
2173 2173
 
2174
-    public function __construct(float $longitude, float $latitude, string $distance = null) {}
2174
+	public function __construct(float $longitude, float $latitude, string $distance = null) {}
2175 2175
 
2176
-    /**
2177
-     * @param float $boost
2178
-     * @return GeoDistanceSearchQuery
2179
-     */
2180
-    public function boost(float $boost): GeoDistanceSearchQuery {}
2176
+	/**
2177
+	 * @param float $boost
2178
+	 * @return GeoDistanceSearchQuery
2179
+	 */
2180
+	public function boost(float $boost): GeoDistanceSearchQuery {}
2181 2181
 
2182
-    /**
2183
-     * @param string $field
2184
-     * @return GeoDistanceSearchQuery
2185
-     */
2186
-    public function field(string $field): GeoDistanceSearchQuery {}
2182
+	/**
2183
+	 * @param string $field
2184
+	 * @return GeoDistanceSearchQuery
2185
+	 */
2186
+	public function field(string $field): GeoDistanceSearchQuery {}
2187 2187
 }
2188 2188
 
2189 2189
 class Coordinate implements JsonSerializable
2190 2190
 {
2191
-    public function jsonSerialize() {}
2191
+	public function jsonSerialize() {}
2192 2192
 
2193
-    /**
2194
-     * @param float $longitude
2195
-     * @param float $latitude
2196
-     *
2197
-     * @see GeoPolygonQuery
2198
-     */
2199
-    public function __construct(float $longitude, float $latitude) {}
2193
+	/**
2194
+	 * @param float $longitude
2195
+	 * @param float $latitude
2196
+	 *
2197
+	 * @see GeoPolygonQuery
2198
+	 */
2199
+	public function __construct(float $longitude, float $latitude) {}
2200 2200
 }
2201 2201
 
2202 2202
 /**
@@ -2204,26 +2204,26 @@  discard block
 block discarded – undo
2204 2204
  */
2205 2205
 class GeoPolygonQuery implements JsonSerializable, SearchQuery
2206 2206
 {
2207
-    public function jsonSerialize() {}
2207
+	public function jsonSerialize() {}
2208 2208
 
2209
-    /**
2210
-     * @param array $coordinates list of objects of type Coordinate
2211
-     *
2212
-     * @see Coordinate
2213
-     */
2214
-    public function __construct(array $coordinates) {}
2209
+	/**
2210
+	 * @param array $coordinates list of objects of type Coordinate
2211
+	 *
2212
+	 * @see Coordinate
2213
+	 */
2214
+	public function __construct(array $coordinates) {}
2215 2215
 
2216
-    /**
2217
-     * @param float $boost
2218
-     * @return GeoPolygonQuery
2219
-     */
2220
-    public function boost(float $boost): GeoPolygonQuery {}
2216
+	/**
2217
+	 * @param float $boost
2218
+	 * @return GeoPolygonQuery
2219
+	 */
2220
+	public function boost(float $boost): GeoPolygonQuery {}
2221 2221
 
2222
-    /**
2223
-     * @param string $field
2224
-     * @return GeoPolygonQuery
2225
-     */
2226
-    public function field(string $field): GeoPolygonQuery {}
2222
+	/**
2223
+	 * @param string $field
2224
+	 * @return GeoPolygonQuery
2225
+	 */
2226
+	public function field(string $field): GeoPolygonQuery {}
2227 2227
 }
2228 2228
 
2229 2229
 /**
@@ -2231,15 +2231,15 @@  discard block
 block discarded – undo
2231 2231
  */
2232 2232
 class MatchAllSearchQuery implements JsonSerializable, SearchQuery
2233 2233
 {
2234
-    public function jsonSerialize() {}
2234
+	public function jsonSerialize() {}
2235 2235
 
2236
-    public function __construct() {}
2236
+	public function __construct() {}
2237 2237
 
2238
-    /**
2239
-     * @param float $boost
2240
-     * @return MatchAllSearchQuery
2241
-     */
2242
-    public function boost(float $boost): MatchAllSearchQuery {}
2238
+	/**
2239
+	 * @param float $boost
2240
+	 * @return MatchAllSearchQuery
2241
+	 */
2242
+	public function boost(float $boost): MatchAllSearchQuery {}
2243 2243
 }
2244 2244
 
2245 2245
 /**
@@ -2247,15 +2247,15 @@  discard block
 block discarded – undo
2247 2247
  */
2248 2248
 class MatchNoneSearchQuery implements JsonSerializable, SearchQuery
2249 2249
 {
2250
-    public function jsonSerialize() {}
2250
+	public function jsonSerialize() {}
2251 2251
 
2252
-    public function __construct() {}
2252
+	public function __construct() {}
2253 2253
 
2254
-    /**
2255
-     * @param float $boost
2256
-     * @return MatchNoneSearchQuery
2257
-     */
2258
-    public function boost(float $boost): MatchNoneSearchQuery {}
2254
+	/**
2255
+	 * @param float $boost
2256
+	 * @return MatchNoneSearchQuery
2257
+	 */
2258
+	public function boost(float $boost): MatchNoneSearchQuery {}
2259 2259
 }
2260 2260
 
2261 2261
 /**
@@ -2264,27 +2264,27 @@  discard block
 block discarded – undo
2264 2264
  */
2265 2265
 class MatchPhraseSearchQuery implements JsonSerializable, SearchQuery
2266 2266
 {
2267
-    public function jsonSerialize() {}
2267
+	public function jsonSerialize() {}
2268 2268
 
2269
-    public function __construct(string $value) {}
2269
+	public function __construct(string $value) {}
2270 2270
 
2271
-    /**
2272
-     * @param float $boost
2273
-     * @return MatchPhraseSearchQuery
2274
-     */
2275
-    public function boost(float $boost): MatchPhraseSearchQuery {}
2271
+	/**
2272
+	 * @param float $boost
2273
+	 * @return MatchPhraseSearchQuery
2274
+	 */
2275
+	public function boost(float $boost): MatchPhraseSearchQuery {}
2276 2276
 
2277
-    /**
2278
-     * @param string $field
2279
-     * @return MatchPhraseSearchQuery
2280
-     */
2281
-    public function field(string $field): MatchPhraseSearchQuery {}
2277
+	/**
2278
+	 * @param string $field
2279
+	 * @return MatchPhraseSearchQuery
2280
+	 */
2281
+	public function field(string $field): MatchPhraseSearchQuery {}
2282 2282
 
2283
-    /**
2284
-     * @param string $analyzer
2285
-     * @return MatchPhraseSearchQuery
2286
-     */
2287
-    public function analyzer(string $analyzer): MatchPhraseSearchQuery {}
2283
+	/**
2284
+	 * @param string $analyzer
2285
+	 * @return MatchPhraseSearchQuery
2286
+	 */
2287
+	public function analyzer(string $analyzer): MatchPhraseSearchQuery {}
2288 2288
 }
2289 2289
 
2290 2290
 /**
@@ -2293,39 +2293,39 @@  discard block
 block discarded – undo
2293 2293
  */
2294 2294
 class MatchSearchQuery implements JsonSerializable, SearchQuery
2295 2295
 {
2296
-    public function jsonSerialize() {}
2296
+	public function jsonSerialize() {}
2297 2297
 
2298
-    public function __construct(string $value) {}
2298
+	public function __construct(string $value) {}
2299 2299
 
2300
-    /**
2301
-     * @param float $boost
2302
-     * @return MatchSearchQuery
2303
-     */
2304
-    public function boost(float $boost): MatchSearchQuery {}
2300
+	/**
2301
+	 * @param float $boost
2302
+	 * @return MatchSearchQuery
2303
+	 */
2304
+	public function boost(float $boost): MatchSearchQuery {}
2305 2305
 
2306
-    /**
2307
-     * @param string $field
2308
-     * @return MatchSearchQuery
2309
-     */
2310
-    public function field(string $field): MatchSearchQuery {}
2306
+	/**
2307
+	 * @param string $field
2308
+	 * @return MatchSearchQuery
2309
+	 */
2310
+	public function field(string $field): MatchSearchQuery {}
2311 2311
 
2312
-    /**
2313
-     * @param string $analyzer
2314
-     * @return MatchSearchQuery
2315
-     */
2316
-    public function analyzer(string $analyzer): MatchSearchQuery {}
2312
+	/**
2313
+	 * @param string $analyzer
2314
+	 * @return MatchSearchQuery
2315
+	 */
2316
+	public function analyzer(string $analyzer): MatchSearchQuery {}
2317 2317
 
2318
-    /**
2319
-     * @param int $prefixLength
2320
-     * @return MatchSearchQuery
2321
-     */
2322
-    public function prefixLength(int $prefixLength): MatchSearchQuery {}
2318
+	/**
2319
+	 * @param int $prefixLength
2320
+	 * @return MatchSearchQuery
2321
+	 */
2322
+	public function prefixLength(int $prefixLength): MatchSearchQuery {}
2323 2323
 
2324
-    /**
2325
-     * @param int $fuzziness
2326
-     * @return MatchSearchQuery
2327
-     */
2328
-    public function fuzziness(int $fuzziness): MatchSearchQuery {}
2324
+	/**
2325
+	 * @param int $fuzziness
2326
+	 * @return MatchSearchQuery
2327
+	 */
2328
+	public function fuzziness(int $fuzziness): MatchSearchQuery {}
2329 2329
 }
2330 2330
 
2331 2331
 /**
@@ -2334,35 +2334,35 @@  discard block
 block discarded – undo
2334 2334
  */
2335 2335
 class NumericRangeSearchQuery implements JsonSerializable, SearchQuery
2336 2336
 {
2337
-    public function jsonSerialize() {}
2337
+	public function jsonSerialize() {}
2338 2338
 
2339
-    public function __construct() {}
2339
+	public function __construct() {}
2340 2340
 
2341
-    /**
2342
-     * @param float $boost
2343
-     * @return NumericRangeSearchQuery
2344
-     */
2345
-    public function boost(float $boost): NumericRangeSearchQuery {}
2341
+	/**
2342
+	 * @param float $boost
2343
+	 * @return NumericRangeSearchQuery
2344
+	 */
2345
+	public function boost(float $boost): NumericRangeSearchQuery {}
2346 2346
 
2347
-    /**
2348
-     * @param string $field
2349
-     * @return NumericRangeSearchQuery
2350
-     */
2351
-    public function field($field): NumericRangeSearchQuery {}
2347
+	/**
2348
+	 * @param string $field
2349
+	 * @return NumericRangeSearchQuery
2350
+	 */
2351
+	public function field($field): NumericRangeSearchQuery {}
2352 2352
 
2353
-    /**
2354
-     * @param float $min
2355
-     * @param bool $inclusive
2356
-     * @return NumericRangeSearchQuery
2357
-     */
2358
-    public function min(float $min, bool $inclusive = false): NumericRangeSearchQuery {}
2353
+	/**
2354
+	 * @param float $min
2355
+	 * @param bool $inclusive
2356
+	 * @return NumericRangeSearchQuery
2357
+	 */
2358
+	public function min(float $min, bool $inclusive = false): NumericRangeSearchQuery {}
2359 2359
 
2360
-    /**
2361
-     * @param float $max
2362
-     * @param bool $inclusive
2363
-     * @return NumericRangeSearchQuery
2364
-     */
2365
-    public function max(float $max, bool $inclusive = false): NumericRangeSearchQuery {}
2360
+	/**
2361
+	 * @param float $max
2362
+	 * @param bool $inclusive
2363
+	 * @return NumericRangeSearchQuery
2364
+	 */
2365
+	public function max(float $max, bool $inclusive = false): NumericRangeSearchQuery {}
2366 2366
 }
2367 2367
 
2368 2368
 /**
@@ -2372,21 +2372,21 @@  discard block
 block discarded – undo
2372 2372
  */
2373 2373
 class PhraseSearchQuery implements JsonSerializable, SearchQuery
2374 2374
 {
2375
-    public function jsonSerialize() {}
2375
+	public function jsonSerialize() {}
2376 2376
 
2377
-    public function __construct(string ...$terms) {}
2377
+	public function __construct(string ...$terms) {}
2378 2378
 
2379
-    /**
2380
-     * @param float $boost
2381
-     * @return PhraseSearchQuery
2382
-     */
2383
-    public function boost(float $boost): PhraseSearchQuery {}
2379
+	/**
2380
+	 * @param float $boost
2381
+	 * @return PhraseSearchQuery
2382
+	 */
2383
+	public function boost(float $boost): PhraseSearchQuery {}
2384 2384
 
2385
-    /**
2386
-     * @param string $field
2387
-     * @return PhraseSearchQuery
2388
-     */
2389
-    public function field(string $field): PhraseSearchQuery {}
2385
+	/**
2386
+	 * @param string $field
2387
+	 * @return PhraseSearchQuery
2388
+	 */
2389
+	public function field(string $field): PhraseSearchQuery {}
2390 2390
 }
2391 2391
 
2392 2392
 /**
@@ -2394,21 +2394,21 @@  discard block
 block discarded – undo
2394 2394
  */
2395 2395
 class PrefixSearchQuery implements JsonSerializable, SearchQuery
2396 2396
 {
2397
-    public function jsonSerialize() {}
2397
+	public function jsonSerialize() {}
2398 2398
 
2399
-    public function __construct(string $prefix) {}
2399
+	public function __construct(string $prefix) {}
2400 2400
 
2401
-    /**
2402
-     * @param float $boost
2403
-     * @return PrefixSearchQuery
2404
-     */
2405
-    public function boost(float $boost): PrefixSearchQuery {}
2401
+	/**
2402
+	 * @param float $boost
2403
+	 * @return PrefixSearchQuery
2404
+	 */
2405
+	public function boost(float $boost): PrefixSearchQuery {}
2406 2406
 
2407
-    /**
2408
-     * @param string $field
2409
-     * @return PrefixSearchQuery
2410
-     */
2411
-    public function field(string $field): PrefixSearchQuery {}
2407
+	/**
2408
+	 * @param string $field
2409
+	 * @return PrefixSearchQuery
2410
+	 */
2411
+	public function field(string $field): PrefixSearchQuery {}
2412 2412
 }
2413 2413
 
2414 2414
 /**
@@ -2416,15 +2416,15 @@  discard block
 block discarded – undo
2416 2416
  */
2417 2417
 class QueryStringSearchQuery implements JsonSerializable, SearchQuery
2418 2418
 {
2419
-    public function jsonSerialize() {}
2419
+	public function jsonSerialize() {}
2420 2420
 
2421
-    public function __construct(string $query_string) {}
2421
+	public function __construct(string $query_string) {}
2422 2422
 
2423
-    /**
2424
-     * @param float $boost
2425
-     * @return QueryStringSearchQuery
2426
-     */
2427
-    public function boost(float $boost): QueryStringSearchQuery {}
2423
+	/**
2424
+	 * @param float $boost
2425
+	 * @return QueryStringSearchQuery
2426
+	 */
2427
+	public function boost(float $boost): QueryStringSearchQuery {}
2428 2428
 }
2429 2429
 
2430 2430
 /**
@@ -2432,21 +2432,21 @@  discard block
 block discarded – undo
2432 2432
  */
2433 2433
 class RegexpSearchQuery implements JsonSerializable, SearchQuery
2434 2434
 {
2435
-    public function jsonSerialize() {}
2435
+	public function jsonSerialize() {}
2436 2436
 
2437
-    public function __construct(string $regexp) {}
2437
+	public function __construct(string $regexp) {}
2438 2438
 
2439
-    /**
2440
-     * @param float $boost
2441
-     * @return RegexpSearchQuery
2442
-     */
2443
-    public function boost(float $boost): RegexpSearchQuery {}
2439
+	/**
2440
+	 * @param float $boost
2441
+	 * @return RegexpSearchQuery
2442
+	 */
2443
+	public function boost(float $boost): RegexpSearchQuery {}
2444 2444
 
2445
-    /**
2446
-     * @param string $field
2447
-     * @return RegexpSearchQuery
2448
-     */
2449
-    public function field(string $field): RegexpSearchQuery {}
2445
+	/**
2446
+	 * @param string $field
2447
+	 * @return RegexpSearchQuery
2448
+	 */
2449
+	public function field(string $field): RegexpSearchQuery {}
2450 2450
 }
2451 2451
 
2452 2452
 /**
@@ -2454,33 +2454,33 @@  discard block
 block discarded – undo
2454 2454
  */
2455 2455
 class TermSearchQuery implements JsonSerializable, SearchQuery
2456 2456
 {
2457
-    public function jsonSerialize() {}
2457
+	public function jsonSerialize() {}
2458 2458
 
2459
-    public function __construct(string $term) {}
2459
+	public function __construct(string $term) {}
2460 2460
 
2461
-    /**
2462
-     * @param float $boost
2463
-     * @return TermSearchQuery
2464
-     */
2465
-    public function boost(float $boost): TermSearchQuery {}
2461
+	/**
2462
+	 * @param float $boost
2463
+	 * @return TermSearchQuery
2464
+	 */
2465
+	public function boost(float $boost): TermSearchQuery {}
2466 2466
 
2467
-    /**
2468
-     * @param string $field
2469
-     * @return TermSearchQuery
2470
-     */
2471
-    public function field(string $field): TermSearchQuery {}
2467
+	/**
2468
+	 * @param string $field
2469
+	 * @return TermSearchQuery
2470
+	 */
2471
+	public function field(string $field): TermSearchQuery {}
2472 2472
 
2473
-    /**
2474
-     * @param int $prefixLength
2475
-     * @return TermSearchQuery
2476
-     */
2477
-    public function prefixLength(int $prefixLength): TermSearchQuery {}
2473
+	/**
2474
+	 * @param int $prefixLength
2475
+	 * @return TermSearchQuery
2476
+	 */
2477
+	public function prefixLength(int $prefixLength): TermSearchQuery {}
2478 2478
 
2479
-    /**
2480
-     * @param int $fuzziness
2481
-     * @return TermSearchQuery
2482
-     */
2483
-    public function fuzziness(int $fuzziness): TermSearchQuery {}
2479
+	/**
2480
+	 * @param int $fuzziness
2481
+	 * @return TermSearchQuery
2482
+	 */
2483
+	public function fuzziness(int $fuzziness): TermSearchQuery {}
2484 2484
 }
2485 2485
 
2486 2486
 /**
@@ -2489,35 +2489,35 @@  discard block
 block discarded – undo
2489 2489
  */
2490 2490
 class TermRangeSearchQuery implements JsonSerializable, SearchQuery
2491 2491
 {
2492
-    public function jsonSerialize() {}
2492
+	public function jsonSerialize() {}
2493 2493
 
2494
-    public function __construct() {}
2494
+	public function __construct() {}
2495 2495
 
2496
-    /**
2497
-     * @param float $boost
2498
-     * @return TermRangeSearchQuery
2499
-     */
2500
-    public function boost(float $boost): TermRangeSearchQuery {}
2496
+	/**
2497
+	 * @param float $boost
2498
+	 * @return TermRangeSearchQuery
2499
+	 */
2500
+	public function boost(float $boost): TermRangeSearchQuery {}
2501 2501
 
2502
-    /**
2503
-     * @param string $field
2504
-     * @return TermRangeSearchQuery
2505
-     */
2506
-    public function field(string $field): TermRangeSearchQuery {}
2502
+	/**
2503
+	 * @param string $field
2504
+	 * @return TermRangeSearchQuery
2505
+	 */
2506
+	public function field(string $field): TermRangeSearchQuery {}
2507 2507
 
2508
-    /**
2509
-     * @param string $min
2510
-     * @param bool $inclusive
2511
-     * @return TermRangeSearchQuery
2512
-     */
2513
-    public function min(string $min, bool $inclusive = true): TermRangeSearchQuery {}
2508
+	/**
2509
+	 * @param string $min
2510
+	 * @param bool $inclusive
2511
+	 * @return TermRangeSearchQuery
2512
+	 */
2513
+	public function min(string $min, bool $inclusive = true): TermRangeSearchQuery {}
2514 2514
 
2515
-    /**
2516
-     * @param string $max
2517
-     * @param bool $inclusive
2518
-     * @return TermRangeSearchQuery
2519
-     */
2520
-    public function max(string $max, bool $inclusive = false): TermRangeSearchQuery {}
2515
+	/**
2516
+	 * @param string $max
2517
+	 * @param bool $inclusive
2518
+	 * @return TermRangeSearchQuery
2519
+	 */
2520
+	public function max(string $max, bool $inclusive = false): TermRangeSearchQuery {}
2521 2521
 }
2522 2522
 
2523 2523
 /**
@@ -2525,21 +2525,21 @@  discard block
 block discarded – undo
2525 2525
  */
2526 2526
 class WildcardSearchQuery implements JsonSerializable, SearchQuery
2527 2527
 {
2528
-    public function jsonSerialize() {}
2528
+	public function jsonSerialize() {}
2529 2529
 
2530
-    public function __construct(string $wildcard) {}
2530
+	public function __construct(string $wildcard) {}
2531 2531
 
2532
-    /**
2533
-     * @param float $boost
2534
-     * @return WildcardSearchQuery
2535
-     */
2536
-    public function boost(float $boost): WildcardSearchQuery {}
2532
+	/**
2533
+	 * @param float $boost
2534
+	 * @return WildcardSearchQuery
2535
+	 */
2536
+	public function boost(float $boost): WildcardSearchQuery {}
2537 2537
 
2538
-    /**
2539
-     * @param string $field
2540
-     * @return WildcardSearchQuery
2541
-     */
2542
-    public function field(string $field): WildcardSearchQuery {}
2538
+	/**
2539
+	 * @param string $field
2540
+	 * @return WildcardSearchQuery
2541
+	 */
2542
+	public function field(string $field): WildcardSearchQuery {}
2543 2543
 }
2544 2544
 
2545 2545
 /**
@@ -2557,9 +2557,9 @@  discard block
 block discarded – undo
2557 2557
  */
2558 2558
 class TermSearchFacet implements JsonSerializable, SearchFacet
2559 2559
 {
2560
-    public function jsonSerialize() {}
2560
+	public function jsonSerialize() {}
2561 2561
 
2562
-    public function __construct(string $field, int $limit) {}
2562
+	public function __construct(string $field, int $limit) {}
2563 2563
 }
2564 2564
 
2565 2565
 /**
@@ -2567,17 +2567,17 @@  discard block
 block discarded – undo
2567 2567
  */
2568 2568
 class NumericRangeSearchFacet implements JsonSerializable, SearchFacet
2569 2569
 {
2570
-    public function jsonSerialize() {}
2570
+	public function jsonSerialize() {}
2571 2571
 
2572
-    public function __construct(string $field, int $limit) {}
2572
+	public function __construct(string $field, int $limit) {}
2573 2573
 
2574
-    /**
2575
-     * @param string $name
2576
-     * @param float $min
2577
-     * @param float $max
2578
-     * @return NumericRangeSearchFacet
2579
-     */
2580
-    public function addRange(string $name, float $min = null, float $max = null): NumericRangeSearchFacet {}
2574
+	/**
2575
+	 * @param string $name
2576
+	 * @param float $min
2577
+	 * @param float $max
2578
+	 * @return NumericRangeSearchFacet
2579
+	 */
2580
+	public function addRange(string $name, float $min = null, float $max = null): NumericRangeSearchFacet {}
2581 2581
 }
2582 2582
 
2583 2583
 /**
@@ -2585,17 +2585,17 @@  discard block
 block discarded – undo
2585 2585
  */
2586 2586
 class DateRangeSearchFacet implements JsonSerializable, SearchFacet
2587 2587
 {
2588
-    public function jsonSerialize() {}
2588
+	public function jsonSerialize() {}
2589 2589
 
2590
-    public function __construct(string $field, int $limit) {}
2590
+	public function __construct(string $field, int $limit) {}
2591 2591
 
2592
-    /**
2593
-     * @param string $name
2594
-     * @param int|string $start
2595
-     * @param int|string $end
2596
-     * @return DateRangeSearchFacet
2597
-     */
2598
-    public function addRange(string $name, $start = null, $end = null): DateRangeSearchFacet {}
2592
+	/**
2593
+	 * @param string $name
2594
+	 * @param int|string $start
2595
+	 * @param int|string $end
2596
+	 * @return DateRangeSearchFacet
2597
+	 */
2598
+	public function addRange(string $name, $start = null, $end = null): DateRangeSearchFacet {}
2599 2599
 }
2600 2600
 
2601 2601
 /**
@@ -2608,71 +2608,71 @@  discard block
 block discarded – undo
2608 2608
  */
2609 2609
 class SearchSortField implements JsonSerializable, SearchSort
2610 2610
 {
2611
-    public function jsonSerialize() {}
2612
-
2613
-    public function __construct(string $field) {}
2614
-
2615
-    /**
2616
-     * Direction of the sort
2617
-     *
2618
-     * @param bool $descending
2619
-     *
2620
-     * @return SearchSortField
2621
-     */
2622
-    public function descending(bool $descending): SearchSortField {}
2623
-
2624
-    /**
2625
-     * Set type of the field
2626
-     *
2627
-     * @param string type the type
2628
-     *
2629
-     * @see SearchSortType::AUTO
2630
-     * @see SearchSortType::STRING
2631
-     * @see SearchSortType::NUMBER
2632
-     * @see SearchSortType::DATE
2633
-     */
2634
-    public function type(string $type): SearchSortField {}
2635
-
2636
-    /**
2637
-     * Set mode of the sort
2638
-     *
2639
-     * @param string mode the mode
2640
-     *
2641
-     * @see SearchSortMode::MIN
2642
-     * @see SearchSortMode::MAX
2643
-     */
2644
-    public function mode(string $mode): SearchSortField {}
2645
-
2646
-    /**
2647
-     * Set where the hits with missing field will be inserted
2648
-     *
2649
-     * @param string missing strategy for hits with missing fields
2650
-     *
2651
-     * @see SearchSortMissing::FIRST
2652
-     * @see SearchSortMissing::LAST
2653
-     */
2654
-    public function missing(string $missing): SearchSortField {}
2611
+	public function jsonSerialize() {}
2612
+
2613
+	public function __construct(string $field) {}
2614
+
2615
+	/**
2616
+	 * Direction of the sort
2617
+	 *
2618
+	 * @param bool $descending
2619
+	 *
2620
+	 * @return SearchSortField
2621
+	 */
2622
+	public function descending(bool $descending): SearchSortField {}
2623
+
2624
+	/**
2625
+	 * Set type of the field
2626
+	 *
2627
+	 * @param string type the type
2628
+	 *
2629
+	 * @see SearchSortType::AUTO
2630
+	 * @see SearchSortType::STRING
2631
+	 * @see SearchSortType::NUMBER
2632
+	 * @see SearchSortType::DATE
2633
+	 */
2634
+	public function type(string $type): SearchSortField {}
2635
+
2636
+	/**
2637
+	 * Set mode of the sort
2638
+	 *
2639
+	 * @param string mode the mode
2640
+	 *
2641
+	 * @see SearchSortMode::MIN
2642
+	 * @see SearchSortMode::MAX
2643
+	 */
2644
+	public function mode(string $mode): SearchSortField {}
2645
+
2646
+	/**
2647
+	 * Set where the hits with missing field will be inserted
2648
+	 *
2649
+	 * @param string missing strategy for hits with missing fields
2650
+	 *
2651
+	 * @see SearchSortMissing::FIRST
2652
+	 * @see SearchSortMissing::LAST
2653
+	 */
2654
+	public function missing(string $missing): SearchSortField {}
2655 2655
 }
2656 2656
 
2657 2657
 interface SearchSortType
2658 2658
 {
2659
-    public const AUTO = "auto";
2660
-    public const STRING = "string";
2661
-    public const NUMBER = "number";
2662
-    public const DATE = "date";
2659
+	public const AUTO = "auto";
2660
+	public const STRING = "string";
2661
+	public const NUMBER = "number";
2662
+	public const DATE = "date";
2663 2663
 }
2664 2664
 
2665 2665
 interface SearchSortMode
2666 2666
 {
2667
-    public const DEFAULT = "default";
2668
-    public const MIN = "min";
2669
-    public const MAX = "max";
2667
+	public const DEFAULT = "default";
2668
+	public const MIN = "min";
2669
+	public const MAX = "max";
2670 2670
 }
2671 2671
 
2672 2672
 interface SearchSortMissing
2673 2673
 {
2674
-    public const FIRST = "first";
2675
-    public const LAST = "last";
2674
+	public const FIRST = "first";
2675
+	public const LAST = "last";
2676 2676
 }
2677 2677
 
2678 2678
 /**
@@ -2680,27 +2680,27 @@  discard block
 block discarded – undo
2680 2680
  */
2681 2681
 class SearchSortGeoDistance implements JsonSerializable, SearchSort
2682 2682
 {
2683
-    public function jsonSerialize() {}
2683
+	public function jsonSerialize() {}
2684 2684
 
2685
-    public function __construct(string $field, float $logitude, float $latitude) {}
2685
+	public function __construct(string $field, float $logitude, float $latitude) {}
2686 2686
 
2687
-    /**
2688
-     * Direction of the sort
2689
-     *
2690
-     * @param bool $descending
2691
-     *
2692
-     * @return SearchSortGeoDistance
2693
-     */
2694
-    public function descending(bool $descending): SearchSortGeoDistance {}
2687
+	/**
2688
+	 * Direction of the sort
2689
+	 *
2690
+	 * @param bool $descending
2691
+	 *
2692
+	 * @return SearchSortGeoDistance
2693
+	 */
2694
+	public function descending(bool $descending): SearchSortGeoDistance {}
2695 2695
 
2696
-    /**
2697
-     * Name of the units
2698
-     *
2699
-     * @param string $unit
2700
-     *
2701
-     * @return SearchSortGeoDistance
2702
-     */
2703
-    public function unit(string $unit): SearchSortGeoDistance {}
2696
+	/**
2697
+	 * Name of the units
2698
+	 *
2699
+	 * @param string $unit
2700
+	 *
2701
+	 * @return SearchSortGeoDistance
2702
+	 */
2703
+	public function unit(string $unit): SearchSortGeoDistance {}
2704 2704
 }
2705 2705
 
2706 2706
 /**
@@ -2708,18 +2708,18 @@  discard block
 block discarded – undo
2708 2708
  */
2709 2709
 class SearchSortId implements JsonSerializable, SearchSort
2710 2710
 {
2711
-    public function jsonSerialize() {}
2711
+	public function jsonSerialize() {}
2712 2712
 
2713
-    public function __construct() {}
2713
+	public function __construct() {}
2714 2714
 
2715
-    /**
2716
-     * Direction of the sort
2717
-     *
2718
-     * @param bool $descending
2719
-     *
2720
-     * @return SearchSortId
2721
-     */
2722
-    public function descending(bool $descending): SearchSortId {}
2715
+	/**
2716
+	 * Direction of the sort
2717
+	 *
2718
+	 * @param bool $descending
2719
+	 *
2720
+	 * @return SearchSortId
2721
+	 */
2722
+	public function descending(bool $descending): SearchSortId {}
2723 2723
 }
2724 2724
 
2725 2725
 /**
@@ -2727,319 +2727,319 @@  discard block
 block discarded – undo
2727 2727
  */
2728 2728
 class SearchSortScore implements JsonSerializable, SearchSort
2729 2729
 {
2730
-    public function jsonSerialize() {}
2730
+	public function jsonSerialize() {}
2731 2731
 
2732
-    public function __construct() {}
2732
+	public function __construct() {}
2733 2733
 
2734
-    /**
2735
-     * Direction of the sort
2736
-     *
2737
-     * @param bool $descending
2738
-     *
2739
-     * @return SearchSortScore
2740
-     */
2741
-    public function descending(bool $descending): SearchSortScore {}
2734
+	/**
2735
+	 * Direction of the sort
2736
+	 *
2737
+	 * @param bool $descending
2738
+	 *
2739
+	 * @return SearchSortScore
2740
+	 */
2741
+	public function descending(bool $descending): SearchSortScore {}
2742 2742
 }
2743 2743
 
2744 2744
 class GetOptions
2745 2745
 {
2746
-    /**
2747
-     * Sets the operation timeout in milliseconds.
2748
-     *
2749
-     * @param int $arg the operation timeout to apply
2750
-     * @return GetOptions
2751
-     */
2752
-    public function timeout(int $arg): GetOptions {}
2753
-
2754
-    /**
2755
-     * Sets whether to include document expiry with the document content.
2756
-     *
2757
-     * When used this option will transparently transform the Get
2758
-     * operation into a subdocument operation performing a full document
2759
-     * fetch as well as the expiry.
2760
-     *
2761
-     * @param bool $arg whether or not to include document expiry
2762
-     * @return GetOptions
2763
-     */
2764
-    public function withExpiry(bool $arg): GetOptions {}
2765
-
2766
-    /**
2767
-     * Sets whether to cause the Get operation to only fetch the fields
2768
-     * from the document indicated by the paths provided.
2769
-     *
2770
-     * When used this option will transparently transform the Get
2771
-     * operation into a subdocument operation fetching only the required
2772
-     * fields.
2773
-     *
2774
-     * @param array $arg the array of field names
2775
-     * @return GetOptions
2776
-     */
2777
-    public function project(array $arg): GetOptions {}
2778
-
2779
-    /**
2780
-     * Associate custom transcoder with the request.
2781
-     *
2782
-     * @param callable $arg decoding function with signature (returns decoded value):
2783
-     *
2784
-     *   `function decoder(string $bytes, int $flags, int $datatype): mixed`
2785
-     */
2786
-    public function decoder(callable $arg): GetOptions {}
2746
+	/**
2747
+	 * Sets the operation timeout in milliseconds.
2748
+	 *
2749
+	 * @param int $arg the operation timeout to apply
2750
+	 * @return GetOptions
2751
+	 */
2752
+	public function timeout(int $arg): GetOptions {}
2753
+
2754
+	/**
2755
+	 * Sets whether to include document expiry with the document content.
2756
+	 *
2757
+	 * When used this option will transparently transform the Get
2758
+	 * operation into a subdocument operation performing a full document
2759
+	 * fetch as well as the expiry.
2760
+	 *
2761
+	 * @param bool $arg whether or not to include document expiry
2762
+	 * @return GetOptions
2763
+	 */
2764
+	public function withExpiry(bool $arg): GetOptions {}
2765
+
2766
+	/**
2767
+	 * Sets whether to cause the Get operation to only fetch the fields
2768
+	 * from the document indicated by the paths provided.
2769
+	 *
2770
+	 * When used this option will transparently transform the Get
2771
+	 * operation into a subdocument operation fetching only the required
2772
+	 * fields.
2773
+	 *
2774
+	 * @param array $arg the array of field names
2775
+	 * @return GetOptions
2776
+	 */
2777
+	public function project(array $arg): GetOptions {}
2778
+
2779
+	/**
2780
+	 * Associate custom transcoder with the request.
2781
+	 *
2782
+	 * @param callable $arg decoding function with signature (returns decoded value):
2783
+	 *
2784
+	 *   `function decoder(string $bytes, int $flags, int $datatype): mixed`
2785
+	 */
2786
+	public function decoder(callable $arg): GetOptions {}
2787 2787
 }
2788 2788
 
2789 2789
 class GetAndTouchOptions
2790 2790
 {
2791
-    /**
2792
-     * Sets the operation timeout in milliseconds.
2793
-     *
2794
-     * @param int $arg the operation timeout to apply
2795
-     * @return GetAndTouchOptions
2796
-     */
2797
-    public function timeout(int $arg): GetAndTouchOptions {}
2791
+	/**
2792
+	 * Sets the operation timeout in milliseconds.
2793
+	 *
2794
+	 * @param int $arg the operation timeout to apply
2795
+	 * @return GetAndTouchOptions
2796
+	 */
2797
+	public function timeout(int $arg): GetAndTouchOptions {}
2798 2798
 
2799
-    /**
2800
-     * Associate custom transcoder with the request.
2801
-     *
2802
-     * @param callable $arg decoding function with signature (returns decoded value):
2803
-     *
2804
-     *   `function decoder(string $bytes, int $flags, int $datatype): mixed`
2805
-     */
2806
-    public function decoder(callable $arg): GetAndTouchOptions {}
2799
+	/**
2800
+	 * Associate custom transcoder with the request.
2801
+	 *
2802
+	 * @param callable $arg decoding function with signature (returns decoded value):
2803
+	 *
2804
+	 *   `function decoder(string $bytes, int $flags, int $datatype): mixed`
2805
+	 */
2806
+	public function decoder(callable $arg): GetAndTouchOptions {}
2807 2807
 }
2808 2808
 
2809 2809
 class GetAndLockOptions
2810 2810
 {
2811
-    /**
2812
-     * Sets the operation timeout in milliseconds.
2813
-     *
2814
-     * @param int $arg the operation timeout to apply
2815
-     * @return GetAndLockOptions
2816
-     */
2817
-    public function timeout(int $arg): GetAndLockOptions {}
2811
+	/**
2812
+	 * Sets the operation timeout in milliseconds.
2813
+	 *
2814
+	 * @param int $arg the operation timeout to apply
2815
+	 * @return GetAndLockOptions
2816
+	 */
2817
+	public function timeout(int $arg): GetAndLockOptions {}
2818 2818
 
2819
-    /**
2820
-     * Associate custom transcoder with the request.
2821
-     *
2822
-     * @param callable $arg decoding function with signature (returns decoded value):
2823
-     *
2824
-     *   `function decoder(string $bytes, int $flags, int $datatype): mixed`
2825
-     */
2826
-    public function decoder(callable $arg): GetAndLockOptions {}
2819
+	/**
2820
+	 * Associate custom transcoder with the request.
2821
+	 *
2822
+	 * @param callable $arg decoding function with signature (returns decoded value):
2823
+	 *
2824
+	 *   `function decoder(string $bytes, int $flags, int $datatype): mixed`
2825
+	 */
2826
+	public function decoder(callable $arg): GetAndLockOptions {}
2827 2827
 }
2828 2828
 
2829 2829
 class GetAllReplicasOptions
2830 2830
 {
2831
-    /**
2832
-     * Sets the operation timeout in milliseconds.
2833
-     *
2834
-     * @param int $arg the operation timeout to apply
2835
-     * @return GetAllReplicasOptions
2836
-     */
2837
-    public function timeout(int $arg): GetAllReplicasOptions {}
2831
+	/**
2832
+	 * Sets the operation timeout in milliseconds.
2833
+	 *
2834
+	 * @param int $arg the operation timeout to apply
2835
+	 * @return GetAllReplicasOptions
2836
+	 */
2837
+	public function timeout(int $arg): GetAllReplicasOptions {}
2838 2838
 
2839
-    /**
2840
-     * Associate custom transcoder with the request.
2841
-     *
2842
-     * @param callable $arg decoding function with signature (returns decoded value):
2843
-     *
2844
-     *   `function decoder(string $bytes, int $flags, int $datatype): mixed`
2845
-     */
2846
-    public function decoder(callable $arg): GetAllReplicasOptions {}
2839
+	/**
2840
+	 * Associate custom transcoder with the request.
2841
+	 *
2842
+	 * @param callable $arg decoding function with signature (returns decoded value):
2843
+	 *
2844
+	 *   `function decoder(string $bytes, int $flags, int $datatype): mixed`
2845
+	 */
2846
+	public function decoder(callable $arg): GetAllReplicasOptions {}
2847 2847
 }
2848 2848
 
2849 2849
 class GetAnyReplicaOptions
2850 2850
 {
2851
-    /**
2852
-     * Sets the operation timeout in milliseconds.
2853
-     *
2854
-     * @param int $arg the operation timeout to apply
2855
-     * @return GetAnyReplicaOptions
2856
-     */
2857
-    public function timeout(int $arg): GetAnyReplicaOptions {}
2851
+	/**
2852
+	 * Sets the operation timeout in milliseconds.
2853
+	 *
2854
+	 * @param int $arg the operation timeout to apply
2855
+	 * @return GetAnyReplicaOptions
2856
+	 */
2857
+	public function timeout(int $arg): GetAnyReplicaOptions {}
2858 2858
 
2859
-    /**
2860
-     * Associate custom transcoder with the request.
2861
-     *
2862
-     * @param callable $arg decoding function with signature (returns decoded value):
2863
-     *
2864
-     *   `function decoder(string $bytes, int $flags, int $datatype): mixed`
2865
-     */
2866
-    public function decoder(callable $arg): GetAnyReplicaOptions {}
2859
+	/**
2860
+	 * Associate custom transcoder with the request.
2861
+	 *
2862
+	 * @param callable $arg decoding function with signature (returns decoded value):
2863
+	 *
2864
+	 *   `function decoder(string $bytes, int $flags, int $datatype): mixed`
2865
+	 */
2866
+	public function decoder(callable $arg): GetAnyReplicaOptions {}
2867 2867
 }
2868 2868
 
2869 2869
 class ExistsOptions
2870 2870
 {
2871
-    /**
2872
-     * Sets the operation timeout in milliseconds.
2873
-     *
2874
-     * @param int $arg the operation timeout to apply
2875
-     * @return ExistsOptions
2876
-     */
2877
-    public function timeout(int $arg): ExistsOptions {}
2871
+	/**
2872
+	 * Sets the operation timeout in milliseconds.
2873
+	 *
2874
+	 * @param int $arg the operation timeout to apply
2875
+	 * @return ExistsOptions
2876
+	 */
2877
+	public function timeout(int $arg): ExistsOptions {}
2878 2878
 }
2879 2879
 
2880 2880
 class UnlockOptions
2881 2881
 {
2882
-    /**
2883
-     * Sets the operation timeout in milliseconds.
2884
-     *
2885
-     * @param int $arg the operation timeout to apply
2886
-     * @return UnlockOptions
2887
-     */
2888
-    public function timeout(int $arg): UnlockOptions {}
2882
+	/**
2883
+	 * Sets the operation timeout in milliseconds.
2884
+	 *
2885
+	 * @param int $arg the operation timeout to apply
2886
+	 * @return UnlockOptions
2887
+	 */
2888
+	public function timeout(int $arg): UnlockOptions {}
2889 2889
 }
2890 2890
 
2891 2891
 class InsertOptions
2892 2892
 {
2893
-    /**
2894
-     * Sets the operation timeout in milliseconds.
2895
-     *
2896
-     * @param int $arg the operation timeout to apply
2897
-     * @return InsertOptions
2898
-     */
2899
-    public function timeout(int $arg): InsertOptions {}
2900
-
2901
-    /**
2902
-     * Sets the expiry time for the document.
2903
-     *
2904
-     * @param int $arg the expiry time in ms
2905
-     * @return InsertOptions
2906
-     */
2907
-    public function expiry(int $arg): InsertOptions {}
2908
-
2909
-    /**
2910
-     * Sets the durability level to enforce when writing the document.
2911
-     *
2912
-     * @param int $arg the durability level to enforce
2913
-     * @return InsertOptions
2914
-     */
2915
-    public function durabilityLevel(int $arg): InsertOptions {}
2916
-
2917
-    /**
2918
-     * Associate custom transcoder with the request.
2919
-     *
2920
-     * @param callable $arg encoding function with signature (returns tuple of bytes, flags and datatype):
2921
-     *
2922
-     *   `function encoder($value): [string $bytes, int $flags, int $datatype]`
2923
-     */
2924
-    public function encoder(callable $arg): InsertOptions {}
2893
+	/**
2894
+	 * Sets the operation timeout in milliseconds.
2895
+	 *
2896
+	 * @param int $arg the operation timeout to apply
2897
+	 * @return InsertOptions
2898
+	 */
2899
+	public function timeout(int $arg): InsertOptions {}
2900
+
2901
+	/**
2902
+	 * Sets the expiry time for the document.
2903
+	 *
2904
+	 * @param int $arg the expiry time in ms
2905
+	 * @return InsertOptions
2906
+	 */
2907
+	public function expiry(int $arg): InsertOptions {}
2908
+
2909
+	/**
2910
+	 * Sets the durability level to enforce when writing the document.
2911
+	 *
2912
+	 * @param int $arg the durability level to enforce
2913
+	 * @return InsertOptions
2914
+	 */
2915
+	public function durabilityLevel(int $arg): InsertOptions {}
2916
+
2917
+	/**
2918
+	 * Associate custom transcoder with the request.
2919
+	 *
2920
+	 * @param callable $arg encoding function with signature (returns tuple of bytes, flags and datatype):
2921
+	 *
2922
+	 *   `function encoder($value): [string $bytes, int $flags, int $datatype]`
2923
+	 */
2924
+	public function encoder(callable $arg): InsertOptions {}
2925 2925
 }
2926 2926
 
2927 2927
 class UpsertOptions
2928 2928
 {
2929
-    /**
2930
-     * Sets the operation timeout in milliseconds.
2931
-     *
2932
-     * @param int $arg the operation timeout to apply
2933
-     * @return UpsertOptions
2934
-     */
2935
-    public function timeout(int $arg): UpsertOptions {}
2936
-
2937
-    /**
2938
-     * Sets the expiry time for the document.
2939
-     *
2940
-     * @param int|DateTimeInterface $arg the relative expiry time in seconds or DateTimeInterface object for absolute point in time
2941
-     * @return UpsertOptions
2942
-     */
2943
-    public function expiry(mixed $arg): UpsertOptions {}
2944
-
2945
-    /**
2946
-     * Sets the durability level to enforce when writing the document.
2947
-     *
2948
-     * @param int $arg the durability level to enforce
2949
-     * @return UpsertOptions
2950
-     */
2951
-    public function durabilityLevel(int $arg): UpsertOptions {}
2952
-
2953
-    /**
2954
-     * Associate custom transcoder with the request.
2955
-     *
2956
-     * @param callable $arg encoding function with signature (returns tuple of bytes, flags and datatype):
2957
-     *
2958
-     *   `function encoder($value): [string $bytes, int $flags, int $datatype]`
2959
-     */
2960
-    public function encoder(callable $arg): UpsertOptions {}
2929
+	/**
2930
+	 * Sets the operation timeout in milliseconds.
2931
+	 *
2932
+	 * @param int $arg the operation timeout to apply
2933
+	 * @return UpsertOptions
2934
+	 */
2935
+	public function timeout(int $arg): UpsertOptions {}
2936
+
2937
+	/**
2938
+	 * Sets the expiry time for the document.
2939
+	 *
2940
+	 * @param int|DateTimeInterface $arg the relative expiry time in seconds or DateTimeInterface object for absolute point in time
2941
+	 * @return UpsertOptions
2942
+	 */
2943
+	public function expiry(mixed $arg): UpsertOptions {}
2944
+
2945
+	/**
2946
+	 * Sets the durability level to enforce when writing the document.
2947
+	 *
2948
+	 * @param int $arg the durability level to enforce
2949
+	 * @return UpsertOptions
2950
+	 */
2951
+	public function durabilityLevel(int $arg): UpsertOptions {}
2952
+
2953
+	/**
2954
+	 * Associate custom transcoder with the request.
2955
+	 *
2956
+	 * @param callable $arg encoding function with signature (returns tuple of bytes, flags and datatype):
2957
+	 *
2958
+	 *   `function encoder($value): [string $bytes, int $flags, int $datatype]`
2959
+	 */
2960
+	public function encoder(callable $arg): UpsertOptions {}
2961 2961
 }
2962 2962
 
2963 2963
 class ReplaceOptions
2964 2964
 {
2965
-    /**
2966
-     * Sets the operation timeout in milliseconds.
2967
-     *
2968
-     * @param int $arg the operation timeout to apply
2969
-     * @return ReplaceOptions
2970
-     */
2971
-    public function timeout(int $arg): ReplaceOptions {}
2972
-
2973
-    /**
2974
-     * Sets the expiry time for the document.
2975
-     *
2976
-     * @param int|DateTimeInterface $arg the relative expiry time in seconds or DateTimeInterface object for absolute point in time
2977
-     * @return ReplaceOptions
2978
-     */
2979
-    public function expiry(mixed $arg): ReplaceOptions {}
2980
-
2981
-    /**
2982
-     * Sets the cas value for the operation.
2983
-     *
2984
-     * @param string $arg the cas value
2985
-     * @return ReplaceOptions
2986
-     */
2987
-    public function cas(string $arg): ReplaceOptions {}
2988
-
2989
-    /**
2990
-     * Sets the durability level to enforce when writing the document.
2991
-     *
2992
-     * @param int $arg the durability level to enforce
2993
-     * @return ReplaceOptions
2994
-     */
2995
-    public function durabilityLevel(int $arg): ReplaceOptions {}
2996
-
2997
-    /**
2998
-     * Associate custom transcoder with the request.
2999
-     *
3000
-     * @param callable $arg encoding function with signature (returns tuple of bytes, flags and datatype):
3001
-     *
3002
-     *   `function encoder($value): [string $bytes, int $flags, int $datatype]`
3003
-     */
3004
-    public function encoder(callable $arg): ReplaceOptions {}
2965
+	/**
2966
+	 * Sets the operation timeout in milliseconds.
2967
+	 *
2968
+	 * @param int $arg the operation timeout to apply
2969
+	 * @return ReplaceOptions
2970
+	 */
2971
+	public function timeout(int $arg): ReplaceOptions {}
2972
+
2973
+	/**
2974
+	 * Sets the expiry time for the document.
2975
+	 *
2976
+	 * @param int|DateTimeInterface $arg the relative expiry time in seconds or DateTimeInterface object for absolute point in time
2977
+	 * @return ReplaceOptions
2978
+	 */
2979
+	public function expiry(mixed $arg): ReplaceOptions {}
2980
+
2981
+	/**
2982
+	 * Sets the cas value for the operation.
2983
+	 *
2984
+	 * @param string $arg the cas value
2985
+	 * @return ReplaceOptions
2986
+	 */
2987
+	public function cas(string $arg): ReplaceOptions {}
2988
+
2989
+	/**
2990
+	 * Sets the durability level to enforce when writing the document.
2991
+	 *
2992
+	 * @param int $arg the durability level to enforce
2993
+	 * @return ReplaceOptions
2994
+	 */
2995
+	public function durabilityLevel(int $arg): ReplaceOptions {}
2996
+
2997
+	/**
2998
+	 * Associate custom transcoder with the request.
2999
+	 *
3000
+	 * @param callable $arg encoding function with signature (returns tuple of bytes, flags and datatype):
3001
+	 *
3002
+	 *   `function encoder($value): [string $bytes, int $flags, int $datatype]`
3003
+	 */
3004
+	public function encoder(callable $arg): ReplaceOptions {}
3005 3005
 }
3006 3006
 
3007 3007
 class AppendOptions
3008 3008
 {
3009
-    /**
3010
-     * Sets the operation timeout in milliseconds.
3011
-     *
3012
-     * @param int $arg the operation timeout to apply
3013
-     * @return AppendOptions
3014
-     */
3015
-    public function timeout(int $arg): AppendOptions {}
3009
+	/**
3010
+	 * Sets the operation timeout in milliseconds.
3011
+	 *
3012
+	 * @param int $arg the operation timeout to apply
3013
+	 * @return AppendOptions
3014
+	 */
3015
+	public function timeout(int $arg): AppendOptions {}
3016 3016
 
3017
-    /**
3018
-     * Sets the durability level to enforce when writing the document.
3019
-     *
3020
-     * @param int $arg the durability level to enforce
3021
-     * @return AppendOptions
3022
-     */
3023
-    public function durabilityLevel(int $arg): AppendOptions {}
3017
+	/**
3018
+	 * Sets the durability level to enforce when writing the document.
3019
+	 *
3020
+	 * @param int $arg the durability level to enforce
3021
+	 * @return AppendOptions
3022
+	 */
3023
+	public function durabilityLevel(int $arg): AppendOptions {}
3024 3024
 }
3025 3025
 
3026 3026
 class PrependOptions
3027 3027
 {
3028
-    /**
3029
-     * Sets the operation timeout in milliseconds.
3030
-     *
3031
-     * @param int $arg the operation timeout to apply
3032
-     * @return PrependOptions
3033
-     */
3034
-    public function timeout(int $arg): PrependOptions {}
3028
+	/**
3029
+	 * Sets the operation timeout in milliseconds.
3030
+	 *
3031
+	 * @param int $arg the operation timeout to apply
3032
+	 * @return PrependOptions
3033
+	 */
3034
+	public function timeout(int $arg): PrependOptions {}
3035 3035
 
3036
-    /**
3037
-     * Sets the durability level to enforce when writing the document.
3038
-     *
3039
-     * @param int $arg the durability level to enforce
3040
-     * @return PrependOptions
3041
-     */
3042
-    public function durabilityLevel(int $arg): PrependOptions {}
3036
+	/**
3037
+	 * Sets the durability level to enforce when writing the document.
3038
+	 *
3039
+	 * @param int $arg the durability level to enforce
3040
+	 * @return PrependOptions
3041
+	 */
3042
+	public function durabilityLevel(int $arg): PrependOptions {}
3043 3043
 }
3044 3044
 
3045 3045
 /**
@@ -3048,222 +3048,222 @@  discard block
 block discarded – undo
3048 3048
  */
3049 3049
 interface DurabilityLevel
3050 3050
 {
3051
-    /**
3052
-     * Apply no durability level.
3053
-     */
3054
-    public const NONE = 0;
3051
+	/**
3052
+	 * Apply no durability level.
3053
+	 */
3054
+	public const NONE = 0;
3055 3055
 
3056
-    /**
3057
-     * Apply a durability level where the document must be written to memory
3058
-     * on a majority of nodes in the cluster.
3059
-     */
3060
-    public const MAJORITY = 1;
3056
+	/**
3057
+	 * Apply a durability level where the document must be written to memory
3058
+	 * on a majority of nodes in the cluster.
3059
+	 */
3060
+	public const MAJORITY = 1;
3061 3061
 
3062
-    /**
3063
-     * Apply a durability level where the document must be written to memory
3064
-     * on a majority of nodes in the cluster and written to disk on the
3065
-     * active node.
3066
-     */
3067
-    public const MAJORITY_AND_PERSIST_TO_ACTIVE = 2;
3062
+	/**
3063
+	 * Apply a durability level where the document must be written to memory
3064
+	 * on a majority of nodes in the cluster and written to disk on the
3065
+	 * active node.
3066
+	 */
3067
+	public const MAJORITY_AND_PERSIST_TO_ACTIVE = 2;
3068 3068
 
3069
-    /**
3070
-     * Apply a durability level where the document must be written to disk
3071
-     * on a majority of nodes in the cluster.
3072
-     */
3073
-    public const PERSIST_TO_MAJORITY = 3;
3069
+	/**
3070
+	 * Apply a durability level where the document must be written to disk
3071
+	 * on a majority of nodes in the cluster.
3072
+	 */
3073
+	public const PERSIST_TO_MAJORITY = 3;
3074 3074
 }
3075 3075
 
3076 3076
 class TouchOptions
3077 3077
 {
3078
-    /**
3079
-     * Sets the operation timeout in milliseconds.
3080
-     *
3081
-     * @param int $arg the operation timeout to apply
3082
-     * @return TouchOptions
3083
-     */
3084
-    public function timeout(int $arg): TouchOptions {}
3078
+	/**
3079
+	 * Sets the operation timeout in milliseconds.
3080
+	 *
3081
+	 * @param int $arg the operation timeout to apply
3082
+	 * @return TouchOptions
3083
+	 */
3084
+	public function timeout(int $arg): TouchOptions {}
3085 3085
 }
3086 3086
 
3087 3087
 class IncrementOptions
3088 3088
 {
3089
-    /**
3090
-     * Sets the operation timeout in milliseconds.
3091
-     *
3092
-     * @param int $arg the operation timeout to apply
3093
-     * @return IncrementOptions
3094
-     */
3095
-    public function timeout(int $arg): IncrementOptions {}
3096
-
3097
-    /**
3098
-     * Sets the expiry time for the document.
3099
-     *
3100
-     * @param int|DateTimeInterface $arg the relative expiry time in seconds or DateTimeInterface object for absolute point in time
3101
-     * @return IncrementOptions
3102
-     */
3103
-    public function expiry(mixed $arg): IncrementOptions {}
3104
-
3105
-    /**
3106
-     * Sets the durability level to enforce when writing the document.
3107
-     *
3108
-     * @param int $arg the durability level to enforce
3109
-     * @return IncrementOptions
3110
-     */
3111
-    public function durabilityLevel(int $arg): IncrementOptions {}
3112
-
3113
-    /**
3114
-     * Sets the value to increment the counter by.
3115
-     *
3116
-     * @param int $arg the value to increment by
3117
-     * @return IncrementOptions
3118
-     */
3119
-    public function delta(int $arg): IncrementOptions {}
3120
-
3121
-    /**
3122
-     * Sets the value to initialize the counter to if the document does
3123
-     * not exist.
3124
-     *
3125
-     * @param int $arg the initial value to use if counter does not exist
3126
-     * @return IncrementOptions
3127
-     */
3128
-    public function initial(int $arg): IncrementOptions {}
3089
+	/**
3090
+	 * Sets the operation timeout in milliseconds.
3091
+	 *
3092
+	 * @param int $arg the operation timeout to apply
3093
+	 * @return IncrementOptions
3094
+	 */
3095
+	public function timeout(int $arg): IncrementOptions {}
3096
+
3097
+	/**
3098
+	 * Sets the expiry time for the document.
3099
+	 *
3100
+	 * @param int|DateTimeInterface $arg the relative expiry time in seconds or DateTimeInterface object for absolute point in time
3101
+	 * @return IncrementOptions
3102
+	 */
3103
+	public function expiry(mixed $arg): IncrementOptions {}
3104
+
3105
+	/**
3106
+	 * Sets the durability level to enforce when writing the document.
3107
+	 *
3108
+	 * @param int $arg the durability level to enforce
3109
+	 * @return IncrementOptions
3110
+	 */
3111
+	public function durabilityLevel(int $arg): IncrementOptions {}
3112
+
3113
+	/**
3114
+	 * Sets the value to increment the counter by.
3115
+	 *
3116
+	 * @param int $arg the value to increment by
3117
+	 * @return IncrementOptions
3118
+	 */
3119
+	public function delta(int $arg): IncrementOptions {}
3120
+
3121
+	/**
3122
+	 * Sets the value to initialize the counter to if the document does
3123
+	 * not exist.
3124
+	 *
3125
+	 * @param int $arg the initial value to use if counter does not exist
3126
+	 * @return IncrementOptions
3127
+	 */
3128
+	public function initial(int $arg): IncrementOptions {}
3129 3129
 }
3130 3130
 
3131 3131
 class DecrementOptions
3132 3132
 {
3133
-    /**
3134
-     * Sets the operation timeout in milliseconds.
3135
-     *
3136
-     * @param int $arg the operation timeout to apply
3137
-     * @return DecrementOptions
3138
-     */
3139
-    public function timeout(int $arg): DecrementOptions {}
3140
-
3141
-    /**
3142
-     * Sets the expiry time for the document.
3143
-     *
3144
-     * @param int|DateTimeInterface $arg the relative expiry time in seconds or DateTimeInterface object for absolute point in time
3145
-     * @return DecrementOptions
3146
-     */
3147
-    public function expiry(mixed $arg): DecrementOptions {}
3148
-
3149
-    /**
3150
-     * Sets the durability level to enforce when writing the document.
3151
-     *
3152
-     * @param int $arg the durability level to enforce
3153
-     * @return DecrementOptions
3154
-     */
3155
-    public function durabilityLevel(int $arg): DecrementOptions {}
3156
-
3157
-    /**
3158
-     * Sets the value to decrement the counter by.
3159
-     *
3160
-     * @param int $arg the value to decrement by
3161
-     * @return DecrementOptions
3162
-     */
3163
-    public function delta(int $arg): DecrementOptions {}
3164
-
3165
-    /**
3166
-     * Sets the value to initialize the counter to if the document does
3167
-     * not exist.
3168
-     *
3169
-     * @param int $arg the initial value to use if counter does not exist
3170
-     * @return DecrementOptions
3171
-     */
3172
-    public function initial(int $arg): DecrementOptions {}
3133
+	/**
3134
+	 * Sets the operation timeout in milliseconds.
3135
+	 *
3136
+	 * @param int $arg the operation timeout to apply
3137
+	 * @return DecrementOptions
3138
+	 */
3139
+	public function timeout(int $arg): DecrementOptions {}
3140
+
3141
+	/**
3142
+	 * Sets the expiry time for the document.
3143
+	 *
3144
+	 * @param int|DateTimeInterface $arg the relative expiry time in seconds or DateTimeInterface object for absolute point in time
3145
+	 * @return DecrementOptions
3146
+	 */
3147
+	public function expiry(mixed $arg): DecrementOptions {}
3148
+
3149
+	/**
3150
+	 * Sets the durability level to enforce when writing the document.
3151
+	 *
3152
+	 * @param int $arg the durability level to enforce
3153
+	 * @return DecrementOptions
3154
+	 */
3155
+	public function durabilityLevel(int $arg): DecrementOptions {}
3156
+
3157
+	/**
3158
+	 * Sets the value to decrement the counter by.
3159
+	 *
3160
+	 * @param int $arg the value to decrement by
3161
+	 * @return DecrementOptions
3162
+	 */
3163
+	public function delta(int $arg): DecrementOptions {}
3164
+
3165
+	/**
3166
+	 * Sets the value to initialize the counter to if the document does
3167
+	 * not exist.
3168
+	 *
3169
+	 * @param int $arg the initial value to use if counter does not exist
3170
+	 * @return DecrementOptions
3171
+	 */
3172
+	public function initial(int $arg): DecrementOptions {}
3173 3173
 }
3174 3174
 
3175 3175
 class RemoveOptions
3176 3176
 {
3177
-    /**
3178
-     * Sets the operation timeout in milliseconds.
3179
-     *
3180
-     * @param int $arg the operation timeout to apply
3181
-     * @return RemoveOptions
3182
-     */
3183
-    public function timeout(int $arg): RemoveOptions {}
3184
-
3185
-    /**
3186
-     * Sets the durability level to enforce when writing the document.
3187
-     *
3188
-     * @param int $arg the durability level to enforce
3189
-     * @return RemoveOptions
3190
-     */
3191
-    public function durabilityLevel(int $arg): RemoveOptions {}
3192
-
3193
-    /**
3194
-     * Sets the cas value to use when performing this operation.
3195
-     *
3196
-     * @param string $arg the cas value to use
3197
-     * @return RemoveOptions
3198
-     */
3199
-    public function cas(string $arg): RemoveOptions {}
3177
+	/**
3178
+	 * Sets the operation timeout in milliseconds.
3179
+	 *
3180
+	 * @param int $arg the operation timeout to apply
3181
+	 * @return RemoveOptions
3182
+	 */
3183
+	public function timeout(int $arg): RemoveOptions {}
3184
+
3185
+	/**
3186
+	 * Sets the durability level to enforce when writing the document.
3187
+	 *
3188
+	 * @param int $arg the durability level to enforce
3189
+	 * @return RemoveOptions
3190
+	 */
3191
+	public function durabilityLevel(int $arg): RemoveOptions {}
3192
+
3193
+	/**
3194
+	 * Sets the cas value to use when performing this operation.
3195
+	 *
3196
+	 * @param string $arg the cas value to use
3197
+	 * @return RemoveOptions
3198
+	 */
3199
+	public function cas(string $arg): RemoveOptions {}
3200 3200
 }
3201 3201
 
3202 3202
 class LookupInOptions
3203 3203
 {
3204
-    /**
3205
-     * Sets the operation timeout in milliseconds.
3206
-     *
3207
-     * @param int $arg the operation timeout to apply
3208
-     * @return LookupInOptions
3209
-     */
3210
-    public function timeout(int $arg): LookupInOptions {}
3211
-
3212
-    /**
3213
-     * Sets whether to include document expiry with the document content.
3214
-     *
3215
-     * When used this option will add one extra subdocument path into
3216
-     * the LookupIn operation. This can cause the set of subdocument paths
3217
-     * to exceed the maximum number (16) of paths allowed in a subdocument
3218
-     * operation.
3219
-     *
3220
-     * @param bool $arg whether or not to include document expiry
3221
-     * @return LookupInOptions
3222
-     */
3223
-    public function withExpiry(bool $arg): LookupInOptions {}
3204
+	/**
3205
+	 * Sets the operation timeout in milliseconds.
3206
+	 *
3207
+	 * @param int $arg the operation timeout to apply
3208
+	 * @return LookupInOptions
3209
+	 */
3210
+	public function timeout(int $arg): LookupInOptions {}
3211
+
3212
+	/**
3213
+	 * Sets whether to include document expiry with the document content.
3214
+	 *
3215
+	 * When used this option will add one extra subdocument path into
3216
+	 * the LookupIn operation. This can cause the set of subdocument paths
3217
+	 * to exceed the maximum number (16) of paths allowed in a subdocument
3218
+	 * operation.
3219
+	 *
3220
+	 * @param bool $arg whether or not to include document expiry
3221
+	 * @return LookupInOptions
3222
+	 */
3223
+	public function withExpiry(bool $arg): LookupInOptions {}
3224 3224
 }
3225 3225
 
3226 3226
 class MutateInOptions
3227 3227
 {
3228
-    /**
3229
-     * Sets the operation timeout in milliseconds.
3230
-     *
3231
-     * @param int $arg the operation timeout to apply
3232
-     * @return MutateInOptions
3233
-     */
3234
-    public function timeout(int $arg): MutateInOptions {}
3235
-
3236
-    /**
3237
-     * Sets the cas value to use when performing this operation.
3238
-     *
3239
-     * @param string $arg the cas value to use
3240
-     * @return MutateInOptions
3241
-     */
3242
-    public function cas(string $arg): MutateInOptions {}
3243
-
3244
-    /**
3245
-     * Sets the expiry time for the document.
3246
-     *
3247
-     * @param int|DateTimeInterface $arg the relative expiry time in seconds or DateTimeInterface object for absolute point in time
3248
-     * @return MutateInOptions
3249
-     */
3250
-    public function expiry(mixed $arg): MutateInOptions {}
3251
-
3252
-    /**
3253
-     * Sets the durability level to enforce when writing the document.
3254
-     *
3255
-     * @param int $arg the durability level to enforce
3256
-     * @return MutateInOptions
3257
-     */
3258
-    public function durabilityLevel(int $arg): MutateInOptions {}
3259
-
3260
-    /**
3261
-     * Sets the document level action to use when performing the operation.
3262
-     *
3263
-     * @param int $arg the store semantic to use
3264
-     * @return MutateInOptions
3265
-     */
3266
-    public function storeSemantics(int $arg): MutateInOptions {}
3228
+	/**
3229
+	 * Sets the operation timeout in milliseconds.
3230
+	 *
3231
+	 * @param int $arg the operation timeout to apply
3232
+	 * @return MutateInOptions
3233
+	 */
3234
+	public function timeout(int $arg): MutateInOptions {}
3235
+
3236
+	/**
3237
+	 * Sets the cas value to use when performing this operation.
3238
+	 *
3239
+	 * @param string $arg the cas value to use
3240
+	 * @return MutateInOptions
3241
+	 */
3242
+	public function cas(string $arg): MutateInOptions {}
3243
+
3244
+	/**
3245
+	 * Sets the expiry time for the document.
3246
+	 *
3247
+	 * @param int|DateTimeInterface $arg the relative expiry time in seconds or DateTimeInterface object for absolute point in time
3248
+	 * @return MutateInOptions
3249
+	 */
3250
+	public function expiry(mixed $arg): MutateInOptions {}
3251
+
3252
+	/**
3253
+	 * Sets the durability level to enforce when writing the document.
3254
+	 *
3255
+	 * @param int $arg the durability level to enforce
3256
+	 * @return MutateInOptions
3257
+	 */
3258
+	public function durabilityLevel(int $arg): MutateInOptions {}
3259
+
3260
+	/**
3261
+	 * Sets the document level action to use when performing the operation.
3262
+	 *
3263
+	 * @param int $arg the store semantic to use
3264
+	 * @return MutateInOptions
3265
+	 */
3266
+	public function storeSemantics(int $arg): MutateInOptions {}
3267 3267
 }
3268 3268
 
3269 3269
 /**
@@ -3272,214 +3272,214 @@  discard block
 block discarded – undo
3272 3272
  */
3273 3273
 interface StoreSemantics
3274 3274
 {
3275
-    /**
3276
-     * Replace the document, and fail if it does not exist.
3277
-     */
3278
-    public const REPLACE = 0;
3275
+	/**
3276
+	 * Replace the document, and fail if it does not exist.
3277
+	 */
3278
+	public const REPLACE = 0;
3279 3279
 
3280
-    /**
3281
-     * Replace the document or create it if it does not exist.
3282
-     */
3283
-    public const UPSERT = 1;
3280
+	/**
3281
+	 * Replace the document or create it if it does not exist.
3282
+	 */
3283
+	public const UPSERT = 1;
3284 3284
 
3285
-    /**
3286
-     * Create the document or fail if it already exists.
3287
-     */
3288
-    public const INSERT = 2;
3285
+	/**
3286
+	 * Create the document or fail if it already exists.
3287
+	 */
3288
+	public const INSERT = 2;
3289 3289
 }
3290 3290
 
3291 3291
 class ViewOptions
3292 3292
 {
3293
-    public function timeout(int $arg): ViewOptions {}
3293
+	public function timeout(int $arg): ViewOptions {}
3294 3294
 
3295
-    public function includeDocuments(bool $arg, int $maxConcurrentDocuments = 10): ViewOptions {}
3295
+	public function includeDocuments(bool $arg, int $maxConcurrentDocuments = 10): ViewOptions {}
3296 3296
 
3297
-    public function key($arg): ViewOptions {}
3297
+	public function key($arg): ViewOptions {}
3298 3298
 
3299
-    public function keys(array $args): ViewOptions {}
3299
+	public function keys(array $args): ViewOptions {}
3300 3300
 
3301
-    public function limit(int $arg): ViewOptions {}
3301
+	public function limit(int $arg): ViewOptions {}
3302 3302
 
3303
-    public function skip(int $arg): ViewOptions {}
3303
+	public function skip(int $arg): ViewOptions {}
3304 3304
 
3305
-    public function scanConsistency(int $arg): ViewOptions {}
3305
+	public function scanConsistency(int $arg): ViewOptions {}
3306 3306
 
3307
-    public function order(int $arg): ViewOptions {}
3307
+	public function order(int $arg): ViewOptions {}
3308 3308
 
3309
-    public function reduce(bool $arg): ViewOptions {}
3309
+	public function reduce(bool $arg): ViewOptions {}
3310 3310
 
3311
-    public function group(bool $arg): ViewOptions {}
3311
+	public function group(bool $arg): ViewOptions {}
3312 3312
 
3313
-    public function groupLevel(int $arg): ViewOptions {}
3313
+	public function groupLevel(int $arg): ViewOptions {}
3314 3314
 
3315
-    public function range($start, $end, $inclusiveEnd = false): ViewOptions {}
3315
+	public function range($start, $end, $inclusiveEnd = false): ViewOptions {}
3316 3316
 
3317
-    public function idRange($start, $end, $inclusiveEnd = false): ViewOptions {}
3317
+	public function idRange($start, $end, $inclusiveEnd = false): ViewOptions {}
3318 3318
 
3319
-    public function raw(string $key, $value): ViewOptions {}
3319
+	public function raw(string $key, $value): ViewOptions {}
3320 3320
 }
3321 3321
 
3322 3322
 interface ViewConsistency
3323 3323
 {
3324
-    public const NOT_BOUNDED = 0;
3325
-    public const REQUEST_PLUS = 1;
3326
-    public const UPDATE_AFTER = 2;
3324
+	public const NOT_BOUNDED = 0;
3325
+	public const REQUEST_PLUS = 1;
3326
+	public const UPDATE_AFTER = 2;
3327 3327
 }
3328 3328
 
3329 3329
 interface ViewOrdering
3330 3330
 {
3331
-    public const ASCENDING = 0;
3332
-    public const DESCENDING = 1;
3331
+	public const ASCENDING = 0;
3332
+	public const DESCENDING = 1;
3333 3333
 }
3334 3334
 
3335 3335
 class QueryOptions
3336 3336
 {
3337
-    /**
3338
-     * Sets the operation timeout in milliseconds.
3339
-     *
3340
-     * @param int $arg the operation timeout to apply
3341
-     * @return QueryOptions
3342
-     */
3343
-    public function timeout(int $arg): QueryOptions {}
3344
-
3345
-    /**
3346
-     * Sets the mutation state to achieve consistency with for read your own writes (RYOW).
3347
-     *
3348
-     * @param MutationState $arg the mutation state to achieve consistency with
3349
-     * @return QueryOptions
3350
-     */
3351
-    public function consistentWith(MutationState $arg): QueryOptions {}
3352
-
3353
-    /**
3354
-     * Sets the scan consistency.
3355
-     *
3356
-     * @param int $arg the scan consistency level
3357
-     * @return QueryOptions
3358
-     */
3359
-    public function scanConsistency(int $arg): QueryOptions {}
3360
-
3361
-    /**
3362
-     * Sets the maximum buffered channel size between the indexer client and the query service for index scans.
3363
-     *
3364
-     * @param int $arg the maximum buffered channel size
3365
-     * @return QueryOptions
3366
-     */
3367
-    public function scanCap(int $arg): QueryOptions {}
3368
-
3369
-    /**
3370
-     * Sets the maximum number of items each execution operator can buffer between various operators.
3371
-     *
3372
-     * @param int $arg the maximum number of items each execution operation can buffer
3373
-     * @return QueryOptions
3374
-     */
3375
-    public function pipelineCap(int $arg): QueryOptions {}
3376
-
3377
-    /**
3378
-     * Sets the number of items execution operators can batch for fetch from the KV service.
3379
-     *
3380
-     * @param int $arg the pipeline batch size
3381
-     * @return QueryOptions
3382
-     */
3383
-    public function pipelineBatch(int $arg): QueryOptions {}
3384
-
3385
-    /**
3386
-     * Sets the maximum number of index partitions, for computing aggregation in parallel.
3387
-     *
3388
-     * @param int $arg the number of index partitions
3389
-     * @return QueryOptions
3390
-     */
3391
-    public function maxParallelism(int $arg): QueryOptions {}
3392
-
3393
-    /**
3394
-     * Sets the query profile mode to use.
3395
-     *
3396
-     * @param int $arg the query profile mode
3397
-     * @return QueryOptions
3398
-     */
3399
-    public function profile(int $arg): QueryOptions {}
3400
-
3401
-    /**
3402
-     * Sets whether or not this query is readonly.
3403
-     *
3404
-     * @param bool $arg whether the query is readonly
3405
-     * @return QueryOptions
3406
-     */
3407
-    public function readonly(bool $arg): QueryOptions {}
3408
-
3409
-    /**
3410
-     * Sets whether or not this query allowed to use FlexIndex (full text search integration).
3411
-     *
3412
-     * @param bool $arg whether the FlexIndex allowed
3413
-     * @return QueryOptions
3414
-     */
3415
-    public function flexIndex(bool $arg): QueryOptions {}
3416
-
3417
-    /**
3418
-     * Sets whether or not this query is adhoc.
3419
-     *
3420
-     * @param bool $arg whether the query is adhoc
3421
-     * @return QueryOptions
3422
-     */
3423
-    public function adhoc(bool $arg): QueryOptions {}
3424
-
3425
-    /**
3426
-     * Sets the named parameters for this query.
3427
-     *
3428
-     * @param array $pairs the associative array of parameters
3429
-     * @return QueryOptions
3430
-     */
3431
-    public function namedParameters(array $pairs): QueryOptions {}
3432
-
3433
-    /**
3434
-     * Sets the positional parameters for this query.
3435
-     *
3436
-     * @param array $args the array of parameters
3437
-     * @return QueryOptions
3438
-     */
3439
-    public function positionalParameters(array $args): QueryOptions {}
3440
-
3441
-    /**
3442
-     * Sets any extra query parameters that the SDK does not provide an option for.
3443
-     *
3444
-     * @param string $key the name of the parameter
3445
-     * @param string $value the value of the parameter
3446
-     * @return QueryOptions
3447
-     */
3448
-    public function raw(string $key, $value): QueryOptions {}
3449
-
3450
-    /**
3451
-     * Sets the client context id for this query.
3452
-     *
3453
-     * @param string $arg the client context id
3454
-     * @return QueryOptions
3455
-     */
3456
-    public function clientContextId(string $arg): QueryOptions {}
3457
-
3458
-    /**
3459
-     * Sets whether or not to return metrics with the query.
3460
-     *
3461
-     * @param bool $arg whether to return metrics
3462
-     * @return QueryOptions
3463
-     */
3464
-    public function metrics(bool $arg): QueryOptions {}
3465
-
3466
-    /**
3467
-     * Associate scope name with query
3468
-     *
3469
-     * @param string $arg the name of the scope
3470
-     * @return QueryOptions
3471
-     */
3472
-    public function scopeName(string $arg): QueryOptions {}
3473
-
3474
-    /**
3475
-     * Associate scope qualifier (also known as `query_context`) with the query.
3476
-     *
3477
-     * The qualifier must be in form `${bucketName}.${scopeName}` or `default:${bucketName}.${scopeName}`
3478
-     *
3479
-     * @param string $arg the scope qualifier
3480
-     * @return QueryOptions
3481
-     */
3482
-    public function scopeQualifier(string $arg): QueryOptions {}
3337
+	/**
3338
+	 * Sets the operation timeout in milliseconds.
3339
+	 *
3340
+	 * @param int $arg the operation timeout to apply
3341
+	 * @return QueryOptions
3342
+	 */
3343
+	public function timeout(int $arg): QueryOptions {}
3344
+
3345
+	/**
3346
+	 * Sets the mutation state to achieve consistency with for read your own writes (RYOW).
3347
+	 *
3348
+	 * @param MutationState $arg the mutation state to achieve consistency with
3349
+	 * @return QueryOptions
3350
+	 */
3351
+	public function consistentWith(MutationState $arg): QueryOptions {}
3352
+
3353
+	/**
3354
+	 * Sets the scan consistency.
3355
+	 *
3356
+	 * @param int $arg the scan consistency level
3357
+	 * @return QueryOptions
3358
+	 */
3359
+	public function scanConsistency(int $arg): QueryOptions {}
3360
+
3361
+	/**
3362
+	 * Sets the maximum buffered channel size between the indexer client and the query service for index scans.
3363
+	 *
3364
+	 * @param int $arg the maximum buffered channel size
3365
+	 * @return QueryOptions
3366
+	 */
3367
+	public function scanCap(int $arg): QueryOptions {}
3368
+
3369
+	/**
3370
+	 * Sets the maximum number of items each execution operator can buffer between various operators.
3371
+	 *
3372
+	 * @param int $arg the maximum number of items each execution operation can buffer
3373
+	 * @return QueryOptions
3374
+	 */
3375
+	public function pipelineCap(int $arg): QueryOptions {}
3376
+
3377
+	/**
3378
+	 * Sets the number of items execution operators can batch for fetch from the KV service.
3379
+	 *
3380
+	 * @param int $arg the pipeline batch size
3381
+	 * @return QueryOptions
3382
+	 */
3383
+	public function pipelineBatch(int $arg): QueryOptions {}
3384
+
3385
+	/**
3386
+	 * Sets the maximum number of index partitions, for computing aggregation in parallel.
3387
+	 *
3388
+	 * @param int $arg the number of index partitions
3389
+	 * @return QueryOptions
3390
+	 */
3391
+	public function maxParallelism(int $arg): QueryOptions {}
3392
+
3393
+	/**
3394
+	 * Sets the query profile mode to use.
3395
+	 *
3396
+	 * @param int $arg the query profile mode
3397
+	 * @return QueryOptions
3398
+	 */
3399
+	public function profile(int $arg): QueryOptions {}
3400
+
3401
+	/**
3402
+	 * Sets whether or not this query is readonly.
3403
+	 *
3404
+	 * @param bool $arg whether the query is readonly
3405
+	 * @return QueryOptions
3406
+	 */
3407
+	public function readonly(bool $arg): QueryOptions {}
3408
+
3409
+	/**
3410
+	 * Sets whether or not this query allowed to use FlexIndex (full text search integration).
3411
+	 *
3412
+	 * @param bool $arg whether the FlexIndex allowed
3413
+	 * @return QueryOptions
3414
+	 */
3415
+	public function flexIndex(bool $arg): QueryOptions {}
3416
+
3417
+	/**
3418
+	 * Sets whether or not this query is adhoc.
3419
+	 *
3420
+	 * @param bool $arg whether the query is adhoc
3421
+	 * @return QueryOptions
3422
+	 */
3423
+	public function adhoc(bool $arg): QueryOptions {}
3424
+
3425
+	/**
3426
+	 * Sets the named parameters for this query.
3427
+	 *
3428
+	 * @param array $pairs the associative array of parameters
3429
+	 * @return QueryOptions
3430
+	 */
3431
+	public function namedParameters(array $pairs): QueryOptions {}
3432
+
3433
+	/**
3434
+	 * Sets the positional parameters for this query.
3435
+	 *
3436
+	 * @param array $args the array of parameters
3437
+	 * @return QueryOptions
3438
+	 */
3439
+	public function positionalParameters(array $args): QueryOptions {}
3440
+
3441
+	/**
3442
+	 * Sets any extra query parameters that the SDK does not provide an option for.
3443
+	 *
3444
+	 * @param string $key the name of the parameter
3445
+	 * @param string $value the value of the parameter
3446
+	 * @return QueryOptions
3447
+	 */
3448
+	public function raw(string $key, $value): QueryOptions {}
3449
+
3450
+	/**
3451
+	 * Sets the client context id for this query.
3452
+	 *
3453
+	 * @param string $arg the client context id
3454
+	 * @return QueryOptions
3455
+	 */
3456
+	public function clientContextId(string $arg): QueryOptions {}
3457
+
3458
+	/**
3459
+	 * Sets whether or not to return metrics with the query.
3460
+	 *
3461
+	 * @param bool $arg whether to return metrics
3462
+	 * @return QueryOptions
3463
+	 */
3464
+	public function metrics(bool $arg): QueryOptions {}
3465
+
3466
+	/**
3467
+	 * Associate scope name with query
3468
+	 *
3469
+	 * @param string $arg the name of the scope
3470
+	 * @return QueryOptions
3471
+	 */
3472
+	public function scopeName(string $arg): QueryOptions {}
3473
+
3474
+	/**
3475
+	 * Associate scope qualifier (also known as `query_context`) with the query.
3476
+	 *
3477
+	 * The qualifier must be in form `${bucketName}.${scopeName}` or `default:${bucketName}.${scopeName}`
3478
+	 *
3479
+	 * @param string $arg the scope qualifier
3480
+	 * @return QueryOptions
3481
+	 */
3482
+	public function scopeQualifier(string $arg): QueryOptions {}
3483 3483
 }
3484 3484
 
3485 3485
 /**
@@ -3487,20 +3487,20 @@  discard block
 block discarded – undo
3487 3487
  */
3488 3488
 interface QueryScanConsistency
3489 3489
 {
3490
-    /**
3491
-     * Set scan consistency to not bounded
3492
-     */
3493
-    public const NOT_BOUNDED = 1;
3490
+	/**
3491
+	 * Set scan consistency to not bounded
3492
+	 */
3493
+	public const NOT_BOUNDED = 1;
3494 3494
 
3495
-    /**
3496
-     * Set scan consistency to not request plus
3497
-     */
3498
-    public const REQUEST_PLUS = 2;
3495
+	/**
3496
+	 * Set scan consistency to not request plus
3497
+	 */
3498
+	public const REQUEST_PLUS = 2;
3499 3499
 
3500
-    /**
3501
-     * Set scan consistency to statement plus
3502
-     */
3503
-    public const STATEMENT_PLUS = 3;
3500
+	/**
3501
+	 * Set scan consistency to statement plus
3502
+	 */
3503
+	public const STATEMENT_PLUS = 3;
3504 3504
 }
3505 3505
 
3506 3506
 /**
@@ -3508,25 +3508,25 @@  discard block
 block discarded – undo
3508 3508
  */
3509 3509
 interface QueryProfile
3510 3510
 {
3511
-    /**
3512
-     * Set profiling to off
3513
-     */
3514
-    public const OFF = 1;
3511
+	/**
3512
+	 * Set profiling to off
3513
+	 */
3514
+	public const OFF = 1;
3515 3515
 
3516
-    /**
3517
-     * Set profiling to include phase timings
3518
-     */
3519
-    public const PHASES = 2;
3516
+	/**
3517
+	 * Set profiling to include phase timings
3518
+	 */
3519
+	public const PHASES = 2;
3520 3520
 
3521
-    /**
3522
-     * Set profiling to include execution timings
3523
-     */
3524
-    public const TIMINGS = 3;
3521
+	/**
3522
+	 * Set profiling to include execution timings
3523
+	 */
3524
+	public const TIMINGS = 3;
3525 3525
 }
3526 3526
 
3527 3527
 class ClusterOptions
3528 3528
 {
3529
-    public function credentials(string $username, string $password): ClusterOptions {}
3529
+	public function credentials(string $username, string $password): ClusterOptions {}
3530 3530
 }
3531 3531
 
3532 3532
 /**
Please login to merge, or discard this patch.
Braces   +105 added lines, -210 removed lines patch added patch discarded remove patch
@@ -73,8 +73,7 @@  discard block
 block discarded – undo
73 73
 /**
74 74
  * An object which contains meta information of the document needed to enforce query consistency.
75 75
  */
76
-interface MutationToken
77
-{
76
+interface MutationToken {
78 77
     /**
79 78
      * Returns bucket name
80 79
      *
@@ -107,8 +106,7 @@  discard block
 block discarded – undo
107 106
 /**
108 107
  * Interface for retrieving metadata such as errors and metrics generated during N1QL queries.
109 108
  */
110
-interface QueryMetaData
111
-{
109
+interface QueryMetaData {
112 110
     /**
113 111
      * Returns the query execution status
114 112
      *
@@ -169,8 +167,7 @@  discard block
 block discarded – undo
169 167
 /**
170 168
  * Interface for retrieving metadata such as error counts and metrics generated during search queries.
171 169
  */
172
-interface SearchMetaData
173
-{
170
+interface SearchMetaData {
174 171
     /**
175 172
      * Returns the number of pindexes successfully queried
176 173
      *
@@ -217,8 +214,7 @@  discard block
 block discarded – undo
217 214
 /**
218 215
  * Interface for retrieving metadata generated during view queries.
219 216
  */
220
-interface ViewMetaData
221
-{
217
+interface ViewMetaData {
222 218
     /**
223 219
      * Returns the total number of rows returned by this view query
224 220
      *
@@ -237,8 +233,7 @@  discard block
 block discarded – undo
237 233
 /**
238 234
  * Base interface for all results generated by KV operations.
239 235
  */
240
-interface Result
241
-{
236
+interface Result {
242 237
     /**
243 238
      * Returns the CAS value for the document
244 239
      *
@@ -250,8 +245,7 @@  discard block
 block discarded – undo
250 245
 /**
251 246
  * Interface for results created by the get operation.
252 247
  */
253
-interface GetResult extends Result
254
-{
248
+interface GetResult extends Result {
255 249
     /**
256 250
      * Returns the content of the document fetched
257 251
      *
@@ -272,8 +266,7 @@  discard block
 block discarded – undo
272 266
 /**
273 267
  * Interface for results created by the getReplica operation.
274 268
  */
275
-interface GetReplicaResult extends Result
276
-{
269
+interface GetReplicaResult extends Result {
277 270
     /**
278 271
      * Returns the content of the document fetched
279 272
      *
@@ -292,8 +285,7 @@  discard block
 block discarded – undo
292 285
 /**
293 286
  * Interface for results created by the exists operation.
294 287
  */
295
-interface ExistsResult extends Result
296
-{
288
+interface ExistsResult extends Result {
297 289
     /**
298 290
      * Returns whether or not the document exists
299 291
      *
@@ -305,8 +297,7 @@  discard block
 block discarded – undo
305 297
 /**
306 298
  * Interface for results created by operations that perform mutations.
307 299
  */
308
-interface MutationResult extends Result
309
-{
300
+interface MutationResult extends Result {
310 301
     /**
311 302
      * Returns the mutation token generated during the mutation
312 303
      *
@@ -318,8 +309,7 @@  discard block
 block discarded – undo
318 309
 /**
319 310
  * Interface for results created by the counter operation.
320 311
  */
321
-interface CounterResult extends MutationResult
322
-{
312
+interface CounterResult extends MutationResult {
323 313
     /**
324 314
      * Returns the new value of the counter
325 315
      *
@@ -331,8 +321,7 @@  discard block
 block discarded – undo
331 321
 /**
332 322
  * Interface for results created by the lookupIn operation.
333 323
  */
334
-interface LookupInResult extends Result
335
-{
324
+interface LookupInResult extends Result {
336 325
     /**
337 326
      * Returns the value located at the index specified
338 327
      *
@@ -370,8 +359,7 @@  discard block
 block discarded – undo
370 359
 /**
371 360
  * Interface for results created by the mutateIn operation.
372 361
  */
373
-interface MutateInResult extends MutationResult
374
-{
362
+interface MutateInResult extends MutationResult {
375 363
     /**
376 364
      * Returns any value located at the index specified
377 365
      *
@@ -384,8 +372,7 @@  discard block
 block discarded – undo
384 372
 /**
385 373
  * Interface for retrieving results from N1QL queries.
386 374
  */
387
-interface QueryResult
388
-{
375
+interface QueryResult {
389 376
     /**
390 377
      * Returns metadata generated during query execution such as errors and metrics
391 378
      *
@@ -404,8 +391,7 @@  discard block
 block discarded – undo
404 391
 /**
405 392
  * Interface for retrieving results from analytics queries.
406 393
  */
407
-interface AnalyticsResult
408
-{
394
+interface AnalyticsResult {
409 395
     /**
410 396
      * Returns metadata generated during query execution
411 397
      *
@@ -425,8 +411,7 @@  discard block
 block discarded – undo
425 411
  * A range (or bucket) for a term search facet result.
426 412
  * Counts the number of occurrences of a given term.
427 413
  */
428
-interface TermFacetResult
429
-{
414
+interface TermFacetResult {
430 415
     /**
431 416
      * @return string
432 417
      */
@@ -442,8 +427,7 @@  discard block
 block discarded – undo
442 427
  * A range (or bucket) for a numeric range facet result. Counts the number of matches
443 428
  * that fall into the named range (which can overlap with other user-defined ranges).
444 429
  */
445
-interface NumericRangeFacetResult
446
-{
430
+interface NumericRangeFacetResult {
447 431
     /**
448 432
      * @return string
449 433
      */
@@ -469,8 +453,7 @@  discard block
 block discarded – undo
469 453
  * A range (or bucket) for a date range facet result. Counts the number of matches
470 454
  * that fall into the named range (which can overlap with other user-defined ranges).
471 455
  */
472
-interface DateRangeFacetResult
473
-{
456
+interface DateRangeFacetResult {
474 457
     /**
475 458
      * @return string
476 459
      */
@@ -497,8 +480,7 @@  discard block
 block discarded – undo
497 480
  *
498 481
  * Only one method might return non-null value among terms(), numericRanges() and dateRanges().
499 482
  */
500
-interface SearchFacetResult
501
-{
483
+interface SearchFacetResult {
502 484
     /**
503 485
      * The field the SearchFacet was targeting.
504 486
      *
@@ -549,8 +531,7 @@  discard block
 block discarded – undo
549 531
 /**
550 532
  * Interface for retrieving results from search queries.
551 533
  */
552
-interface SearchResult
553
-{
534
+interface SearchResult {
554 535
     /**
555 536
      * Returns metadata generated during query execution
556 537
      *
@@ -577,8 +558,7 @@  discard block
 block discarded – undo
577 558
 /**
578 559
  * Interface for retrieving results from view queries.
579 560
  */
580
-interface ViewResult
581
-{
561
+interface ViewResult {
582 562
     /**
583 563
      * Returns metadata generated during query execution
584 564
      *
@@ -597,8 +577,7 @@  discard block
 block discarded – undo
597 577
 /**
598 578
  * Object for accessing a row returned as a part of the results from a viery query.
599 579
  */
600
-class ViewRow
601
-{
580
+class ViewRow {
602 581
     /**
603 582
      * Returns the id of the row
604 583
      *
@@ -625,8 +604,7 @@  discard block
 block discarded – undo
625 604
 /**
626 605
  *  Base exception for exceptions that are thrown originating from Couchbase operations.
627 606
  */
628
-class BaseException extends Exception implements Throwable
629
-{
607
+class BaseException extends Exception implements Throwable {
630 608
     /**
631 609
      * Returns the underling reference string, if any
632 610
      *
@@ -806,8 +784,7 @@  discard block
 block discarded – undo
806 784
  */
807 785
 class SubdocumentException extends BaseException implements Throwable {}
808 786
 
809
-class QueryIndex
810
-{
787
+class QueryIndex {
811 788
     public function name(): string {}
812 789
 
813 790
     public function isPrimary(): bool {}
@@ -823,8 +800,7 @@  discard block
 block discarded – undo
823 800
     public function condition(): ?string {}
824 801
 }
825 802
 
826
-class CreateQueryIndexOptions
827
-{
803
+class CreateQueryIndexOptions {
828 804
     public function condition(string $condition): CreateQueryIndexOptions {}
829 805
 
830 806
     public function ignoreIfExists(bool $shouldIgnore): CreateQueryIndexOptions {}
@@ -834,8 +810,7 @@  discard block
 block discarded – undo
834 810
     public function deferred(bool $isDeferred): CreateQueryIndexOptions {}
835 811
 }
836 812
 
837
-class CreateQueryPrimaryIndexOptions
838
-{
813
+class CreateQueryPrimaryIndexOptions {
839 814
     public function indexName(string $name): CreateQueryPrimaryIndexOptions {}
840 815
 
841 816
     public function ignoreIfExists(bool $shouldIgnore): CreateQueryPrimaryIndexOptions {}
@@ -845,25 +820,21 @@  discard block
 block discarded – undo
845 820
     public function deferred(bool $isDeferred): CreateQueryPrimaryIndexOptions {}
846 821
 }
847 822
 
848
-class DropQueryIndexOptions
849
-{
823
+class DropQueryIndexOptions {
850 824
     public function ignoreIfNotExists(bool $shouldIgnore): DropQueryIndexOptions {}
851 825
 }
852 826
 
853
-class DropQueryPrimaryIndexOptions
854
-{
827
+class DropQueryPrimaryIndexOptions {
855 828
     public function indexName(string $name): DropQueryPrimaryIndexOptions {}
856 829
 
857 830
     public function ignoreIfNotExists(bool $shouldIgnore): DropQueryPrimaryIndexOptions {}
858 831
 }
859 832
 
860
-class WatchQueryIndexesOptions
861
-{
833
+class WatchQueryIndexesOptions {
862 834
     public function watchPrimary(bool $shouldWatch): WatchQueryIndexesOptions {}
863 835
 }
864 836
 
865
-class QueryIndexManager
866
-{
837
+class QueryIndexManager {
867 838
     public function getAllIndexes(string $bucketName): array {}
868 839
 
869 840
     public function createIndex(string $bucketName, string $indexName, array $fields, CreateQueryIndexOptions $options = null) {}
@@ -879,8 +850,7 @@  discard block
 block discarded – undo
879 850
     public function buildDeferredIndexes(string $bucketName) {}
880 851
 }
881 852
 
882
-class SearchIndex implements JsonSerializable
883
-{
853
+class SearchIndex implements JsonSerializable {
884 854
     public function jsonSerialize() {}
885 855
 
886 856
     public function type(): string {}
@@ -912,8 +882,7 @@  discard block
 block discarded – undo
912 882
     public function setSourceParams(string $params): SearchIndex {}
913 883
 }
914 884
 
915
-class SearchIndexManager
916
-{
885
+class SearchIndexManager {
917 886
     public function getIndex(string $name): SearchIndex {}
918 887
 
919 888
     public function getAllIndexes(): array {}
@@ -943,8 +912,7 @@  discard block
 block discarded – undo
943 912
  * Cluster is an object containing functionality for performing cluster level operations
944 913
  * against a cluster and for access to buckets.
945 914
  */
946
-class Cluster
947
-{
915
+class Cluster {
948 916
     public function __construct(string $connstr, ClusterOptions $options) {}
949 917
 
950 918
     /**
@@ -1015,8 +983,7 @@  discard block
 block discarded – undo
1015 983
     public function searchIndexes(): SearchIndexManager {}
1016 984
 }
1017 985
 
1018
-interface EvictionPolicy
1019
-{
986
+interface EvictionPolicy {
1020 987
     /**
1021 988
      * During ejection, everything (including key, metadata, and value) will be ejected.
1022 989
      *
@@ -1051,8 +1018,7 @@  discard block
 block discarded – undo
1051 1018
     public const NOT_RECENTLY_USED = "nruEviction";
1052 1019
 }
1053 1020
 
1054
-class BucketSettings
1055
-{
1021
+class BucketSettings {
1056 1022
     public function name(): string {}
1057 1023
 
1058 1024
     public function flushEnabled(): bool {}
@@ -1123,8 +1089,7 @@  discard block
 block discarded – undo
1123 1089
     public function setMinimalDurabilityLevel(int $durabilityLevel): BucketSettings {}
1124 1090
 }
1125 1091
 
1126
-class BucketManager
1127
-{
1092
+class BucketManager {
1128 1093
     public function createBucket(BucketSettings $settings) {}
1129 1094
 
1130 1095
     public function removeBucket(string $name) {}
@@ -1136,8 +1101,7 @@  discard block
 block discarded – undo
1136 1101
     public function flush(string $name) {}
1137 1102
 }
1138 1103
 
1139
-class Role
1140
-{
1104
+class Role {
1141 1105
     public function name(): string {}
1142 1106
 
1143 1107
     public function bucket(): ?string {}
@@ -1155,8 +1119,7 @@  discard block
 block discarded – undo
1155 1119
     public function setCollection(string $bucket): Role {}
1156 1120
 }
1157 1121
 
1158
-class RoleAndDescription
1159
-{
1122
+class RoleAndDescription {
1160 1123
     public function role(): Role {}
1161 1124
 
1162 1125
     public function displayName(): string {}
@@ -1164,22 +1127,19 @@  discard block
 block discarded – undo
1164 1127
     public function description(): string {}
1165 1128
 }
1166 1129
 
1167
-class Origin
1168
-{
1130
+class Origin {
1169 1131
     public function type(): string {}
1170 1132
 
1171 1133
     public function name(): string {}
1172 1134
 }
1173 1135
 
1174
-class RoleAndOrigin
1175
-{
1136
+class RoleAndOrigin {
1176 1137
     public function role(): Role {}
1177 1138
 
1178 1139
     public function origins(): array {}
1179 1140
 }
1180 1141
 
1181
-class User
1182
-{
1142
+class User {
1183 1143
     public function username(): string {}
1184 1144
 
1185 1145
     public function displayName(): string {}
@@ -1199,8 +1159,7 @@  discard block
 block discarded – undo
1199 1159
     public function setRoles(array $roles): User {}
1200 1160
 }
1201 1161
 
1202
-class Group
1203
-{
1162
+class Group {
1204 1163
     public function name(): string {}
1205 1164
 
1206 1165
     public function description(): string {}
@@ -1216,8 +1175,7 @@  discard block
 block discarded – undo
1216 1175
     public function setRoles(array $roles): Group {}
1217 1176
 }
1218 1177
 
1219
-class UserAndMetadata
1220
-{
1178
+class UserAndMetadata {
1221 1179
     public function domain(): string {}
1222 1180
 
1223 1181
     public function user(): User {}
@@ -1229,28 +1187,23 @@  discard block
 block discarded – undo
1229 1187
     public function externalGroups(): array {}
1230 1188
 }
1231 1189
 
1232
-class GetAllUsersOptions
1233
-{
1190
+class GetAllUsersOptions {
1234 1191
     public function domainName(string $name): GetAllUsersOptions {}
1235 1192
 }
1236 1193
 
1237
-class GetUserOptions
1238
-{
1194
+class GetUserOptions {
1239 1195
     public function domainName(string $name): GetUserOptions {}
1240 1196
 }
1241 1197
 
1242
-class DropUserOptions
1243
-{
1198
+class DropUserOptions {
1244 1199
     public function domainName(string $name): DropUserOptions {}
1245 1200
 }
1246 1201
 
1247
-class UpsertUserOptions
1248
-{
1202
+class UpsertUserOptions {
1249 1203
     public function domainName(string $name): DropUserOptions {}
1250 1204
 }
1251 1205
 
1252
-class UserManager
1253
-{
1206
+class UserManager {
1254 1207
     public function getUser(string $name, GetUserOptions $options = null): UserAndMetadata {}
1255 1208
 
1256 1209
     public function getAllUsers(GetAllUsersOptions $options = null): array {}
@@ -1273,8 +1226,7 @@  discard block
 block discarded – undo
1273 1226
 /**
1274 1227
  * BinaryCollection is an object containing functionality for performing KeyValue operations against the server with binary documents.
1275 1228
  */
1276
-class BinaryCollection
1277
-{
1229
+class BinaryCollection {
1278 1230
     /**
1279 1231
      * Get the name of the binary collection.
1280 1232
      *
@@ -1324,8 +1276,7 @@  discard block
 block discarded – undo
1324 1276
 /**
1325 1277
  * Collection is an object containing functionality for performing KeyValue operations against the server.
1326 1278
  */
1327
-class Collection
1328
-{
1279
+class Collection {
1329 1280
     /**
1330 1281
      * Get the name of the collection.
1331 1282
      *
@@ -1486,8 +1437,7 @@  discard block
 block discarded – undo
1486 1437
 /**
1487 1438
  * Scope is an object for providing access to collections.
1488 1439
  */
1489
-class Scope
1490
-{
1440
+class Scope {
1491 1441
     public function __construct(Bucket $bucket, string $name) {}
1492 1442
 
1493 1443
     /**
@@ -1515,15 +1465,13 @@  discard block
 block discarded – undo
1515 1465
     public function query(string $statement, QueryOptions $options = null): QueryResult {}
1516 1466
 }
1517 1467
 
1518
-class ScopeSpec
1519
-{
1468
+class ScopeSpec {
1520 1469
     public function name(): string {}
1521 1470
 
1522 1471
     public function collections(): array {}
1523 1472
 }
1524 1473
 
1525
-class CollectionSpec
1526
-{
1474
+class CollectionSpec {
1527 1475
     public function name(): string {}
1528 1476
 
1529 1477
     public function scopeName(): string {}
@@ -1535,8 +1483,7 @@  discard block
 block discarded – undo
1535 1483
     public function setMaxExpiry(int $ms): CollectionSpec {}
1536 1484
 }
1537 1485
 
1538
-class CollectionManager
1539
-{
1486
+class CollectionManager {
1540 1487
     public function getScope(string $name): ScopeSpec {}
1541 1488
 
1542 1489
     public function getAllScopes(): array {}
@@ -1554,8 +1501,7 @@  discard block
 block discarded – undo
1554 1501
  * Bucket is an object containing functionality for performing bucket level operations
1555 1502
  * against a cluster and for access to scopes and collections.
1556 1503
  */
1557
-class Bucket
1558
-{
1504
+class Bucket {
1559 1505
     /**
1560 1506
      * Returns a new Scope object representing the default scope.
1561 1507
      *
@@ -1635,8 +1581,7 @@  discard block
 block discarded – undo
1635 1581
     public function diagnostics($reportId): array {}
1636 1582
 }
1637 1583
 
1638
-class View
1639
-{
1584
+class View {
1640 1585
     public function name(): string {}
1641 1586
 
1642 1587
     public function map(): string {}
@@ -1650,8 +1595,7 @@  discard block
 block discarded – undo
1650 1595
     public function setReduce(string $reduceJsCode): View {}
1651 1596
 }
1652 1597
 
1653
-class DesignDocument
1654
-{
1598
+class DesignDocument {
1655 1599
     public function name(): string {}
1656 1600
 
1657 1601
     public function views(): array {}
@@ -1661,8 +1605,7 @@  discard block
 block discarded – undo
1661 1605
     public function setViews(array $views): DesignDocument {}
1662 1606
 }
1663 1607
 
1664
-class ViewIndexManager
1665
-{
1608
+class ViewIndexManager {
1666 1609
     public function getAllDesignDocuments(): array {}
1667 1610
 
1668 1611
     public function getDesignDocument(string $name): DesignDocument {}
@@ -1675,8 +1618,7 @@  discard block
 block discarded – undo
1675 1618
 /**
1676 1619
  * MutationState is an object which holds and aggregates mutation tokens across operations.
1677 1620
  */
1678
-class MutationState
1679
-{
1621
+class MutationState {
1680 1622
     public function __construct() {}
1681 1623
 
1682 1624
     /**
@@ -1688,8 +1630,7 @@  discard block
 block discarded – undo
1688 1630
     public function add(MutationResult $source): MutationState {}
1689 1631
 }
1690 1632
 
1691
-class AnalyticsOptions
1692
-{
1633
+class AnalyticsOptions {
1693 1634
     public function timeout(int $arg): AnalyticsOptions {}
1694 1635
 
1695 1636
     public function namedParameters(array $pairs): AnalyticsOptions {}
@@ -1715,32 +1656,28 @@  discard block
 block discarded – undo
1715 1656
 /**
1716 1657
  * Indicates a path for a value to be retrieved from a document.
1717 1658
  */
1718
-class LookupGetSpec implements LookupInSpec
1719
-{
1659
+class LookupGetSpec implements LookupInSpec {
1720 1660
     public function __construct(string $path, bool $isXattr = false) {}
1721 1661
 }
1722 1662
 
1723 1663
 /**
1724 1664
  * Indicates to retrieve the count of array items or dictionary keys within a path in a document.
1725 1665
  */
1726
-class LookupCountSpec implements LookupInSpec
1727
-{
1666
+class LookupCountSpec implements LookupInSpec {
1728 1667
     public function __construct(string $path, bool $isXattr = false) {}
1729 1668
 }
1730 1669
 
1731 1670
 /**
1732 1671
  * Indicates to check if a path exists in a document.
1733 1672
  */
1734
-class LookupExistsSpec implements LookupInSpec
1735
-{
1673
+class LookupExistsSpec implements LookupInSpec {
1736 1674
     public function __construct(string $path, bool $isXattr = false) {}
1737 1675
 }
1738 1676
 
1739 1677
 /**
1740 1678
  * Indicates to retreive a whole document.
1741 1679
  */
1742
-class LookupGetFullSpec implements LookupInSpec
1743
-{
1680
+class LookupGetFullSpec implements LookupInSpec {
1744 1681
     public function __construct() {}
1745 1682
 }
1746 1683
 
@@ -1752,56 +1689,49 @@  discard block
 block discarded – undo
1752 1689
 /**
1753 1690
  * Indicates to insert a value at a path in a document.
1754 1691
  */
1755
-class MutateInsertSpec implements MutateInSpec
1756
-{
1692
+class MutateInsertSpec implements MutateInSpec {
1757 1693
     public function __construct(string $path, $value, bool $isXattr, bool $createPath, bool $expandMacros) {}
1758 1694
 }
1759 1695
 
1760 1696
 /**
1761 1697
  * Indicates to replace a value at a path if it doesn't exist, otherwise create the path, in a document.
1762 1698
  */
1763
-class MutateUpsertSpec implements MutateInSpec
1764
-{
1699
+class MutateUpsertSpec implements MutateInSpec {
1765 1700
     public function __construct(string $path, $value, bool $isXattr, bool $createPath, bool $expandMacros) {}
1766 1701
 }
1767 1702
 
1768 1703
 /**
1769 1704
  * Indicates to replace a value at a path if it doesn't exist in a document.
1770 1705
  */
1771
-class MutateReplaceSpec implements MutateInSpec
1772
-{
1706
+class MutateReplaceSpec implements MutateInSpec {
1773 1707
     public function __construct(string $path, $value, bool $isXattr) {}
1774 1708
 }
1775 1709
 
1776 1710
 /**
1777 1711
  * Indicates to remove a value at a path in a document.
1778 1712
  */
1779
-class MutateRemoveSpec implements MutateInSpec
1780
-{
1713
+class MutateRemoveSpec implements MutateInSpec {
1781 1714
     public function __construct(string $path, bool $isXattr) {}
1782 1715
 }
1783 1716
 
1784 1717
 /**
1785 1718
  * Indicates to append a value to an array at a path in a document.
1786 1719
  */
1787
-class MutateArrayAppendSpec implements MutateInSpec
1788
-{
1720
+class MutateArrayAppendSpec implements MutateInSpec {
1789 1721
     public function __construct(string $path, array $values, bool $isXattr, bool $createPath, bool $expandMacros) {}
1790 1722
 }
1791 1723
 
1792 1724
 /**
1793 1725
  * Indicates to prepend a value to an array at a path in a document.
1794 1726
  */
1795
-class MutateArrayPrependSpec implements MutateInSpec
1796
-{
1727
+class MutateArrayPrependSpec implements MutateInSpec {
1797 1728
     public function __construct(string $path, array $values, bool $isXattr, bool $createPath, bool $expandMacros) {}
1798 1729
 }
1799 1730
 
1800 1731
 /**
1801 1732
  * Indicates to insert a value into an array at a path in a document.
1802 1733
  */
1803
-class MutateArrayInsertSpec implements MutateInSpec
1804
-{
1734
+class MutateArrayInsertSpec implements MutateInSpec {
1805 1735
     public function __construct(string $path, array $values, bool $isXattr, bool $createPath, bool $expandMacros) {}
1806 1736
 }
1807 1737
 
@@ -1809,21 +1739,18 @@  discard block
 block discarded – undo
1809 1739
  * Indicates to add a value into an array at a path in a document so long as that value does not already exist
1810 1740
  * in the array.
1811 1741
  */
1812
-class MutateArrayAddUniqueSpec implements MutateInSpec
1813
-{
1742
+class MutateArrayAddUniqueSpec implements MutateInSpec {
1814 1743
     public function __construct(string $path, $value, bool $isXattr, bool $createPath, bool $expandMacros) {}
1815 1744
 }
1816 1745
 
1817 1746
 /**
1818 1747
  * Indicates to increment or decrement a counter value at a path in a document.
1819 1748
  */
1820
-class MutateCounterSpec implements MutateInSpec
1821
-{
1749
+class MutateCounterSpec implements MutateInSpec {
1822 1750
     public function __construct(string $path, int $delta, bool $isXattr, bool $createPath) {}
1823 1751
 }
1824 1752
 
1825
-class SearchOptions implements JsonSerializable
1826
-{
1753
+class SearchOptions implements JsonSerializable {
1827 1754
     public function jsonSerialize() {}
1828 1755
 
1829 1756
     /**
@@ -1940,8 +1867,7 @@  discard block
 block discarded – undo
1940 1867
     public function highlight(string $style = null, array $fields = null): SearchOptions {}
1941 1868
 }
1942 1869
 
1943
-interface SearchHighlightMode
1944
-{
1870
+interface SearchHighlightMode {
1945 1871
     public const HTML = "html";
1946 1872
     public const ANSI = "ansi";
1947 1873
     public const SIMPLE = "simple";
@@ -2186,8 +2112,7 @@  discard block
 block discarded – undo
2186 2112
     public function field(string $field): GeoDistanceSearchQuery {}
2187 2113
 }
2188 2114
 
2189
-class Coordinate implements JsonSerializable
2190
-{
2115
+class Coordinate implements JsonSerializable {
2191 2116
     public function jsonSerialize() {}
2192 2117
 
2193 2118
     /**
@@ -2654,23 +2579,20 @@  discard block
 block discarded – undo
2654 2579
     public function missing(string $missing): SearchSortField {}
2655 2580
 }
2656 2581
 
2657
-interface SearchSortType
2658
-{
2582
+interface SearchSortType {
2659 2583
     public const AUTO = "auto";
2660 2584
     public const STRING = "string";
2661 2585
     public const NUMBER = "number";
2662 2586
     public const DATE = "date";
2663 2587
 }
2664 2588
 
2665
-interface SearchSortMode
2666
-{
2589
+interface SearchSortMode {
2667 2590
     public const DEFAULT = "default";
2668 2591
     public const MIN = "min";
2669 2592
     public const MAX = "max";
2670 2593
 }
2671 2594
 
2672
-interface SearchSortMissing
2673
-{
2595
+interface SearchSortMissing {
2674 2596
     public const FIRST = "first";
2675 2597
     public const LAST = "last";
2676 2598
 }
@@ -2741,8 +2663,7 @@  discard block
 block discarded – undo
2741 2663
     public function descending(bool $descending): SearchSortScore {}
2742 2664
 }
2743 2665
 
2744
-class GetOptions
2745
-{
2666
+class GetOptions {
2746 2667
     /**
2747 2668
      * Sets the operation timeout in milliseconds.
2748 2669
      *
@@ -2786,8 +2707,7 @@  discard block
 block discarded – undo
2786 2707
     public function decoder(callable $arg): GetOptions {}
2787 2708
 }
2788 2709
 
2789
-class GetAndTouchOptions
2790
-{
2710
+class GetAndTouchOptions {
2791 2711
     /**
2792 2712
      * Sets the operation timeout in milliseconds.
2793 2713
      *
@@ -2806,8 +2726,7 @@  discard block
 block discarded – undo
2806 2726
     public function decoder(callable $arg): GetAndTouchOptions {}
2807 2727
 }
2808 2728
 
2809
-class GetAndLockOptions
2810
-{
2729
+class GetAndLockOptions {
2811 2730
     /**
2812 2731
      * Sets the operation timeout in milliseconds.
2813 2732
      *
@@ -2826,8 +2745,7 @@  discard block
 block discarded – undo
2826 2745
     public function decoder(callable $arg): GetAndLockOptions {}
2827 2746
 }
2828 2747
 
2829
-class GetAllReplicasOptions
2830
-{
2748
+class GetAllReplicasOptions {
2831 2749
     /**
2832 2750
      * Sets the operation timeout in milliseconds.
2833 2751
      *
@@ -2846,8 +2764,7 @@  discard block
 block discarded – undo
2846 2764
     public function decoder(callable $arg): GetAllReplicasOptions {}
2847 2765
 }
2848 2766
 
2849
-class GetAnyReplicaOptions
2850
-{
2767
+class GetAnyReplicaOptions {
2851 2768
     /**
2852 2769
      * Sets the operation timeout in milliseconds.
2853 2770
      *
@@ -2866,8 +2783,7 @@  discard block
 block discarded – undo
2866 2783
     public function decoder(callable $arg): GetAnyReplicaOptions {}
2867 2784
 }
2868 2785
 
2869
-class ExistsOptions
2870
-{
2786
+class ExistsOptions {
2871 2787
     /**
2872 2788
      * Sets the operation timeout in milliseconds.
2873 2789
      *
@@ -2877,8 +2793,7 @@  discard block
 block discarded – undo
2877 2793
     public function timeout(int $arg): ExistsOptions {}
2878 2794
 }
2879 2795
 
2880
-class UnlockOptions
2881
-{
2796
+class UnlockOptions {
2882 2797
     /**
2883 2798
      * Sets the operation timeout in milliseconds.
2884 2799
      *
@@ -2888,8 +2803,7 @@  discard block
 block discarded – undo
2888 2803
     public function timeout(int $arg): UnlockOptions {}
2889 2804
 }
2890 2805
 
2891
-class InsertOptions
2892
-{
2806
+class InsertOptions {
2893 2807
     /**
2894 2808
      * Sets the operation timeout in milliseconds.
2895 2809
      *
@@ -2924,8 +2838,7 @@  discard block
 block discarded – undo
2924 2838
     public function encoder(callable $arg): InsertOptions {}
2925 2839
 }
2926 2840
 
2927
-class UpsertOptions
2928
-{
2841
+class UpsertOptions {
2929 2842
     /**
2930 2843
      * Sets the operation timeout in milliseconds.
2931 2844
      *
@@ -2960,8 +2873,7 @@  discard block
 block discarded – undo
2960 2873
     public function encoder(callable $arg): UpsertOptions {}
2961 2874
 }
2962 2875
 
2963
-class ReplaceOptions
2964
-{
2876
+class ReplaceOptions {
2965 2877
     /**
2966 2878
      * Sets the operation timeout in milliseconds.
2967 2879
      *
@@ -3004,8 +2916,7 @@  discard block
 block discarded – undo
3004 2916
     public function encoder(callable $arg): ReplaceOptions {}
3005 2917
 }
3006 2918
 
3007
-class AppendOptions
3008
-{
2919
+class AppendOptions {
3009 2920
     /**
3010 2921
      * Sets the operation timeout in milliseconds.
3011 2922
      *
@@ -3023,8 +2934,7 @@  discard block
 block discarded – undo
3023 2934
     public function durabilityLevel(int $arg): AppendOptions {}
3024 2935
 }
3025 2936
 
3026
-class PrependOptions
3027
-{
2937
+class PrependOptions {
3028 2938
     /**
3029 2939
      * Sets the operation timeout in milliseconds.
3030 2940
      *
@@ -3046,8 +2956,7 @@  discard block
 block discarded – undo
3046 2956
  * An object which contains levels of durability that can be enforced when
3047 2957
  * using mutation operations.
3048 2958
  */
3049
-interface DurabilityLevel
3050
-{
2959
+interface DurabilityLevel {
3051 2960
     /**
3052 2961
      * Apply no durability level.
3053 2962
      */
@@ -3073,8 +2982,7 @@  discard block
 block discarded – undo
3073 2982
     public const PERSIST_TO_MAJORITY = 3;
3074 2983
 }
3075 2984
 
3076
-class TouchOptions
3077
-{
2985
+class TouchOptions {
3078 2986
     /**
3079 2987
      * Sets the operation timeout in milliseconds.
3080 2988
      *
@@ -3084,8 +2992,7 @@  discard block
 block discarded – undo
3084 2992
     public function timeout(int $arg): TouchOptions {}
3085 2993
 }
3086 2994
 
3087
-class IncrementOptions
3088
-{
2995
+class IncrementOptions {
3089 2996
     /**
3090 2997
      * Sets the operation timeout in milliseconds.
3091 2998
      *
@@ -3128,8 +3035,7 @@  discard block
 block discarded – undo
3128 3035
     public function initial(int $arg): IncrementOptions {}
3129 3036
 }
3130 3037
 
3131
-class DecrementOptions
3132
-{
3038
+class DecrementOptions {
3133 3039
     /**
3134 3040
      * Sets the operation timeout in milliseconds.
3135 3041
      *
@@ -3172,8 +3078,7 @@  discard block
 block discarded – undo
3172 3078
     public function initial(int $arg): DecrementOptions {}
3173 3079
 }
3174 3080
 
3175
-class RemoveOptions
3176
-{
3081
+class RemoveOptions {
3177 3082
     /**
3178 3083
      * Sets the operation timeout in milliseconds.
3179 3084
      *
@@ -3199,8 +3104,7 @@  discard block
 block discarded – undo
3199 3104
     public function cas(string $arg): RemoveOptions {}
3200 3105
 }
3201 3106
 
3202
-class LookupInOptions
3203
-{
3107
+class LookupInOptions {
3204 3108
     /**
3205 3109
      * Sets the operation timeout in milliseconds.
3206 3110
      *
@@ -3223,8 +3127,7 @@  discard block
 block discarded – undo
3223 3127
     public function withExpiry(bool $arg): LookupInOptions {}
3224 3128
 }
3225 3129
 
3226
-class MutateInOptions
3227
-{
3130
+class MutateInOptions {
3228 3131
     /**
3229 3132
      * Sets the operation timeout in milliseconds.
3230 3133
      *
@@ -3270,8 +3173,7 @@  discard block
 block discarded – undo
3270 3173
  * An object which contains how to define the document level action to take
3271 3174
  * during a MutateIn operation.
3272 3175
  */
3273
-interface StoreSemantics
3274
-{
3176
+interface StoreSemantics {
3275 3177
     /**
3276 3178
      * Replace the document, and fail if it does not exist.
3277 3179
      */
@@ -3288,8 +3190,7 @@  discard block
 block discarded – undo
3288 3190
     public const INSERT = 2;
3289 3191
 }
3290 3192
 
3291
-class ViewOptions
3292
-{
3193
+class ViewOptions {
3293 3194
     public function timeout(int $arg): ViewOptions {}
3294 3195
 
3295 3196
     public function includeDocuments(bool $arg, int $maxConcurrentDocuments = 10): ViewOptions {}
@@ -3319,21 +3220,18 @@  discard block
 block discarded – undo
3319 3220
     public function raw(string $key, $value): ViewOptions {}
3320 3221
 }
3321 3222
 
3322
-interface ViewConsistency
3323
-{
3223
+interface ViewConsistency {
3324 3224
     public const NOT_BOUNDED = 0;
3325 3225
     public const REQUEST_PLUS = 1;
3326 3226
     public const UPDATE_AFTER = 2;
3327 3227
 }
3328 3228
 
3329
-interface ViewOrdering
3330
-{
3229
+interface ViewOrdering {
3331 3230
     public const ASCENDING = 0;
3332 3231
     public const DESCENDING = 1;
3333 3232
 }
3334 3233
 
3335
-class QueryOptions
3336
-{
3234
+class QueryOptions {
3337 3235
     /**
3338 3236
      * Sets the operation timeout in milliseconds.
3339 3237
      *
@@ -3485,8 +3383,7 @@  discard block
 block discarded – undo
3485 3383
 /**
3486 3384
  * Set of values for the scan consistency level of a query.
3487 3385
  */
3488
-interface QueryScanConsistency
3489
-{
3386
+interface QueryScanConsistency {
3490 3387
     /**
3491 3388
      * Set scan consistency to not bounded
3492 3389
      */
@@ -3506,8 +3403,7 @@  discard block
 block discarded – undo
3506 3403
 /**
3507 3404
  * Set of values for setting the profile mode of a query.
3508 3405
  */
3509
-interface QueryProfile
3510
-{
3406
+interface QueryProfile {
3511 3407
     /**
3512 3408
      * Set profiling to off
3513 3409
      */
@@ -3524,8 +3420,7 @@  discard block
 block discarded – undo
3524 3420
     public const TIMINGS = 3;
3525 3421
 }
3526 3422
 
3527
-class ClusterOptions
3528
-{
3423
+class ClusterOptions {
3529 3424
     public function credentials(string $username, string $password): ClusterOptions {}
3530 3425
 }
3531 3426
 
Please login to merge, or discard this patch.
vendor-bin/php-scoper/vendor/jetbrains/phpstorm-stubs/hash/hash.php 3 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -452,13 +452,13 @@
 block discarded – undo
452 452
  */
453 453
 final class HashContext
454 454
 {
455
-    private function __construct() {}
455
+	private function __construct() {}
456 456
 
457
-    public function __serialize(): array {}
457
+	public function __serialize(): array {}
458 458
 
459
-    /**
460
-     * @param array $data
461
-     */
462
-    public function __unserialize(#[LanguageLevelTypeAware(['8.0' => 'array'], default: '')] $data): void {}
459
+	/**
460
+	 * @param array $data
461
+	 */
462
+	public function __unserialize(#[LanguageLevelTypeAware(['8.0' => 'array'], default: '')] $data): void {}
463 463
 }
464 464
 // End of hash v.1.0
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
  * binary representation of the message digest is returned.
26 26
  */
27 27
 #[Pure]
28
-function hash(string $algo, string $data, bool $binary = false, #[PhpStormStubsElementAvailable('8.1')] array $options = null): string|false {}
28
+function hash(string $algo, string $data, bool $binary = false, #[PhpStormStubsElementAvailable('8.1')] array $options = null): string | false {}
29 29
 
30 30
 /**
31 31
  * Timing attack safe string comparison
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
  * binary representation of the message digest is returned.
58 58
  */
59 59
 #[Pure]
60
-function hash_file(string $algo, string $filename, bool $binary = false, #[PhpStormStubsElementAvailable('8.1')] array $options = null): string|false {}
60
+function hash_file(string $algo, string $filename, bool $binary = false, #[PhpStormStubsElementAvailable('8.1')] array $options = null): string | false {}
61 61
 
62 62
 /**
63 63
  * (PHP 5 &gt;= 5.1.2, PECL hash &gt;= 1.1)<br/>
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
  * binary representation of the message digest is returned.
83 83
  */
84 84
 #[Pure]
85
-function hash_hmac(string $algo, string $data, string $key, bool $binary = false): string|false {}
85
+function hash_hmac(string $algo, string $data, string $key, bool $binary = false): string | false {}
86 86
 
87 87
 /**
88 88
  * (PHP 5 &gt;= 5.1.2, PECL hash &gt;= 1.1)<br/>
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
  * binary representation of the message digest is returned.
108 108
  */
109 109
 #[Pure]
110
-function hash_hmac_file(string $algo, string $data, string $key, bool $binary = false): string|false {}
110
+function hash_hmac_file(string $algo, string $data, string $key, bool $binary = false): string | false {}
111 111
 
112 112
 /**
113 113
  * (PHP 5 &gt;= 5.1.2, PECL hash &gt;= 1.1)<br/>
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
  */
314 314
 #[Pure]
315 315
 #[Deprecated(since: '8.1')]
316
-function mhash_keygen_s2k(int $algo, string $password, string $salt, int $length): string|false {}
316
+function mhash_keygen_s2k(int $algo, string $password, string $salt, int $length): string | false {}
317 317
 
318 318
 /**
319 319
  * Gets the block size of the specified hash
@@ -327,7 +327,7 @@  discard block
 block discarded – undo
327 327
  */
328 328
 #[Pure]
329 329
 #[Deprecated(since: '8.1')]
330
-function mhash_get_block_size(int $algo): int|false {}
330
+function mhash_get_block_size(int $algo): int | false {}
331 331
 
332 332
 /**
333 333
  * Gets the name of the specified hash
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
  */
341 341
 #[Pure]
342 342
 #[Deprecated(since: '8.1')]
343
-function mhash_get_hash_name(int $algo): string|false {}
343
+function mhash_get_hash_name(int $algo): string | false {}
344 344
 
345 345
 /**
346 346
  * Gets the highest available hash ID
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
  */
375 375
 #[Pure]
376 376
 #[Deprecated(since: '8.1')]
377
-function mhash(int $algo, string $data, ?string $key): string|false {}
377
+function mhash(int $algo, string $data, ?string $key): string | false {}
378 378
 
379 379
 /**
380 380
  * Optional flag for <b>hash_init</b>.
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -450,8 +450,7 @@
 block discarded – undo
450 450
 /**
451 451
  * @since 7.2
452 452
  */
453
-final class HashContext
454
-{
453
+final class HashContext {
455 454
     private function __construct() {}
456 455
 
457 456
     public function __serialize(): array {}
Please login to merge, or discard this patch.
vendor-bin/php-scoper/vendor/jetbrains/phpstorm-stubs/oci8/oci8.php 3 patches
Indentation   +361 added lines, -361 removed lines patch added patch discarded remove patch
@@ -10,267 +10,267 @@  discard block
 block discarded – undo
10 10
  */
11 11
 class OCI_Lob
12 12
 {
13
-    /**
14
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
15
-     * Returns large object's contents
16
-     * @link https://php.net/manual/en/oci-lob.load.php
17
-     * @return string|false The contents of the object, or <b>FALSE</b> on errors.
18
-     */
19
-    public function load() {}
20
-
21
-    /**
22
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
23
-     * Returns the current position of internal pointer of large object
24
-     * @link https://php.net/manual/en/oci-lob.tell.php
25
-     * @return int|false Current position of a LOB's internal pointer or <b>FALSE</b> if an
26
-     * error occurred.
27
-     */
28
-    public function tell() {}
29
-
30
-    /**
31
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
32
-     * Truncates large object
33
-     * @link https://php.net/manual/en/oci-lob.truncate.php
34
-     * @param int $length [optional] <p>
35
-     * If provided, this method will truncate the LOB to
36
-     * <i>length</i> bytes. Otherwise, it will completely
37
-     * purge the LOB.
38
-     * </p>
39
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
40
-     */
41
-    public function truncate($length = 0) {}
42
-
43
-    /**
44
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
45
-     * Erases a specified portion of the internal LOB data
46
-     * @link https://php.net/manual/en/oci-lob.erase.php
47
-     * @param int $offset [optional]
48
-     * @param int $length [optional]
49
-     * @return int|false The actual number of characters/bytes erased or <b>FALSE</b> on failure.
50
-     */
51
-    public function erase($offset = null, $length = null) {}
52
-
53
-    /**
54
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
55
-     * Flushes/writes buffer of the LOB to the server
56
-     * @link https://php.net/manual/en/oci-lob.flush.php
57
-     * @param int $flag [optional] <p>
58
-     * By default, resources are not freed, but using flag
59
-     * <b>OCI_LOB_BUFFER_FREE</b> you can do it explicitly.
60
-     * Be sure you know what you're doing - next read/write operation to the
61
-     * same part of LOB will involve a round-trip to the server and initialize
62
-     * new buffer resources. It is recommended to use
63
-     * <b>OCI_LOB_BUFFER_FREE</b> flag only when you are not
64
-     * going to work with the LOB anymore.
65
-     * </p>
66
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
67
-     * </p>
68
-     * <p>
69
-     * Returns <b>FALSE</b> if buffering was not enabled or an error occurred.
70
-     */
71
-    public function flush($flag = null) {}
72
-
73
-    /**
74
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
75
-     * Changes current state of buffering for the large object
76
-     * @link https://php.net/manual/en/oci-lob.setbuffering.php
77
-     * @param bool $on_off <p>
78
-     * <b>TRUE</b> for on and <b>FALSE</b> for off.
79
-     * </p>
80
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure. Repeated calls to this method with the same flag will
81
-     * return <b>TRUE</b>.
82
-     */
83
-    public function setbuffering($on_off) {}
84
-
85
-    /**
86
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
87
-     * Returns current state of buffering for the large object
88
-     * @link https://php.net/manual/en/oci-lob.getbuffering.php
89
-     * @return bool <b>FALSE</b> if buffering for the large object is off and <b>TRUE</b> if
90
-     * buffering is used.
91
-     */
92
-    public function getbuffering() {}
93
-
94
-    /**
95
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
96
-     * Moves the internal pointer to the beginning of the large object
97
-     * @link https://php.net/manual/en/oci-lob.rewind.php
98
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
99
-     */
100
-    public function rewind() {}
101
-
102
-    /**
103
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
104
-     * Reads part of the large object
105
-     * @link https://php.net/manual/en/oci-lob.read.php
106
-     * @param int $length <p>
107
-     * The length of data to read, in bytes. Large values will be rounded down to 1 MB.
108
-     * </p>
109
-     * @return string|false The contents as a string, or <b>FALSE</b> on failure.
110
-     */
111
-    public function read($length) {}
112
-
113
-    /**
114
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
115
-     * Tests for end-of-file on a large object's descriptor
116
-     * @link https://php.net/manual/en/oci-lob.eof.php
117
-     * @return bool <b>TRUE</b> if internal pointer of large object is at the end of LOB.
118
-     * Otherwise returns <b>FALSE</b>.
119
-     */
120
-    public function eof() {}
121
-
122
-    /**
123
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
124
-     * Sets the internal pointer of the large object
125
-     * @link https://php.net/manual/en/oci-lob.seek.php
126
-     * @param int $offset <p>
127
-     * Indicates the amount of bytes, on which internal pointer should be
128
-     * moved from the position, pointed by <i>whence</i>.
129
-     * </p>
130
-     * @param int $whence [optional] <p>
131
-     * May be one of:
132
-     * <b>OCI_SEEK_SET</b> - sets the position equal to
133
-     * <i>offset</i>
134
-     * <b>OCI_SEEK_CUR</b> - adds <i>offset</i>
135
-     * bytes to the current position
136
-     * <b>OCI_SEEK_END</b> - adds <i>offset</i>
137
-     * bytes to the end of large object (use negative value to move to a position
138
-     * before the end of large object)
139
-     * </p>
140
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
141
-     */
142
-    public function seek($offset, $whence = OCI_SEEK_SET) {}
143
-
144
-    /**
145
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
146
-     * Writes data to the large object
147
-     * @link https://php.net/manual/en/oci-lob.write.php
148
-     * @param string $data <p>
149
-     * The data to write in the LOB.
150
-     * </p>
151
-     * @param int $length [optional] <p>
152
-     * If this parameter is given, writing will stop after
153
-     * <i>length</i> bytes have been written or the end of
154
-     * <i>data</i> is reached, whichever comes first.
155
-     * </p>
156
-     * @return int|false The number of bytes written or <b>FALSE</b> on failure.
157
-     */
158
-    public function write($data, $length = null) {}
159
-
160
-    /**
161
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
162
-     * Appends data from the large object to another large object
163
-     * @link https://php.net/manual/en/oci-lob.append.php
164
-     * @param OCI_Lob $lob_from <p>
165
-     * The copied LOB.
166
-     * </p>
167
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
168
-     */
169
-    public function append(#[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_from) {}
170
-
171
-    /**
172
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
173
-     * Returns size of large object
174
-     * @link https://php.net/manual/en/oci-lob.size.php
175
-     * @return int|false Length of large object value or <b>FALSE</b> on failure.
176
-     * Empty objects have zero length.
177
-     */
178
-    public function size() {}
179
-
180
-    /**
181
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
182
-     * Alias of {@see OCI_Lob::export}
183
-     * @link https://php.net/manual/en/oci-lob.writetofile.php
184
-     * @param $filename
185
-     * @param $start [optional]
186
-     * @param $length [optional]
187
-     * @return bool TRUE on success or FALSE on failure.
188
-     */
189
-    public function writetofile($filename, $start, $length) {}
190
-
191
-    /**
192
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
193
-     * Exports LOB's contents to a file
194
-     * @link https://php.net/manual/en/oci-lob.export.php
195
-     * @param string $filename <p>
196
-     * Path to the file.
197
-     * </p>
198
-     * @param int $start [optional] <p>
199
-     * Indicates from where to start exporting.
200
-     * </p>
201
-     * @param int $length [optional] <p>
202
-     * Indicates the length of data to be exported.
203
-     * </p>
204
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
205
-     */
206
-    public function export($filename, $start = null, $length = null) {}
207
-
208
-    /**
209
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
210
-     * Imports file data to the LOB
211
-     * @link https://php.net/manual/en/oci-lob.import.php
212
-     * @param string $filename <p>
213
-     * Path to the file.
214
-     * </p>
215
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
216
-     */
217
-    public function import($filename) {}
218
-
219
-    /**
220
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
221
-     * Writes a temporary large object
222
-     * @link https://php.net/manual/en/oci-lob.writetemporary.php
223
-     * @param string $data <p>
224
-     * The data to write.
225
-     * </p>
226
-     * @param int $lob_type [optional] <p>
227
-     * Can be one of the following:
228
-     * <b>OCI_TEMP_BLOB</b> is used to create temporary BLOBs
229
-     * <b>OCI_TEMP_CLOB</b> is used to create
230
-     * temporary CLOBs
231
-     * </p>
232
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
233
-     */
234
-    public function writeTemporary($data, $lob_type = OCI_TEMP_CLOB) {}
235
-
236
-    /**
237
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
238
-     * Closes LOB descriptor
239
-     * @link https://php.net/manual/en/oci-lob.close.php
240
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
241
-     */
242
-    public function close() {}
243
-
244
-    /**
245
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
246
-     * Saves data to the large object
247
-     * @link https://php.net/manual/en/oci-lob.save.php
248
-     * @param string $data <p>
249
-     * The data to be saved.
250
-     * </p>
251
-     * @param int $offset [optional] <p>
252
-     * Can be used to indicate offset from the beginning of the large object.
253
-     * </p>
254
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
255
-     */
256
-    public function save($data, $offset = null) {}
257
-
258
-    /**
259
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
260
-     * Alias of {@see OCI_Lob::import}
261
-     * @link https://php.net/manual/en/oci-lob.savefile.php
262
-     * @param $filename
263
-     * @return bool Return true on success and false on failure
264
-     */
265
-    public function savefile($filename) {}
266
-
267
-    /**
268
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
269
-     * Frees resources associated with the LOB descriptor
270
-     * @link https://php.net/manual/en/oci-lob.free.php
271
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
272
-     */
273
-    public function free() {}
13
+	/**
14
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
15
+	 * Returns large object's contents
16
+	 * @link https://php.net/manual/en/oci-lob.load.php
17
+	 * @return string|false The contents of the object, or <b>FALSE</b> on errors.
18
+	 */
19
+	public function load() {}
20
+
21
+	/**
22
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
23
+	 * Returns the current position of internal pointer of large object
24
+	 * @link https://php.net/manual/en/oci-lob.tell.php
25
+	 * @return int|false Current position of a LOB's internal pointer or <b>FALSE</b> if an
26
+	 * error occurred.
27
+	 */
28
+	public function tell() {}
29
+
30
+	/**
31
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
32
+	 * Truncates large object
33
+	 * @link https://php.net/manual/en/oci-lob.truncate.php
34
+	 * @param int $length [optional] <p>
35
+	 * If provided, this method will truncate the LOB to
36
+	 * <i>length</i> bytes. Otherwise, it will completely
37
+	 * purge the LOB.
38
+	 * </p>
39
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
40
+	 */
41
+	public function truncate($length = 0) {}
42
+
43
+	/**
44
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
45
+	 * Erases a specified portion of the internal LOB data
46
+	 * @link https://php.net/manual/en/oci-lob.erase.php
47
+	 * @param int $offset [optional]
48
+	 * @param int $length [optional]
49
+	 * @return int|false The actual number of characters/bytes erased or <b>FALSE</b> on failure.
50
+	 */
51
+	public function erase($offset = null, $length = null) {}
52
+
53
+	/**
54
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
55
+	 * Flushes/writes buffer of the LOB to the server
56
+	 * @link https://php.net/manual/en/oci-lob.flush.php
57
+	 * @param int $flag [optional] <p>
58
+	 * By default, resources are not freed, but using flag
59
+	 * <b>OCI_LOB_BUFFER_FREE</b> you can do it explicitly.
60
+	 * Be sure you know what you're doing - next read/write operation to the
61
+	 * same part of LOB will involve a round-trip to the server and initialize
62
+	 * new buffer resources. It is recommended to use
63
+	 * <b>OCI_LOB_BUFFER_FREE</b> flag only when you are not
64
+	 * going to work with the LOB anymore.
65
+	 * </p>
66
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
67
+	 * </p>
68
+	 * <p>
69
+	 * Returns <b>FALSE</b> if buffering was not enabled or an error occurred.
70
+	 */
71
+	public function flush($flag = null) {}
72
+
73
+	/**
74
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
75
+	 * Changes current state of buffering for the large object
76
+	 * @link https://php.net/manual/en/oci-lob.setbuffering.php
77
+	 * @param bool $on_off <p>
78
+	 * <b>TRUE</b> for on and <b>FALSE</b> for off.
79
+	 * </p>
80
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure. Repeated calls to this method with the same flag will
81
+	 * return <b>TRUE</b>.
82
+	 */
83
+	public function setbuffering($on_off) {}
84
+
85
+	/**
86
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
87
+	 * Returns current state of buffering for the large object
88
+	 * @link https://php.net/manual/en/oci-lob.getbuffering.php
89
+	 * @return bool <b>FALSE</b> if buffering for the large object is off and <b>TRUE</b> if
90
+	 * buffering is used.
91
+	 */
92
+	public function getbuffering() {}
93
+
94
+	/**
95
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
96
+	 * Moves the internal pointer to the beginning of the large object
97
+	 * @link https://php.net/manual/en/oci-lob.rewind.php
98
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
99
+	 */
100
+	public function rewind() {}
101
+
102
+	/**
103
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
104
+	 * Reads part of the large object
105
+	 * @link https://php.net/manual/en/oci-lob.read.php
106
+	 * @param int $length <p>
107
+	 * The length of data to read, in bytes. Large values will be rounded down to 1 MB.
108
+	 * </p>
109
+	 * @return string|false The contents as a string, or <b>FALSE</b> on failure.
110
+	 */
111
+	public function read($length) {}
112
+
113
+	/**
114
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
115
+	 * Tests for end-of-file on a large object's descriptor
116
+	 * @link https://php.net/manual/en/oci-lob.eof.php
117
+	 * @return bool <b>TRUE</b> if internal pointer of large object is at the end of LOB.
118
+	 * Otherwise returns <b>FALSE</b>.
119
+	 */
120
+	public function eof() {}
121
+
122
+	/**
123
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
124
+	 * Sets the internal pointer of the large object
125
+	 * @link https://php.net/manual/en/oci-lob.seek.php
126
+	 * @param int $offset <p>
127
+	 * Indicates the amount of bytes, on which internal pointer should be
128
+	 * moved from the position, pointed by <i>whence</i>.
129
+	 * </p>
130
+	 * @param int $whence [optional] <p>
131
+	 * May be one of:
132
+	 * <b>OCI_SEEK_SET</b> - sets the position equal to
133
+	 * <i>offset</i>
134
+	 * <b>OCI_SEEK_CUR</b> - adds <i>offset</i>
135
+	 * bytes to the current position
136
+	 * <b>OCI_SEEK_END</b> - adds <i>offset</i>
137
+	 * bytes to the end of large object (use negative value to move to a position
138
+	 * before the end of large object)
139
+	 * </p>
140
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
141
+	 */
142
+	public function seek($offset, $whence = OCI_SEEK_SET) {}
143
+
144
+	/**
145
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
146
+	 * Writes data to the large object
147
+	 * @link https://php.net/manual/en/oci-lob.write.php
148
+	 * @param string $data <p>
149
+	 * The data to write in the LOB.
150
+	 * </p>
151
+	 * @param int $length [optional] <p>
152
+	 * If this parameter is given, writing will stop after
153
+	 * <i>length</i> bytes have been written or the end of
154
+	 * <i>data</i> is reached, whichever comes first.
155
+	 * </p>
156
+	 * @return int|false The number of bytes written or <b>FALSE</b> on failure.
157
+	 */
158
+	public function write($data, $length = null) {}
159
+
160
+	/**
161
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
162
+	 * Appends data from the large object to another large object
163
+	 * @link https://php.net/manual/en/oci-lob.append.php
164
+	 * @param OCI_Lob $lob_from <p>
165
+	 * The copied LOB.
166
+	 * </p>
167
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
168
+	 */
169
+	public function append(#[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_from) {}
170
+
171
+	/**
172
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
173
+	 * Returns size of large object
174
+	 * @link https://php.net/manual/en/oci-lob.size.php
175
+	 * @return int|false Length of large object value or <b>FALSE</b> on failure.
176
+	 * Empty objects have zero length.
177
+	 */
178
+	public function size() {}
179
+
180
+	/**
181
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
182
+	 * Alias of {@see OCI_Lob::export}
183
+	 * @link https://php.net/manual/en/oci-lob.writetofile.php
184
+	 * @param $filename
185
+	 * @param $start [optional]
186
+	 * @param $length [optional]
187
+	 * @return bool TRUE on success or FALSE on failure.
188
+	 */
189
+	public function writetofile($filename, $start, $length) {}
190
+
191
+	/**
192
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
193
+	 * Exports LOB's contents to a file
194
+	 * @link https://php.net/manual/en/oci-lob.export.php
195
+	 * @param string $filename <p>
196
+	 * Path to the file.
197
+	 * </p>
198
+	 * @param int $start [optional] <p>
199
+	 * Indicates from where to start exporting.
200
+	 * </p>
201
+	 * @param int $length [optional] <p>
202
+	 * Indicates the length of data to be exported.
203
+	 * </p>
204
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
205
+	 */
206
+	public function export($filename, $start = null, $length = null) {}
207
+
208
+	/**
209
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
210
+	 * Imports file data to the LOB
211
+	 * @link https://php.net/manual/en/oci-lob.import.php
212
+	 * @param string $filename <p>
213
+	 * Path to the file.
214
+	 * </p>
215
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
216
+	 */
217
+	public function import($filename) {}
218
+
219
+	/**
220
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
221
+	 * Writes a temporary large object
222
+	 * @link https://php.net/manual/en/oci-lob.writetemporary.php
223
+	 * @param string $data <p>
224
+	 * The data to write.
225
+	 * </p>
226
+	 * @param int $lob_type [optional] <p>
227
+	 * Can be one of the following:
228
+	 * <b>OCI_TEMP_BLOB</b> is used to create temporary BLOBs
229
+	 * <b>OCI_TEMP_CLOB</b> is used to create
230
+	 * temporary CLOBs
231
+	 * </p>
232
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
233
+	 */
234
+	public function writeTemporary($data, $lob_type = OCI_TEMP_CLOB) {}
235
+
236
+	/**
237
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
238
+	 * Closes LOB descriptor
239
+	 * @link https://php.net/manual/en/oci-lob.close.php
240
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
241
+	 */
242
+	public function close() {}
243
+
244
+	/**
245
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
246
+	 * Saves data to the large object
247
+	 * @link https://php.net/manual/en/oci-lob.save.php
248
+	 * @param string $data <p>
249
+	 * The data to be saved.
250
+	 * </p>
251
+	 * @param int $offset [optional] <p>
252
+	 * Can be used to indicate offset from the beginning of the large object.
253
+	 * </p>
254
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
255
+	 */
256
+	public function save($data, $offset = null) {}
257
+
258
+	/**
259
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
260
+	 * Alias of {@see OCI_Lob::import}
261
+	 * @link https://php.net/manual/en/oci-lob.savefile.php
262
+	 * @param $filename
263
+	 * @return bool Return true on success and false on failure
264
+	 */
265
+	public function savefile($filename) {}
266
+
267
+	/**
268
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
269
+	 * Frees resources associated with the LOB descriptor
270
+	 * @link https://php.net/manual/en/oci-lob.free.php
271
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
272
+	 */
273
+	public function free() {}
274 274
 }
275 275
 
276 276
 /**
@@ -280,92 +280,92 @@  discard block
 block discarded – undo
280 280
  */
281 281
 class OCI_Collection
282 282
 {
283
-    /**
284
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
285
-     * Appends element to the collection
286
-     * @link https://php.net/manual/en/oci-collection.append.php
287
-     * @param mixed $value <p>
288
-     * The value to be added to the collection. Can be a string or a number.
289
-     * </p>
290
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
291
-     */
292
-    public function append($value) {}
293
-
294
-    /**
295
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
296
-     * Returns value of the element
297
-     * @link https://php.net/manual/en/oci-collection.getelem.php
298
-     * @param int $index <p>
299
-     * The element index. First index is 0.
300
-     * </p>
301
-     * @return mixed <b>FALSE</b> if such element doesn't exist; <b>NULL</b> if element is <b>NULL</b>;
302
-     * string if element is column of a string datatype or number if element is
303
-     * numeric field.
304
-     */
305
-    public function getelem($index) {}
306
-
307
-    /**
308
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
309
-     * Assigns a value to the element of the collection
310
-     * @link https://php.net/manual/en/oci-collection.assignelem.php
311
-     * @param int $index <p>
312
-     * The element index. First index is 0.
313
-     * </p>
314
-     * @param mixed $value <p>
315
-     * Can be a string or a number.
316
-     * </p>
317
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
318
-     */
319
-    public function assignelem($index, $value) {}
320
-
321
-    /**
322
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
323
-     * Assigns a value to the collection from another existing collection
324
-     * @link https://php.net/manual/en/oci-collection.assign.php
325
-     * @param OCI_Collection $from <p>
326
-     * An instance of OCI-Collection.
327
-     * </p>
328
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
329
-     */
330
-    public function assign(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $from) {}
331
-
332
-    /**
333
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
334
-     * Returns size of the collection
335
-     * @link https://php.net/manual/en/oci-collection.size.php
336
-     * @return int|false The number of elements in the collection or <b>FALSE</b> on error.
337
-     */
338
-    public function size() {}
339
-
340
-    /**
341
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
342
-     * Returns the maximum number of elements in the collection
343
-     * @link https://php.net/manual/en/oci-collection.max.php
344
-     * @return int|false The maximum number as an integer, or <b>FALSE</b> on errors.
345
-     * </p>
346
-     * <p>
347
-     * If the returned value is 0, then the number of elements is not limited.
348
-     */
349
-    public function max() {}
350
-
351
-    /**
352
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
353
-     * Trims elements from the end of the collection
354
-     * @link https://php.net/manual/en/oci-collection.trim.php
355
-     * @param int $num <p>
356
-     * The number of elements to be trimmed.
357
-     * </p>
358
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
359
-     */
360
-    public function trim($num) {}
361
-
362
-    /**
363
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
364
-     * Frees the resources associated with the collection object
365
-     * @link https://php.net/manual/en/oci-collection.free.php
366
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
367
-     */
368
-    public function free() {}
283
+	/**
284
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
285
+	 * Appends element to the collection
286
+	 * @link https://php.net/manual/en/oci-collection.append.php
287
+	 * @param mixed $value <p>
288
+	 * The value to be added to the collection. Can be a string or a number.
289
+	 * </p>
290
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
291
+	 */
292
+	public function append($value) {}
293
+
294
+	/**
295
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
296
+	 * Returns value of the element
297
+	 * @link https://php.net/manual/en/oci-collection.getelem.php
298
+	 * @param int $index <p>
299
+	 * The element index. First index is 0.
300
+	 * </p>
301
+	 * @return mixed <b>FALSE</b> if such element doesn't exist; <b>NULL</b> if element is <b>NULL</b>;
302
+	 * string if element is column of a string datatype or number if element is
303
+	 * numeric field.
304
+	 */
305
+	public function getelem($index) {}
306
+
307
+	/**
308
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
309
+	 * Assigns a value to the element of the collection
310
+	 * @link https://php.net/manual/en/oci-collection.assignelem.php
311
+	 * @param int $index <p>
312
+	 * The element index. First index is 0.
313
+	 * </p>
314
+	 * @param mixed $value <p>
315
+	 * Can be a string or a number.
316
+	 * </p>
317
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
318
+	 */
319
+	public function assignelem($index, $value) {}
320
+
321
+	/**
322
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
323
+	 * Assigns a value to the collection from another existing collection
324
+	 * @link https://php.net/manual/en/oci-collection.assign.php
325
+	 * @param OCI_Collection $from <p>
326
+	 * An instance of OCI-Collection.
327
+	 * </p>
328
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
329
+	 */
330
+	public function assign(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $from) {}
331
+
332
+	/**
333
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
334
+	 * Returns size of the collection
335
+	 * @link https://php.net/manual/en/oci-collection.size.php
336
+	 * @return int|false The number of elements in the collection or <b>FALSE</b> on error.
337
+	 */
338
+	public function size() {}
339
+
340
+	/**
341
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
342
+	 * Returns the maximum number of elements in the collection
343
+	 * @link https://php.net/manual/en/oci-collection.max.php
344
+	 * @return int|false The maximum number as an integer, or <b>FALSE</b> on errors.
345
+	 * </p>
346
+	 * <p>
347
+	 * If the returned value is 0, then the number of elements is not limited.
348
+	 */
349
+	public function max() {}
350
+
351
+	/**
352
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
353
+	 * Trims elements from the end of the collection
354
+	 * @link https://php.net/manual/en/oci-collection.trim.php
355
+	 * @param int $num <p>
356
+	 * The number of elements to be trimmed.
357
+	 * </p>
358
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
359
+	 */
360
+	public function trim($num) {}
361
+
362
+	/**
363
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
364
+	 * Frees the resources associated with the collection object
365
+	 * @link https://php.net/manual/en/oci-collection.free.php
366
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
367
+	 */
368
+	public function free() {}
369 369
 }
370 370
 
371 371
 /**
@@ -1520,8 +1520,8 @@  discard block
 block discarded – undo
1520 1520
  * @return bool <b>TRUE</b> if these objects are equal, <b>FALSE</b> otherwise.
1521 1521
  */
1522 1522
 function oci_lob_is_equal(
1523
-    #[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob1,
1524
-    #[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob2
1523
+	#[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob1,
1524
+	#[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob2
1525 1525
 ) {}
1526 1526
 
1527 1527
 /**
@@ -1540,9 +1540,9 @@  discard block
 block discarded – undo
1540 1540
  * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
1541 1541
  */
1542 1542
 function oci_lob_copy(
1543
-    #[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_to,
1544
-    #[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_from,
1545
-    $length = 0
1543
+	#[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_to,
1544
+	#[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_from,
1545
+	$length = 0
1546 1546
 ) {}
1547 1547
 
1548 1548
 /**
@@ -2057,10 +2057,10 @@  discard block
 block discarded – undo
2057 2057
  * @return bool Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
2058 2058
  */
2059 2059
 function ociwritelobtofile(
2060
-    #[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_descriptor,
2061
-    $filename,
2062
-    $start,
2063
-    $length
2060
+	#[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_descriptor,
2061
+	$filename,
2062
+	$start,
2063
+	$length
2064 2064
 ) {}
2065 2065
 
2066 2066
 /**
@@ -2252,9 +2252,9 @@  discard block
 block discarded – undo
2252 2252
  * @return bool <p>Returns TRUE on success or FALSE on failure.</p>
2253 2253
  */
2254 2254
 function ociwritetemporarylob(
2255
-    #[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_descriptor,
2256
-    $data,
2257
-    $lob_type = OCI_TEMP_CLOB
2255
+	#[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_descriptor,
2256
+	$data,
2257
+	$lob_type = OCI_TEMP_CLOB
2258 2258
 ) {}
2259 2259
 
2260 2260
 /**
@@ -2276,8 +2276,8 @@  discard block
 block discarded – undo
2276 2276
  * @return bool <p>Returns TRUE on success or FALSE on failure.</p>
2277 2277
  */
2278 2278
 function ocicollassign(
2279
-    #[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $to,
2280
-    #[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $from
2279
+	#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $to,
2280
+	#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $from
2281 2281
 ) {}
2282 2282
 /**
2283 2283
  * See <b>OCI_NO_AUTO_COMMIT</b>.
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -951,7 +951,7 @@
 block discarded – undo
951 951
  * @return int|false The number of rows in <i>output</i>, which
952 952
  * may be 0 or more, or <b>FALSE</b> on failure.
953 953
  */
954
-function oci_fetch_all($statement, array &$output, $skip = 0, $maxrows = -1, $flags = OCI_FETCHSTATEMENT_BY_COLUMN|OCI_ASSOC) {}
954
+function oci_fetch_all($statement, array &$output, $skip = 0, $maxrows = -1, $flags = OCI_FETCHSTATEMENT_BY_COLUMN | OCI_ASSOC) {}
955 955
 
956 956
 /**
957 957
  * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,8 +8,7 @@  discard block
 block discarded – undo
8 8
  * @link https://php.net/manual/en/class.OCI-Lob.php
9 9
  * @removed 8.0
10 10
  */
11
-class OCI_Lob
12
-{
11
+class OCI_Lob {
13 12
     /**
14 13
      * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
15 14
      * Returns large object's contents
@@ -278,8 +277,7 @@  discard block
 block discarded – undo
278 277
  * @link https://php.net/manual/en/class.OCI-Collection.php
279 278
  * @removed 8.0
280 279
  */
281
-class OCI_Collection
282
-{
280
+class OCI_Collection {
283 281
     /**
284 282
      * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
285 283
      * Appends element to the collection
Please login to merge, or discard this patch.
vendor-bin/php-scoper/vendor/jetbrains/phpstorm-stubs/oci8/oci8v3.php 2 patches
Indentation   +347 added lines, -347 removed lines patch added patch discarded remove patch
@@ -9,267 +9,267 @@  discard block
 block discarded – undo
9 9
  */
10 10
 class OCILob
11 11
 {
12
-    /**
13
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
14
-     * Returns large object's contents
15
-     * @link https://php.net/manual/en/oci-lob.load.php
16
-     * @return string|false The contents of the object, or <b>FALSE</b> on errors.
17
-     */
18
-    public function load() {}
19
-
20
-    /**
21
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
22
-     * Returns the current position of internal pointer of large object
23
-     * @link https://php.net/manual/en/oci-lob.tell.php
24
-     * @return int|false Current position of a LOB's internal pointer or <b>FALSE</b> if an
25
-     * error occurred.
26
-     */
27
-    public function tell() {}
28
-
29
-    /**
30
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
31
-     * Truncates large object
32
-     * @link https://php.net/manual/en/oci-lob.truncate.php
33
-     * @param int $length [optional] <p>
34
-     * If provided, this method will truncate the LOB to
35
-     * <i>length</i> bytes. Otherwise, it will completely
36
-     * purge the LOB.
37
-     * </p>
38
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
39
-     */
40
-    public function truncate($length = 0) {}
41
-
42
-    /**
43
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
44
-     * Erases a specified portion of the internal LOB data
45
-     * @link https://php.net/manual/en/oci-lob.erase.php
46
-     * @param int $offset [optional]
47
-     * @param int $length [optional]
48
-     * @return int|false The actual number of characters/bytes erased or <b>FALSE</b> on failure.
49
-     */
50
-    public function erase($offset = null, $length = null) {}
51
-
52
-    /**
53
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
54
-     * Flushes/writes buffer of the LOB to the server
55
-     * @link https://php.net/manual/en/oci-lob.flush.php
56
-     * @param int $flag [optional] <p>
57
-     * By default, resources are not freed, but using flag
58
-     * <b>OCI_LOB_BUFFER_FREE</b> you can do it explicitly.
59
-     * Be sure you know what you're doing - next read/write operation to the
60
-     * same part of LOB will involve a round-trip to the server and initialize
61
-     * new buffer resources. It is recommended to use
62
-     * <b>OCI_LOB_BUFFER_FREE</b> flag only when you are not
63
-     * going to work with the LOB anymore.
64
-     * </p>
65
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
66
-     * </p>
67
-     * <p>
68
-     * Returns <b>FALSE</b> if buffering was not enabled or an error occurred.
69
-     */
70
-    public function flush($flag = null) {}
71
-
72
-    /**
73
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
74
-     * Changes current state of buffering for the large object
75
-     * @link https://php.net/manual/en/oci-lob.setbuffering.php
76
-     * @param bool $on_off <p>
77
-     * <b>TRUE</b> for on and <b>FALSE</b> for off.
78
-     * </p>
79
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure. Repeated calls to this method with the same flag will
80
-     * return <b>TRUE</b>.
81
-     */
82
-    public function setbuffering($on_off) {}
83
-
84
-    /**
85
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
86
-     * Returns current state of buffering for the large object
87
-     * @link https://php.net/manual/en/oci-lob.getbuffering.php
88
-     * @return bool <b>FALSE</b> if buffering for the large object is off and <b>TRUE</b> if
89
-     * buffering is used.
90
-     */
91
-    public function getbuffering() {}
92
-
93
-    /**
94
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
95
-     * Moves the internal pointer to the beginning of the large object
96
-     * @link https://php.net/manual/en/oci-lob.rewind.php
97
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
98
-     */
99
-    public function rewind() {}
100
-
101
-    /**
102
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
103
-     * Reads part of the large object
104
-     * @link https://php.net/manual/en/oci-lob.read.php
105
-     * @param int $length <p>
106
-     * The length of data to read, in bytes. Large values will be rounded down to 1 MB.
107
-     * </p>
108
-     * @return string|false The contents as a string, or <b>FALSE</b> on failure.
109
-     */
110
-    public function read($length) {}
111
-
112
-    /**
113
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
114
-     * Tests for end-of-file on a large object's descriptor
115
-     * @link https://php.net/manual/en/oci-lob.eof.php
116
-     * @return bool <b>TRUE</b> if internal pointer of large object is at the end of LOB.
117
-     * Otherwise returns <b>FALSE</b>.
118
-     */
119
-    public function eof() {}
120
-
121
-    /**
122
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
123
-     * Sets the internal pointer of the large object
124
-     * @link https://php.net/manual/en/oci-lob.seek.php
125
-     * @param int $offset <p>
126
-     * Indicates the amount of bytes, on which internal pointer should be
127
-     * moved from the position, pointed by <i>whence</i>.
128
-     * </p>
129
-     * @param int $whence [optional] <p>
130
-     * May be one of:
131
-     * <b>OCI_SEEK_SET</b> - sets the position equal to
132
-     * <i>offset</i>
133
-     * <b>OCI_SEEK_CUR</b> - adds <i>offset</i>
134
-     * bytes to the current position
135
-     * <b>OCI_SEEK_END</b> - adds <i>offset</i>
136
-     * bytes to the end of large object (use negative value to move to a position
137
-     * before the end of large object)
138
-     * </p>
139
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
140
-     */
141
-    public function seek($offset, $whence = OCI_SEEK_SET) {}
142
-
143
-    /**
144
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
145
-     * Writes data to the large object
146
-     * @link https://php.net/manual/en/oci-lob.write.php
147
-     * @param string $data <p>
148
-     * The data to write in the LOB.
149
-     * </p>
150
-     * @param int $length [optional] <p>
151
-     * If this parameter is given, writing will stop after
152
-     * <i>length</i> bytes have been written or the end of
153
-     * <i>data</i> is reached, whichever comes first.
154
-     * </p>
155
-     * @return int|false The number of bytes written or <b>FALSE</b> on failure.
156
-     */
157
-    public function write($data, $length = null) {}
158
-
159
-    /**
160
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
161
-     * Appends data from the large object to another large object
162
-     * @link https://php.net/manual/en/oci-lob.append.php
163
-     * @param OCILob $lob_from <p>
164
-     * The copied LOB.
165
-     * </p>
166
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
167
-     */
168
-    public function append(OCILob $lob_from) {}
169
-
170
-    /**
171
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
172
-     * Returns size of large object
173
-     * @link https://php.net/manual/en/oci-lob.size.php
174
-     * @return int|false Length of large object value or <b>FALSE</b> on failure.
175
-     * Empty objects have zero length.
176
-     */
177
-    public function size() {}
178
-
179
-    /**
180
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
181
-     * Alias of {@see OCILob::export}
182
-     * @link https://php.net/manual/en/oci-lob.writetofile.php
183
-     * @param $filename
184
-     * @param $start [optional]
185
-     * @param $length [optional]
186
-     * @return bool TRUE on success or FALSE on failure.
187
-     */
188
-    public function writetofile($filename, $start, $length) {}
189
-
190
-    /**
191
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
192
-     * Exports LOB's contents to a file
193
-     * @link https://php.net/manual/en/oci-lob.export.php
194
-     * @param string $filename <p>
195
-     * Path to the file.
196
-     * </p>
197
-     * @param int $start [optional] <p>
198
-     * Indicates from where to start exporting.
199
-     * </p>
200
-     * @param int $length [optional] <p>
201
-     * Indicates the length of data to be exported.
202
-     * </p>
203
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
204
-     */
205
-    public function export($filename, $start = null, $length = null) {}
206
-
207
-    /**
208
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
209
-     * Imports file data to the LOB
210
-     * @link https://php.net/manual/en/oci-lob.import.php
211
-     * @param string $filename <p>
212
-     * Path to the file.
213
-     * </p>
214
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
215
-     */
216
-    public function import($filename) {}
217
-
218
-    /**
219
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
220
-     * Writes a temporary large object
221
-     * @link https://php.net/manual/en/oci-lob.writetemporary.php
222
-     * @param string $data <p>
223
-     * The data to write.
224
-     * </p>
225
-     * @param int $lob_type [optional] <p>
226
-     * Can be one of the following:
227
-     * <b>OCI_TEMP_BLOB</b> is used to create temporary BLOBs
228
-     * <b>OCI_TEMP_CLOB</b> is used to create
229
-     * temporary CLOBs
230
-     * </p>
231
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
232
-     */
233
-    public function writeTemporary($data, $lob_type = OCI_TEMP_CLOB) {}
234
-
235
-    /**
236
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
237
-     * Closes LOB descriptor
238
-     * @link https://php.net/manual/en/oci-lob.close.php
239
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
240
-     */
241
-    public function close() {}
242
-
243
-    /**
244
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
245
-     * Saves data to the large object
246
-     * @link https://php.net/manual/en/oci-lob.save.php
247
-     * @param string $data <p>
248
-     * The data to be saved.
249
-     * </p>
250
-     * @param int $offset [optional] <p>
251
-     * Can be used to indicate offset from the beginning of the large object.
252
-     * </p>
253
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
254
-     */
255
-    public function save($data, $offset = null) {}
256
-
257
-    /**
258
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
259
-     * Alias of {@see OCILob::import}
260
-     * @link https://php.net/manual/en/oci-lob.savefile.php
261
-     * @param $filename
262
-     * @return bool Return true on success and false on failure
263
-     */
264
-    public function savefile($filename) {}
265
-
266
-    /**
267
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
268
-     * Frees resources associated with the LOB descriptor
269
-     * @link https://php.net/manual/en/oci-lob.free.php
270
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
271
-     */
272
-    public function free() {}
12
+	/**
13
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
14
+	 * Returns large object's contents
15
+	 * @link https://php.net/manual/en/oci-lob.load.php
16
+	 * @return string|false The contents of the object, or <b>FALSE</b> on errors.
17
+	 */
18
+	public function load() {}
19
+
20
+	/**
21
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
22
+	 * Returns the current position of internal pointer of large object
23
+	 * @link https://php.net/manual/en/oci-lob.tell.php
24
+	 * @return int|false Current position of a LOB's internal pointer or <b>FALSE</b> if an
25
+	 * error occurred.
26
+	 */
27
+	public function tell() {}
28
+
29
+	/**
30
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
31
+	 * Truncates large object
32
+	 * @link https://php.net/manual/en/oci-lob.truncate.php
33
+	 * @param int $length [optional] <p>
34
+	 * If provided, this method will truncate the LOB to
35
+	 * <i>length</i> bytes. Otherwise, it will completely
36
+	 * purge the LOB.
37
+	 * </p>
38
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
39
+	 */
40
+	public function truncate($length = 0) {}
41
+
42
+	/**
43
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
44
+	 * Erases a specified portion of the internal LOB data
45
+	 * @link https://php.net/manual/en/oci-lob.erase.php
46
+	 * @param int $offset [optional]
47
+	 * @param int $length [optional]
48
+	 * @return int|false The actual number of characters/bytes erased or <b>FALSE</b> on failure.
49
+	 */
50
+	public function erase($offset = null, $length = null) {}
51
+
52
+	/**
53
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
54
+	 * Flushes/writes buffer of the LOB to the server
55
+	 * @link https://php.net/manual/en/oci-lob.flush.php
56
+	 * @param int $flag [optional] <p>
57
+	 * By default, resources are not freed, but using flag
58
+	 * <b>OCI_LOB_BUFFER_FREE</b> you can do it explicitly.
59
+	 * Be sure you know what you're doing - next read/write operation to the
60
+	 * same part of LOB will involve a round-trip to the server and initialize
61
+	 * new buffer resources. It is recommended to use
62
+	 * <b>OCI_LOB_BUFFER_FREE</b> flag only when you are not
63
+	 * going to work with the LOB anymore.
64
+	 * </p>
65
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
66
+	 * </p>
67
+	 * <p>
68
+	 * Returns <b>FALSE</b> if buffering was not enabled or an error occurred.
69
+	 */
70
+	public function flush($flag = null) {}
71
+
72
+	/**
73
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
74
+	 * Changes current state of buffering for the large object
75
+	 * @link https://php.net/manual/en/oci-lob.setbuffering.php
76
+	 * @param bool $on_off <p>
77
+	 * <b>TRUE</b> for on and <b>FALSE</b> for off.
78
+	 * </p>
79
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure. Repeated calls to this method with the same flag will
80
+	 * return <b>TRUE</b>.
81
+	 */
82
+	public function setbuffering($on_off) {}
83
+
84
+	/**
85
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
86
+	 * Returns current state of buffering for the large object
87
+	 * @link https://php.net/manual/en/oci-lob.getbuffering.php
88
+	 * @return bool <b>FALSE</b> if buffering for the large object is off and <b>TRUE</b> if
89
+	 * buffering is used.
90
+	 */
91
+	public function getbuffering() {}
92
+
93
+	/**
94
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
95
+	 * Moves the internal pointer to the beginning of the large object
96
+	 * @link https://php.net/manual/en/oci-lob.rewind.php
97
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
98
+	 */
99
+	public function rewind() {}
100
+
101
+	/**
102
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
103
+	 * Reads part of the large object
104
+	 * @link https://php.net/manual/en/oci-lob.read.php
105
+	 * @param int $length <p>
106
+	 * The length of data to read, in bytes. Large values will be rounded down to 1 MB.
107
+	 * </p>
108
+	 * @return string|false The contents as a string, or <b>FALSE</b> on failure.
109
+	 */
110
+	public function read($length) {}
111
+
112
+	/**
113
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
114
+	 * Tests for end-of-file on a large object's descriptor
115
+	 * @link https://php.net/manual/en/oci-lob.eof.php
116
+	 * @return bool <b>TRUE</b> if internal pointer of large object is at the end of LOB.
117
+	 * Otherwise returns <b>FALSE</b>.
118
+	 */
119
+	public function eof() {}
120
+
121
+	/**
122
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
123
+	 * Sets the internal pointer of the large object
124
+	 * @link https://php.net/manual/en/oci-lob.seek.php
125
+	 * @param int $offset <p>
126
+	 * Indicates the amount of bytes, on which internal pointer should be
127
+	 * moved from the position, pointed by <i>whence</i>.
128
+	 * </p>
129
+	 * @param int $whence [optional] <p>
130
+	 * May be one of:
131
+	 * <b>OCI_SEEK_SET</b> - sets the position equal to
132
+	 * <i>offset</i>
133
+	 * <b>OCI_SEEK_CUR</b> - adds <i>offset</i>
134
+	 * bytes to the current position
135
+	 * <b>OCI_SEEK_END</b> - adds <i>offset</i>
136
+	 * bytes to the end of large object (use negative value to move to a position
137
+	 * before the end of large object)
138
+	 * </p>
139
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
140
+	 */
141
+	public function seek($offset, $whence = OCI_SEEK_SET) {}
142
+
143
+	/**
144
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
145
+	 * Writes data to the large object
146
+	 * @link https://php.net/manual/en/oci-lob.write.php
147
+	 * @param string $data <p>
148
+	 * The data to write in the LOB.
149
+	 * </p>
150
+	 * @param int $length [optional] <p>
151
+	 * If this parameter is given, writing will stop after
152
+	 * <i>length</i> bytes have been written or the end of
153
+	 * <i>data</i> is reached, whichever comes first.
154
+	 * </p>
155
+	 * @return int|false The number of bytes written or <b>FALSE</b> on failure.
156
+	 */
157
+	public function write($data, $length = null) {}
158
+
159
+	/**
160
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
161
+	 * Appends data from the large object to another large object
162
+	 * @link https://php.net/manual/en/oci-lob.append.php
163
+	 * @param OCILob $lob_from <p>
164
+	 * The copied LOB.
165
+	 * </p>
166
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
167
+	 */
168
+	public function append(OCILob $lob_from) {}
169
+
170
+	/**
171
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
172
+	 * Returns size of large object
173
+	 * @link https://php.net/manual/en/oci-lob.size.php
174
+	 * @return int|false Length of large object value or <b>FALSE</b> on failure.
175
+	 * Empty objects have zero length.
176
+	 */
177
+	public function size() {}
178
+
179
+	/**
180
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
181
+	 * Alias of {@see OCILob::export}
182
+	 * @link https://php.net/manual/en/oci-lob.writetofile.php
183
+	 * @param $filename
184
+	 * @param $start [optional]
185
+	 * @param $length [optional]
186
+	 * @return bool TRUE on success or FALSE on failure.
187
+	 */
188
+	public function writetofile($filename, $start, $length) {}
189
+
190
+	/**
191
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
192
+	 * Exports LOB's contents to a file
193
+	 * @link https://php.net/manual/en/oci-lob.export.php
194
+	 * @param string $filename <p>
195
+	 * Path to the file.
196
+	 * </p>
197
+	 * @param int $start [optional] <p>
198
+	 * Indicates from where to start exporting.
199
+	 * </p>
200
+	 * @param int $length [optional] <p>
201
+	 * Indicates the length of data to be exported.
202
+	 * </p>
203
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
204
+	 */
205
+	public function export($filename, $start = null, $length = null) {}
206
+
207
+	/**
208
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
209
+	 * Imports file data to the LOB
210
+	 * @link https://php.net/manual/en/oci-lob.import.php
211
+	 * @param string $filename <p>
212
+	 * Path to the file.
213
+	 * </p>
214
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
215
+	 */
216
+	public function import($filename) {}
217
+
218
+	/**
219
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
220
+	 * Writes a temporary large object
221
+	 * @link https://php.net/manual/en/oci-lob.writetemporary.php
222
+	 * @param string $data <p>
223
+	 * The data to write.
224
+	 * </p>
225
+	 * @param int $lob_type [optional] <p>
226
+	 * Can be one of the following:
227
+	 * <b>OCI_TEMP_BLOB</b> is used to create temporary BLOBs
228
+	 * <b>OCI_TEMP_CLOB</b> is used to create
229
+	 * temporary CLOBs
230
+	 * </p>
231
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
232
+	 */
233
+	public function writeTemporary($data, $lob_type = OCI_TEMP_CLOB) {}
234
+
235
+	/**
236
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
237
+	 * Closes LOB descriptor
238
+	 * @link https://php.net/manual/en/oci-lob.close.php
239
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
240
+	 */
241
+	public function close() {}
242
+
243
+	/**
244
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
245
+	 * Saves data to the large object
246
+	 * @link https://php.net/manual/en/oci-lob.save.php
247
+	 * @param string $data <p>
248
+	 * The data to be saved.
249
+	 * </p>
250
+	 * @param int $offset [optional] <p>
251
+	 * Can be used to indicate offset from the beginning of the large object.
252
+	 * </p>
253
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
254
+	 */
255
+	public function save($data, $offset = null) {}
256
+
257
+	/**
258
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
259
+	 * Alias of {@see OCILob::import}
260
+	 * @link https://php.net/manual/en/oci-lob.savefile.php
261
+	 * @param $filename
262
+	 * @return bool Return true on success and false on failure
263
+	 */
264
+	public function savefile($filename) {}
265
+
266
+	/**
267
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
268
+	 * Frees resources associated with the LOB descriptor
269
+	 * @link https://php.net/manual/en/oci-lob.free.php
270
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
271
+	 */
272
+	public function free() {}
273 273
 }
274 274
 
275 275
 /**
@@ -279,92 +279,92 @@  discard block
 block discarded – undo
279 279
  */
280 280
 class OCICollection
281 281
 {
282
-    /**
283
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
284
-     * Appends element to the collection
285
-     * @link https://php.net/manual/en/oci-collection.append.php
286
-     * @param mixed $value <p>
287
-     * The value to be added to the collection. Can be a string or a number.
288
-     * </p>
289
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
290
-     */
291
-    public function append($value) {}
292
-
293
-    /**
294
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
295
-     * Returns value of the element
296
-     * @link https://php.net/manual/en/oci-collection.getelem.php
297
-     * @param int $index <p>
298
-     * The element index. First index is 0.
299
-     * </p>
300
-     * @return mixed <b>FALSE</b> if such element doesn't exist; <b>NULL</b> if element is <b>NULL</b>;
301
-     * string if element is column of a string datatype or number if element is
302
-     * numeric field.
303
-     */
304
-    public function getelem($index) {}
305
-
306
-    /**
307
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
308
-     * Assigns a value to the element of the collection
309
-     * @link https://php.net/manual/en/oci-collection.assignelem.php
310
-     * @param int $index <p>
311
-     * The element index. First index is 0.
312
-     * </p>
313
-     * @param mixed $value <p>
314
-     * Can be a string or a number.
315
-     * </p>
316
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
317
-     */
318
-    public function assignelem($index, $value) {}
319
-
320
-    /**
321
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
322
-     * Assigns a value to the collection from another existing collection
323
-     * @link https://php.net/manual/en/oci-collection.assign.php
324
-     * @param OCICollection $from <p>
325
-     * An instance of OCICollection.
326
-     * </p>
327
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
328
-     */
329
-    public function assign(OCICollection $from) {}
330
-
331
-    /**
332
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
333
-     * Returns size of the collection
334
-     * @link https://php.net/manual/en/oci-collection.size.php
335
-     * @return int|false The number of elements in the collection or <b>FALSE</b> on error.
336
-     */
337
-    public function size() {}
338
-
339
-    /**
340
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
341
-     * Returns the maximum number of elements in the collection
342
-     * @link https://php.net/manual/en/oci-collection.max.php
343
-     * @return int|false The maximum number as an integer, or <b>FALSE</b> on errors.
344
-     * </p>
345
-     * <p>
346
-     * If the returned value is 0, then the number of elements is not limited.
347
-     */
348
-    public function max() {}
349
-
350
-    /**
351
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
352
-     * Trims elements from the end of the collection
353
-     * @link https://php.net/manual/en/oci-collection.trim.php
354
-     * @param int $num <p>
355
-     * The number of elements to be trimmed.
356
-     * </p>
357
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
358
-     */
359
-    public function trim($num) {}
360
-
361
-    /**
362
-     * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
363
-     * Frees the resources associated with the collection object
364
-     * @link https://php.net/manual/en/oci-collection.free.php
365
-     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
366
-     */
367
-    public function free() {}
282
+	/**
283
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
284
+	 * Appends element to the collection
285
+	 * @link https://php.net/manual/en/oci-collection.append.php
286
+	 * @param mixed $value <p>
287
+	 * The value to be added to the collection. Can be a string or a number.
288
+	 * </p>
289
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
290
+	 */
291
+	public function append($value) {}
292
+
293
+	/**
294
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
295
+	 * Returns value of the element
296
+	 * @link https://php.net/manual/en/oci-collection.getelem.php
297
+	 * @param int $index <p>
298
+	 * The element index. First index is 0.
299
+	 * </p>
300
+	 * @return mixed <b>FALSE</b> if such element doesn't exist; <b>NULL</b> if element is <b>NULL</b>;
301
+	 * string if element is column of a string datatype or number if element is
302
+	 * numeric field.
303
+	 */
304
+	public function getelem($index) {}
305
+
306
+	/**
307
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
308
+	 * Assigns a value to the element of the collection
309
+	 * @link https://php.net/manual/en/oci-collection.assignelem.php
310
+	 * @param int $index <p>
311
+	 * The element index. First index is 0.
312
+	 * </p>
313
+	 * @param mixed $value <p>
314
+	 * Can be a string or a number.
315
+	 * </p>
316
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
317
+	 */
318
+	public function assignelem($index, $value) {}
319
+
320
+	/**
321
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
322
+	 * Assigns a value to the collection from another existing collection
323
+	 * @link https://php.net/manual/en/oci-collection.assign.php
324
+	 * @param OCICollection $from <p>
325
+	 * An instance of OCICollection.
326
+	 * </p>
327
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
328
+	 */
329
+	public function assign(OCICollection $from) {}
330
+
331
+	/**
332
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
333
+	 * Returns size of the collection
334
+	 * @link https://php.net/manual/en/oci-collection.size.php
335
+	 * @return int|false The number of elements in the collection or <b>FALSE</b> on error.
336
+	 */
337
+	public function size() {}
338
+
339
+	/**
340
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
341
+	 * Returns the maximum number of elements in the collection
342
+	 * @link https://php.net/manual/en/oci-collection.max.php
343
+	 * @return int|false The maximum number as an integer, or <b>FALSE</b> on errors.
344
+	 * </p>
345
+	 * <p>
346
+	 * If the returned value is 0, then the number of elements is not limited.
347
+	 */
348
+	public function max() {}
349
+
350
+	/**
351
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
352
+	 * Trims elements from the end of the collection
353
+	 * @link https://php.net/manual/en/oci-collection.trim.php
354
+	 * @param int $num <p>
355
+	 * The number of elements to be trimmed.
356
+	 * </p>
357
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
358
+	 */
359
+	public function trim($num) {}
360
+
361
+	/**
362
+	 * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
363
+	 * Frees the resources associated with the collection object
364
+	 * @link https://php.net/manual/en/oci-collection.free.php
365
+	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
366
+	 */
367
+	public function free() {}
368 368
 }
369 369
 
370 370
 /**
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@  discard block
 block discarded – undo
7 7
  * @link https://php.net/manual/en/class.OCI-Lob.php
8 8
  * @since 8.0
9 9
  */
10
-class OCILob
11
-{
10
+class OCILob {
12 11
     /**
13 12
      * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
14 13
      * Returns large object's contents
@@ -277,8 +276,7 @@  discard block
 block discarded – undo
277 276
  * @link https://php.net/manual/en/class.OCICollection.php
278 277
  * @since 8.0
279 278
  */
280
-class OCICollection
281
-{
279
+class OCICollection {
282 280
     /**
283 281
      * (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
284 282
      * Appends element to the collection
Please login to merge, or discard this patch.
vendor-bin/php-scoper/vendor/jetbrains/phpstorm-stubs/dom/dom_c.php 3 patches
Indentation   +2204 added lines, -2204 removed lines patch added patch discarded remove patch
@@ -12,379 +12,379 @@  discard block
 block discarded – undo
12 12
  */
13 13
 class DOMNode
14 14
 {
15
-    /**
16
-     * @var string
17
-     * Returns the most accurate name for the current node type
18
-     * @link https://php.net/manual/en/class.domnode.php#domnode.props.nodename
19
-     */
20
-    #[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
21
-    public $nodeName;
22
-
23
-    /**
24
-     * @var string
25
-     * The value of this node, depending on its type
26
-     * @link https://php.net/manual/en/class.domnode.php#domnode.props.nodevalue
27
-     */
28
-    #[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
29
-    public $nodeValue;
30
-
31
-    /**
32
-     * @var int
33
-     * Gets the type of the node. One of the predefined
34
-     * <a href="https://secure.php.net/manual/en/dom.constants.php">XML_xxx_NODE</a> constants
35
-     * @link https://php.net/manual/en/class.domnode.php#domnode.props.nodetype
36
-     */
37
-    #[LanguageLevelTypeAware(['8.1' => 'int'], default: '')]
38
-    public $nodeType;
39
-
40
-    /**
41
-     * @var DOMNode|null
42
-     * The parent of this node. If there is no such node, this returns NULL.
43
-     * @link https://php.net/manual/en/class.domnode.php#domnode.props.parentnode
44
-     */
45
-    #[LanguageLevelTypeAware(['8.1' => 'DOMNode|null'], default: '')]
46
-    public $parentNode;
47
-
48
-    /**
49
-     * @var DOMNodeList
50
-     * A <classname>DOMNodeList</classname> that contains all children of this node. If there are no children, this is an empty <classname>DOMNodeList</classname>.
51
-     * @link https://php.net/manual/en/class.domnode.php#domnode.props.childnodes
52
-     */
53
-    #[LanguageLevelTypeAware(['8.1' => 'DOMNodeList'], default: '')]
54
-    public $childNodes;
55
-
56
-    /**
57
-     * @var DOMNode|null
58
-     * The first child of this node. If there is no such node, this returns NULL.
59
-     * @link https://php.net/manual/en/class.domnode.php#domnode.props.firstchild
60
-     */
61
-    #[LanguageLevelTypeAware(['8.1' => 'DOMNode|null'], default: '')]
62
-    public $firstChild;
63
-
64
-    /**
65
-     * @var DOMNode|null
66
-     * The last child of this node. If there is no such node, this returns NULL.
67
-     * @link https://php.net/manual/en/class.domnode.php#domnode.props.lastchild
68
-     */
69
-    #[LanguageLevelTypeAware(['8.1' => 'DOMNode|null'], default: '')]
70
-    public $lastChild;
71
-
72
-    /**
73
-     * @var DOMNode|null
74
-     * The node immediately preceding this node. If there is no such node, this returns NULL.
75
-     * @link https://php.net/manual/en/class.domnode.php#domnode.props.previoussibling
76
-     */
77
-    #[LanguageLevelTypeAware(['8.1' => 'DOMNode|null'], default: '')]
78
-    public $previousSibling;
79
-
80
-    /**
81
-     * @var DOMNode|null
82
-     * The node immediately following this node. If there is no such node, this returns NULL.
83
-     * @link https://php.net/manual/en/class.domnode.php#domnode.props.nextsibling
84
-     */
85
-    #[LanguageLevelTypeAware(['8.1' => 'DOMNode|null'], default: '')]
86
-    public $nextSibling;
87
-
88
-    /**
89
-     * @var DOMNamedNodeMap|null
90
-     * A <classname>DOMNamedNodeMap</classname> containing the attributes of this node (if it is a <classname>DOMElement</classname>) or NULL otherwise.
91
-     * @link https://php.net/manual/en/class.domnode.php#domnode.props.attributes
92
-     */
93
-    #[LanguageLevelTypeAware(['8.1' => 'DOMNamedNodeMap|null'], default: '')]
94
-    public $attributes;
95
-
96
-    /**
97
-     * @var DOMDocument|null
98
-     * The <classname>DOMDocument</classname> object associated with this node, or NULL if this node is a <classname>DOMDocument</classname>.
99
-     * @link https://php.net/manual/en/class.domnode.php#domnode.props.ownerdocument
100
-     */
101
-    #[LanguageLevelTypeAware(['8.1' => 'DOMDocument|null'], default: '')]
102
-    public $ownerDocument;
103
-
104
-    /**
105
-     * @var string|null
106
-     * The namespace URI of this node, or NULL if it is unspecified.
107
-     * @link https://php.net/manual/en/class.domnode.php#domnode.props.namespaceuri
108
-     */
109
-    #[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
110
-    public $namespaceURI;
111
-
112
-    /**
113
-     * @var string|null
114
-     * The namespace prefix of this node, or NULL if it is unspecified.
115
-     * @link https://php.net/manual/en/class.domnode.php#domnode.props.prefix
116
-     */
117
-    #[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
118
-    public $prefix;
119
-
120
-    /**
121
-     * @var string
122
-     * Returns the local part of the qualified name of this node.
123
-     * @link https://php.net/manual/en/class.domnode.php#domnode.props.localname
124
-     */
125
-    #[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
126
-    public $localName;
127
-
128
-    /**
129
-     * @var string|null
130
-     * The absolute base URI of this node or NULL if the implementation wasn't able to obtain an absolute URI.
131
-     * @link https://php.net/manual/en/class.domnode.php#domnode.props.baseuri
132
-     */
133
-    #[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
134
-    public $baseURI;
135
-
136
-    /**
137
-     * @var string
138
-     * This attribute returns the text content of this node and its descendants.
139
-     * @link https://php.net/manual/en/class.domnode.php#domnode.props.textcontent
140
-     */
141
-    #[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
142
-    public $textContent;
143
-
144
-    /**
145
-     * Adds a new child before a reference node
146
-     * @link https://php.net/manual/en/domnode.insertbefore.php
147
-     * @param DOMNode $node <p>
148
-     * The new node.
149
-     * </p>
150
-     * @param null|DOMNode $child [optional] <p>
151
-     * The reference node. If not supplied, newnode is
152
-     * appended to the children.
153
-     * </p>
154
-     * @return DOMNode The inserted node.
155
-     */
156
-    public function insertBefore(
157
-        DOMNode $node,
158
-        #[LanguageLevelTypeAware(['8.0' => 'DOMNode|null'], default: 'DOMNode')] $child = null
159
-    ) {}
160
-
161
-    /**
162
-     * Replaces a child
163
-     * @link https://php.net/manual/en/domnode.replacechild.php
164
-     * @param DOMNode $node <p>
165
-     * The new node. It must be a member of the target document, i.e.
166
-     * created by one of the DOMDocument->createXXX() methods or imported in
167
-     * the document by .
168
-     * </p>
169
-     * @param DOMNode $child <p>
170
-     * The old node.
171
-     * </p>
172
-     * @return DOMNode|false The old node or false if an error occur.
173
-     */
174
-    public function replaceChild(DOMNode $node, DOMNode $child) {}
175
-
176
-    /**
177
-     * Removes child from list of children
178
-     * @link https://php.net/manual/en/domnode.removechild.php
179
-     * @param DOMNode $child <p>
180
-     * The removed child.
181
-     * </p>
182
-     * @return DOMNode If the child could be removed the functions returns the old child.
183
-     */
184
-    public function removeChild(DOMNode $child) {}
185
-
186
-    /**
187
-     * Adds new child at the end of the children
188
-     * @link https://php.net/manual/en/domnode.appendchild.php
189
-     * @param DOMNode $node <p>
190
-     * The appended child.
191
-     * </p>
192
-     * @return DOMNode The node added.
193
-     */
194
-    public function appendChild(DOMNode $node) {}
195
-
196
-    /**
197
-     * Checks if node has children
198
-     * @link https://php.net/manual/en/domnode.haschildnodes.php
199
-     * @return bool true on success or false on failure.
200
-     */
201
-    #[TentativeType]
202
-    public function hasChildNodes(): bool {}
203
-
204
-    /**
205
-     * Clones a node
206
-     * @link https://php.net/manual/en/domnode.clonenode.php
207
-     * @param bool $deep [optional] <p>
208
-     * Indicates whether to copy all descendant nodes. This parameter is
209
-     * defaulted to false.
210
-     * </p>
211
-     * @return static The cloned node.
212
-     */
213
-    public function cloneNode(#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $deep = false) {}
214
-
215
-    /**
216
-     * Normalizes the node
217
-     * @link https://php.net/manual/en/domnode.normalize.php
218
-     * @return void
219
-     */
220
-    #[TentativeType]
221
-    public function normalize(): void {}
222
-
223
-    /**
224
-     * Checks if feature is supported for specified version
225
-     * @link https://php.net/manual/en/domnode.issupported.php
226
-     * @param string $feature <p>
227
-     * The feature to test. See the example of
228
-     * DOMImplementation::hasFeature for a
229
-     * list of features.
230
-     * </p>
231
-     * @param string $version <p>
232
-     * The version number of the feature to test.
233
-     * </p>
234
-     * @return bool true on success or false on failure.
235
-     */
236
-    #[TentativeType]
237
-    public function isSupported(
238
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $feature,
239
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $version
240
-    ): bool {}
241
-
242
-    /**
243
-     * Checks if node has attributes
244
-     * @link https://php.net/manual/en/domnode.hasattributes.php
245
-     * @return bool true on success or false on failure.
246
-     */
247
-    #[TentativeType]
248
-    public function hasAttributes(): bool {}
249
-
250
-    /**
251
-     * @param DOMNode $other
252
-     */
253
-    public function compareDocumentPosition(DOMNode $other) {}
254
-
255
-    /**
256
-     * Indicates if two nodes are the same node
257
-     * @link https://php.net/manual/en/domnode.issamenode.php
258
-     * @param DOMNode $otherNode <p>
259
-     * The compared node.
260
-     * </p>
261
-     * @return bool true on success or false on failure.
262
-     */
263
-    #[TentativeType]
264
-    public function isSameNode(DOMNode $otherNode): bool {}
265
-
266
-    /**
267
-     * Gets the namespace prefix of the node based on the namespace URI
268
-     * @link https://php.net/manual/en/domnode.lookupprefix.php
269
-     * @param string $namespace <p>
270
-     * The namespace URI.
271
-     * </p>
272
-     * @return string The prefix of the namespace.
273
-     */
274
-    #[TentativeType]
275
-    public function lookupPrefix(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $namespace): ?string {}
276
-
277
-    /**
278
-     * Checks if the specified namespaceURI is the default namespace or not
279
-     * @link https://php.net/manual/en/domnode.isdefaultnamespace.php
280
-     * @param string $namespace <p>
281
-     * The namespace URI to look for.
282
-     * </p>
283
-     * @return bool Return true if namespaceURI is the default
284
-     * namespace, false otherwise.
285
-     */
286
-    #[TentativeType]
287
-    public function isDefaultNamespace(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $namespace): bool {}
288
-
289
-    /**
290
-     * Gets the namespace URI of the node based on the prefix
291
-     * @link https://php.net/manual/en/domnode.lookupnamespaceuri.php
292
-     * @param string|null $prefix <p>
293
-     * The prefix of the namespace.
294
-     * </p>
295
-     * @return string The namespace URI of the node.
296
-     */
297
-    #[PhpStormStubsElementAvailable(from: '8.0')]
298
-    #[TentativeType]
299
-    public function lookupNamespaceURI(?string $prefix): ?string {}
300
-
301
-    /**
302
-     * Gets the namespace URI of the node based on the prefix
303
-     * @link https://php.net/manual/en/domnode.lookupnamespaceuri.php
304
-     * @param string $prefix <p>
305
-     * The prefix of the namespace.
306
-     * </p>
307
-     * @return string The namespace URI of the node.
308
-     */
309
-    #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')]
310
-    public function lookupNamespaceUri($prefix) {}
311
-
312
-    /**
313
-     * @param DOMNode $arg
314
-     * @return bool
315
-     */
316
-    public function isEqualNode(DOMNode $arg) {}
317
-
318
-    /**
319
-     * @param $feature
320
-     * @param $version
321
-     * @return mixed
322
-     */
323
-    public function getFeature($feature, $version) {}
324
-
325
-    /**
326
-     * @param $key
327
-     * @param $data
328
-     * @param $handler
329
-     */
330
-    public function setUserData($key, $data, $handler) {}
331
-
332
-    /**
333
-     * @param $key
334
-     * @return mixed
335
-     */
336
-    public function getUserData($key) {}
337
-
338
-    /**
339
-     * Gets an XPath location path for the node
340
-     * @return string|null the XPath, or NULL in case of an error.
341
-     * @link https://secure.php.net/manual/en/domnode.getnodepath.php
342
-     */
343
-    #[TentativeType]
344
-    public function getNodePath(): ?string {}
345
-
346
-    /**
347
-     * Get line number for a node
348
-     * @link https://php.net/manual/en/domnode.getlineno.php
349
-     * @return int Always returns the line number where the node was defined in.
350
-     */
351
-    #[TentativeType]
352
-    public function getLineNo(): int {}
353
-
354
-    /**
355
-     * Canonicalize nodes to a string
356
-     * @param bool $exclusive [optional] Enable exclusive parsing of only the nodes matched by the provided xpath or namespace prefixes.
357
-     * @param bool $withComments [optional] Retain comments in output.
358
-     * @param null|array $xpath [optional] An array of xpaths to filter the nodes by.
359
-     * @param null|array $nsPrefixes [optional] An array of namespace prefixes to filter the nodes by.
360
-     * @return string|false Canonicalized nodes as a string or FALSE on failure
361
-     */
362
-    #[TentativeType]
363
-    public function C14N(
364
-        #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $exclusive = false,
365
-        #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $withComments = false,
366
-        #[LanguageLevelTypeAware(['8.0' => 'array|null'], default: 'array')] $xpath = null,
367
-        #[LanguageLevelTypeAware(['8.0' => 'array|null'], default: 'array')] $nsPrefixes = null
368
-    ): string|false {}
369
-
370
-    /**
371
-     * Canonicalize nodes to a file.
372
-     * @link https://www.php.net/manual/en/domnode.c14nfile
373
-     * @param string $uri Number of bytes written or FALSE on failure
374
-     * @param bool $exclusive [optional] Enable exclusive parsing of only the nodes matched by the provided xpath or namespace prefixes.
375
-     * @param bool $withComments [optional]  Retain comments in output.
376
-     * @param null|array $xpath [optional] An array of xpaths to filter the nodes by.
377
-     * @param null|array $nsPrefixes [optional] An array of namespace prefixes to filter the nodes by.
378
-     * @return int|false Number of bytes written or FALSE on failure
379
-     */
380
-    #[TentativeType]
381
-    public function C14NFile(
382
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $uri,
383
-        #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $exclusive = false,
384
-        #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $withComments = false,
385
-        #[LanguageLevelTypeAware(['8.0' => 'array|null'], default: 'array')] $xpath = null,
386
-        #[LanguageLevelTypeAware(['8.0' => 'array|null'], default: 'array')] $nsPrefixes = null
387
-    ): int|false {}
15
+	/**
16
+	 * @var string
17
+	 * Returns the most accurate name for the current node type
18
+	 * @link https://php.net/manual/en/class.domnode.php#domnode.props.nodename
19
+	 */
20
+	#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
21
+	public $nodeName;
22
+
23
+	/**
24
+	 * @var string
25
+	 * The value of this node, depending on its type
26
+	 * @link https://php.net/manual/en/class.domnode.php#domnode.props.nodevalue
27
+	 */
28
+	#[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
29
+	public $nodeValue;
30
+
31
+	/**
32
+	 * @var int
33
+	 * Gets the type of the node. One of the predefined
34
+	 * <a href="https://secure.php.net/manual/en/dom.constants.php">XML_xxx_NODE</a> constants
35
+	 * @link https://php.net/manual/en/class.domnode.php#domnode.props.nodetype
36
+	 */
37
+	#[LanguageLevelTypeAware(['8.1' => 'int'], default: '')]
38
+	public $nodeType;
39
+
40
+	/**
41
+	 * @var DOMNode|null
42
+	 * The parent of this node. If there is no such node, this returns NULL.
43
+	 * @link https://php.net/manual/en/class.domnode.php#domnode.props.parentnode
44
+	 */
45
+	#[LanguageLevelTypeAware(['8.1' => 'DOMNode|null'], default: '')]
46
+	public $parentNode;
47
+
48
+	/**
49
+	 * @var DOMNodeList
50
+	 * A <classname>DOMNodeList</classname> that contains all children of this node. If there are no children, this is an empty <classname>DOMNodeList</classname>.
51
+	 * @link https://php.net/manual/en/class.domnode.php#domnode.props.childnodes
52
+	 */
53
+	#[LanguageLevelTypeAware(['8.1' => 'DOMNodeList'], default: '')]
54
+	public $childNodes;
55
+
56
+	/**
57
+	 * @var DOMNode|null
58
+	 * The first child of this node. If there is no such node, this returns NULL.
59
+	 * @link https://php.net/manual/en/class.domnode.php#domnode.props.firstchild
60
+	 */
61
+	#[LanguageLevelTypeAware(['8.1' => 'DOMNode|null'], default: '')]
62
+	public $firstChild;
63
+
64
+	/**
65
+	 * @var DOMNode|null
66
+	 * The last child of this node. If there is no such node, this returns NULL.
67
+	 * @link https://php.net/manual/en/class.domnode.php#domnode.props.lastchild
68
+	 */
69
+	#[LanguageLevelTypeAware(['8.1' => 'DOMNode|null'], default: '')]
70
+	public $lastChild;
71
+
72
+	/**
73
+	 * @var DOMNode|null
74
+	 * The node immediately preceding this node. If there is no such node, this returns NULL.
75
+	 * @link https://php.net/manual/en/class.domnode.php#domnode.props.previoussibling
76
+	 */
77
+	#[LanguageLevelTypeAware(['8.1' => 'DOMNode|null'], default: '')]
78
+	public $previousSibling;
79
+
80
+	/**
81
+	 * @var DOMNode|null
82
+	 * The node immediately following this node. If there is no such node, this returns NULL.
83
+	 * @link https://php.net/manual/en/class.domnode.php#domnode.props.nextsibling
84
+	 */
85
+	#[LanguageLevelTypeAware(['8.1' => 'DOMNode|null'], default: '')]
86
+	public $nextSibling;
87
+
88
+	/**
89
+	 * @var DOMNamedNodeMap|null
90
+	 * A <classname>DOMNamedNodeMap</classname> containing the attributes of this node (if it is a <classname>DOMElement</classname>) or NULL otherwise.
91
+	 * @link https://php.net/manual/en/class.domnode.php#domnode.props.attributes
92
+	 */
93
+	#[LanguageLevelTypeAware(['8.1' => 'DOMNamedNodeMap|null'], default: '')]
94
+	public $attributes;
95
+
96
+	/**
97
+	 * @var DOMDocument|null
98
+	 * The <classname>DOMDocument</classname> object associated with this node, or NULL if this node is a <classname>DOMDocument</classname>.
99
+	 * @link https://php.net/manual/en/class.domnode.php#domnode.props.ownerdocument
100
+	 */
101
+	#[LanguageLevelTypeAware(['8.1' => 'DOMDocument|null'], default: '')]
102
+	public $ownerDocument;
103
+
104
+	/**
105
+	 * @var string|null
106
+	 * The namespace URI of this node, or NULL if it is unspecified.
107
+	 * @link https://php.net/manual/en/class.domnode.php#domnode.props.namespaceuri
108
+	 */
109
+	#[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
110
+	public $namespaceURI;
111
+
112
+	/**
113
+	 * @var string|null
114
+	 * The namespace prefix of this node, or NULL if it is unspecified.
115
+	 * @link https://php.net/manual/en/class.domnode.php#domnode.props.prefix
116
+	 */
117
+	#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
118
+	public $prefix;
119
+
120
+	/**
121
+	 * @var string
122
+	 * Returns the local part of the qualified name of this node.
123
+	 * @link https://php.net/manual/en/class.domnode.php#domnode.props.localname
124
+	 */
125
+	#[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
126
+	public $localName;
127
+
128
+	/**
129
+	 * @var string|null
130
+	 * The absolute base URI of this node or NULL if the implementation wasn't able to obtain an absolute URI.
131
+	 * @link https://php.net/manual/en/class.domnode.php#domnode.props.baseuri
132
+	 */
133
+	#[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
134
+	public $baseURI;
135
+
136
+	/**
137
+	 * @var string
138
+	 * This attribute returns the text content of this node and its descendants.
139
+	 * @link https://php.net/manual/en/class.domnode.php#domnode.props.textcontent
140
+	 */
141
+	#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
142
+	public $textContent;
143
+
144
+	/**
145
+	 * Adds a new child before a reference node
146
+	 * @link https://php.net/manual/en/domnode.insertbefore.php
147
+	 * @param DOMNode $node <p>
148
+	 * The new node.
149
+	 * </p>
150
+	 * @param null|DOMNode $child [optional] <p>
151
+	 * The reference node. If not supplied, newnode is
152
+	 * appended to the children.
153
+	 * </p>
154
+	 * @return DOMNode The inserted node.
155
+	 */
156
+	public function insertBefore(
157
+		DOMNode $node,
158
+		#[LanguageLevelTypeAware(['8.0' => 'DOMNode|null'], default: 'DOMNode')] $child = null
159
+	) {}
160
+
161
+	/**
162
+	 * Replaces a child
163
+	 * @link https://php.net/manual/en/domnode.replacechild.php
164
+	 * @param DOMNode $node <p>
165
+	 * The new node. It must be a member of the target document, i.e.
166
+	 * created by one of the DOMDocument->createXXX() methods or imported in
167
+	 * the document by .
168
+	 * </p>
169
+	 * @param DOMNode $child <p>
170
+	 * The old node.
171
+	 * </p>
172
+	 * @return DOMNode|false The old node or false if an error occur.
173
+	 */
174
+	public function replaceChild(DOMNode $node, DOMNode $child) {}
175
+
176
+	/**
177
+	 * Removes child from list of children
178
+	 * @link https://php.net/manual/en/domnode.removechild.php
179
+	 * @param DOMNode $child <p>
180
+	 * The removed child.
181
+	 * </p>
182
+	 * @return DOMNode If the child could be removed the functions returns the old child.
183
+	 */
184
+	public function removeChild(DOMNode $child) {}
185
+
186
+	/**
187
+	 * Adds new child at the end of the children
188
+	 * @link https://php.net/manual/en/domnode.appendchild.php
189
+	 * @param DOMNode $node <p>
190
+	 * The appended child.
191
+	 * </p>
192
+	 * @return DOMNode The node added.
193
+	 */
194
+	public function appendChild(DOMNode $node) {}
195
+
196
+	/**
197
+	 * Checks if node has children
198
+	 * @link https://php.net/manual/en/domnode.haschildnodes.php
199
+	 * @return bool true on success or false on failure.
200
+	 */
201
+	#[TentativeType]
202
+	public function hasChildNodes(): bool {}
203
+
204
+	/**
205
+	 * Clones a node
206
+	 * @link https://php.net/manual/en/domnode.clonenode.php
207
+	 * @param bool $deep [optional] <p>
208
+	 * Indicates whether to copy all descendant nodes. This parameter is
209
+	 * defaulted to false.
210
+	 * </p>
211
+	 * @return static The cloned node.
212
+	 */
213
+	public function cloneNode(#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $deep = false) {}
214
+
215
+	/**
216
+	 * Normalizes the node
217
+	 * @link https://php.net/manual/en/domnode.normalize.php
218
+	 * @return void
219
+	 */
220
+	#[TentativeType]
221
+	public function normalize(): void {}
222
+
223
+	/**
224
+	 * Checks if feature is supported for specified version
225
+	 * @link https://php.net/manual/en/domnode.issupported.php
226
+	 * @param string $feature <p>
227
+	 * The feature to test. See the example of
228
+	 * DOMImplementation::hasFeature for a
229
+	 * list of features.
230
+	 * </p>
231
+	 * @param string $version <p>
232
+	 * The version number of the feature to test.
233
+	 * </p>
234
+	 * @return bool true on success or false on failure.
235
+	 */
236
+	#[TentativeType]
237
+	public function isSupported(
238
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $feature,
239
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $version
240
+	): bool {}
241
+
242
+	/**
243
+	 * Checks if node has attributes
244
+	 * @link https://php.net/manual/en/domnode.hasattributes.php
245
+	 * @return bool true on success or false on failure.
246
+	 */
247
+	#[TentativeType]
248
+	public function hasAttributes(): bool {}
249
+
250
+	/**
251
+	 * @param DOMNode $other
252
+	 */
253
+	public function compareDocumentPosition(DOMNode $other) {}
254
+
255
+	/**
256
+	 * Indicates if two nodes are the same node
257
+	 * @link https://php.net/manual/en/domnode.issamenode.php
258
+	 * @param DOMNode $otherNode <p>
259
+	 * The compared node.
260
+	 * </p>
261
+	 * @return bool true on success or false on failure.
262
+	 */
263
+	#[TentativeType]
264
+	public function isSameNode(DOMNode $otherNode): bool {}
265
+
266
+	/**
267
+	 * Gets the namespace prefix of the node based on the namespace URI
268
+	 * @link https://php.net/manual/en/domnode.lookupprefix.php
269
+	 * @param string $namespace <p>
270
+	 * The namespace URI.
271
+	 * </p>
272
+	 * @return string The prefix of the namespace.
273
+	 */
274
+	#[TentativeType]
275
+	public function lookupPrefix(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $namespace): ?string {}
276
+
277
+	/**
278
+	 * Checks if the specified namespaceURI is the default namespace or not
279
+	 * @link https://php.net/manual/en/domnode.isdefaultnamespace.php
280
+	 * @param string $namespace <p>
281
+	 * The namespace URI to look for.
282
+	 * </p>
283
+	 * @return bool Return true if namespaceURI is the default
284
+	 * namespace, false otherwise.
285
+	 */
286
+	#[TentativeType]
287
+	public function isDefaultNamespace(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $namespace): bool {}
288
+
289
+	/**
290
+	 * Gets the namespace URI of the node based on the prefix
291
+	 * @link https://php.net/manual/en/domnode.lookupnamespaceuri.php
292
+	 * @param string|null $prefix <p>
293
+	 * The prefix of the namespace.
294
+	 * </p>
295
+	 * @return string The namespace URI of the node.
296
+	 */
297
+	#[PhpStormStubsElementAvailable(from: '8.0')]
298
+	#[TentativeType]
299
+	public function lookupNamespaceURI(?string $prefix): ?string {}
300
+
301
+	/**
302
+	 * Gets the namespace URI of the node based on the prefix
303
+	 * @link https://php.net/manual/en/domnode.lookupnamespaceuri.php
304
+	 * @param string $prefix <p>
305
+	 * The prefix of the namespace.
306
+	 * </p>
307
+	 * @return string The namespace URI of the node.
308
+	 */
309
+	#[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')]
310
+	public function lookupNamespaceUri($prefix) {}
311
+
312
+	/**
313
+	 * @param DOMNode $arg
314
+	 * @return bool
315
+	 */
316
+	public function isEqualNode(DOMNode $arg) {}
317
+
318
+	/**
319
+	 * @param $feature
320
+	 * @param $version
321
+	 * @return mixed
322
+	 */
323
+	public function getFeature($feature, $version) {}
324
+
325
+	/**
326
+	 * @param $key
327
+	 * @param $data
328
+	 * @param $handler
329
+	 */
330
+	public function setUserData($key, $data, $handler) {}
331
+
332
+	/**
333
+	 * @param $key
334
+	 * @return mixed
335
+	 */
336
+	public function getUserData($key) {}
337
+
338
+	/**
339
+	 * Gets an XPath location path for the node
340
+	 * @return string|null the XPath, or NULL in case of an error.
341
+	 * @link https://secure.php.net/manual/en/domnode.getnodepath.php
342
+	 */
343
+	#[TentativeType]
344
+	public function getNodePath(): ?string {}
345
+
346
+	/**
347
+	 * Get line number for a node
348
+	 * @link https://php.net/manual/en/domnode.getlineno.php
349
+	 * @return int Always returns the line number where the node was defined in.
350
+	 */
351
+	#[TentativeType]
352
+	public function getLineNo(): int {}
353
+
354
+	/**
355
+	 * Canonicalize nodes to a string
356
+	 * @param bool $exclusive [optional] Enable exclusive parsing of only the nodes matched by the provided xpath or namespace prefixes.
357
+	 * @param bool $withComments [optional] Retain comments in output.
358
+	 * @param null|array $xpath [optional] An array of xpaths to filter the nodes by.
359
+	 * @param null|array $nsPrefixes [optional] An array of namespace prefixes to filter the nodes by.
360
+	 * @return string|false Canonicalized nodes as a string or FALSE on failure
361
+	 */
362
+	#[TentativeType]
363
+	public function C14N(
364
+		#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $exclusive = false,
365
+		#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $withComments = false,
366
+		#[LanguageLevelTypeAware(['8.0' => 'array|null'], default: 'array')] $xpath = null,
367
+		#[LanguageLevelTypeAware(['8.0' => 'array|null'], default: 'array')] $nsPrefixes = null
368
+	): string|false {}
369
+
370
+	/**
371
+	 * Canonicalize nodes to a file.
372
+	 * @link https://www.php.net/manual/en/domnode.c14nfile
373
+	 * @param string $uri Number of bytes written or FALSE on failure
374
+	 * @param bool $exclusive [optional] Enable exclusive parsing of only the nodes matched by the provided xpath or namespace prefixes.
375
+	 * @param bool $withComments [optional]  Retain comments in output.
376
+	 * @param null|array $xpath [optional] An array of xpaths to filter the nodes by.
377
+	 * @param null|array $nsPrefixes [optional] An array of namespace prefixes to filter the nodes by.
378
+	 * @return int|false Number of bytes written or FALSE on failure
379
+	 */
380
+	#[TentativeType]
381
+	public function C14NFile(
382
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $uri,
383
+		#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $exclusive = false,
384
+		#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $withComments = false,
385
+		#[LanguageLevelTypeAware(['8.0' => 'array|null'], default: 'array')] $xpath = null,
386
+		#[LanguageLevelTypeAware(['8.0' => 'array|null'], default: 'array')] $nsPrefixes = null
387
+	): int|false {}
388 388
 }
389 389
 
390 390
 /**
@@ -394,20 +394,20 @@  discard block
 block discarded – undo
394 394
  */
395 395
 final class DOMException extends Exception
396 396
 {
397
-    /**
398
-     * @link https://php.net/manual/en/class.domexception.php#domexception.props.code
399
-     * @var int An integer indicating the type of error generated
400
-     */
401
-    public $code;
397
+	/**
398
+	 * @link https://php.net/manual/en/class.domexception.php#domexception.props.code
399
+	 * @var int An integer indicating the type of error generated
400
+	 */
401
+	public $code;
402 402
 }
403 403
 
404 404
 class DOMStringList
405 405
 {
406
-    /**
407
-     * @param $index
408
-     * @return mixed
409
-     */
410
-    public function item($index) {}
406
+	/**
407
+	 * @param $index
408
+	 * @return mixed
409
+	 */
410
+	public function item($index) {}
411 411
 }
412 412
 
413 413
 /**
@@ -416,17 +416,17 @@  discard block
 block discarded – undo
416 416
  */
417 417
 class DOMNameList
418 418
 {
419
-    /**
420
-     * @param $index
421
-     * @return mixed
422
-     */
423
-    public function getName($index) {}
424
-
425
-    /**
426
-     * @param $index
427
-     * @return mixed
428
-     */
429
-    public function getNamespaceURI($index) {}
419
+	/**
420
+	 * @param $index
421
+	 * @return mixed
422
+	 */
423
+	public function getName($index) {}
424
+
425
+	/**
426
+	 * @param $index
427
+	 * @return mixed
428
+	 */
429
+	public function getNamespaceURI($index) {}
430 430
 }
431 431
 
432 432
 /**
@@ -434,11 +434,11 @@  discard block
 block discarded – undo
434 434
  */
435 435
 class DOMImplementationList
436 436
 {
437
-    /**
438
-     * @param $index
439
-     * @return mixed
440
-     */
441
-    public function item($index) {}
437
+	/**
438
+	 * @param $index
439
+	 * @return mixed
440
+	 */
441
+	public function item($index) {}
442 442
 }
443 443
 
444 444
 /**
@@ -446,17 +446,17 @@  discard block
 block discarded – undo
446 446
  */
447 447
 class DOMImplementationSource
448 448
 {
449
-    /**
450
-     * @param $features
451
-     * @return mixed
452
-     */
453
-    public function getDomimplementation($features) {}
454
-
455
-    /**
456
-     * @param $features
457
-     * @return mixed
458
-     */
459
-    public function getDomimplementations($features) {}
449
+	/**
450
+	 * @param $features
451
+	 * @return mixed
452
+	 */
453
+	public function getDomimplementation($features) {}
454
+
455
+	/**
456
+	 * @param $features
457
+	 * @return mixed
458
+	 */
459
+	public function getDomimplementations($features) {}
460 460
 }
461 461
 
462 462
 /**
@@ -467,98 +467,98 @@  discard block
 block discarded – undo
467 467
  */
468 468
 class DOMImplementation
469 469
 {
470
-    /**
471
-     * @param string $feature
472
-     * @param string $version
473
-     * @return mixed
474
-     */
475
-    #[TentativeType]
476
-    public function getFeature(
477
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $feature,
478
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $version
479
-    ): never {}
480
-
481
-    /**
482
-     * Test if the DOM implementation implements a specific feature
483
-     * @link https://php.net/manual/en/domimplementation.hasfeature.php
484
-     * @param string $feature <p>
485
-     * The feature to test.
486
-     * </p>
487
-     * @param string $version <p>
488
-     * The version number of the feature to test. In
489
-     * level 2, this can be either 2.0 or 1.0.
490
-     * </p>
491
-     * @return bool true on success or false on failure.
492
-     */
493
-    public function hasFeature($feature, $version) {}
494
-
495
-    /**
496
-     * Creates an empty DOMDocumentType object
497
-     * @link https://php.net/manual/en/domimplementation.createdocumenttype.php
498
-     * @param string $qualifiedName <p>
499
-     * The qualified name of the document type to create.
500
-     * </p>
501
-     * @param string $publicId [optional] <p>
502
-     * The external subset public identifier.
503
-     * </p>
504
-     * @param string $systemId [optional] <p>
505
-     * The external subset system identifier.
506
-     * </p>
507
-     * @return DOMDocumentType|false A new DOMDocumentType node with its
508
-     * ownerDocument set to null.
509
-     * @throws DOMException If there is an error with the namespace
510
-     */
511
-    public function createDocumentType(
512
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName,
513
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $publicId = '',
514
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $systemId = ''
515
-    ) {}
516
-
517
-    /**
518
-     * Creates a DOMDocument object of the specified type with its document element
519
-     * @link https://php.net/manual/en/domimplementation.createdocument.php
520
-     * @param string|null $namespace [optional] <p>
521
-     * The namespace URI of the document element to create.
522
-     * </p>
523
-     * @param string $qualifiedName [optional] <p>
524
-     * The qualified name of the document element to create.
525
-     * </p>
526
-     * @param DOMDocumentType|null $doctype [optional] <p>
527
-     * The type of document to create or null.
528
-     * </p>
529
-     * @return DOMDocument|false A new DOMDocument object. If
530
-     * namespaceURI, qualifiedName, and doctype are null, the
531
-     * returned DOMDocument is empty with no document element.
532
-     * @throws DOMException If $doctype has already been used
533
-     * with adifferent document or was created from a different
534
-     * implementation. If there is an error with the namespace,
535
-     * as determined by $namespace and $qualifiedName.
536
-     */
537
-    public function createDocument(
538
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace = null,
539
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName = '',
540
-        #[LanguageLevelTypeAware(['8.0' => 'DOMDocumentType|null'], default: 'DOMDocumentType')] $doctype = null
541
-    ) {}
470
+	/**
471
+	 * @param string $feature
472
+	 * @param string $version
473
+	 * @return mixed
474
+	 */
475
+	#[TentativeType]
476
+	public function getFeature(
477
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $feature,
478
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $version
479
+	): never {}
480
+
481
+	/**
482
+	 * Test if the DOM implementation implements a specific feature
483
+	 * @link https://php.net/manual/en/domimplementation.hasfeature.php
484
+	 * @param string $feature <p>
485
+	 * The feature to test.
486
+	 * </p>
487
+	 * @param string $version <p>
488
+	 * The version number of the feature to test. In
489
+	 * level 2, this can be either 2.0 or 1.0.
490
+	 * </p>
491
+	 * @return bool true on success or false on failure.
492
+	 */
493
+	public function hasFeature($feature, $version) {}
494
+
495
+	/**
496
+	 * Creates an empty DOMDocumentType object
497
+	 * @link https://php.net/manual/en/domimplementation.createdocumenttype.php
498
+	 * @param string $qualifiedName <p>
499
+	 * The qualified name of the document type to create.
500
+	 * </p>
501
+	 * @param string $publicId [optional] <p>
502
+	 * The external subset public identifier.
503
+	 * </p>
504
+	 * @param string $systemId [optional] <p>
505
+	 * The external subset system identifier.
506
+	 * </p>
507
+	 * @return DOMDocumentType|false A new DOMDocumentType node with its
508
+	 * ownerDocument set to null.
509
+	 * @throws DOMException If there is an error with the namespace
510
+	 */
511
+	public function createDocumentType(
512
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName,
513
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $publicId = '',
514
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $systemId = ''
515
+	) {}
516
+
517
+	/**
518
+	 * Creates a DOMDocument object of the specified type with its document element
519
+	 * @link https://php.net/manual/en/domimplementation.createdocument.php
520
+	 * @param string|null $namespace [optional] <p>
521
+	 * The namespace URI of the document element to create.
522
+	 * </p>
523
+	 * @param string $qualifiedName [optional] <p>
524
+	 * The qualified name of the document element to create.
525
+	 * </p>
526
+	 * @param DOMDocumentType|null $doctype [optional] <p>
527
+	 * The type of document to create or null.
528
+	 * </p>
529
+	 * @return DOMDocument|false A new DOMDocument object. If
530
+	 * namespaceURI, qualifiedName, and doctype are null, the
531
+	 * returned DOMDocument is empty with no document element.
532
+	 * @throws DOMException If $doctype has already been used
533
+	 * with adifferent document or was created from a different
534
+	 * implementation. If there is an error with the namespace,
535
+	 * as determined by $namespace and $qualifiedName.
536
+	 */
537
+	public function createDocument(
538
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace = null,
539
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName = '',
540
+		#[LanguageLevelTypeAware(['8.0' => 'DOMDocumentType|null'], default: 'DOMDocumentType')] $doctype = null
541
+	) {}
542 542
 }
543 543
 
544 544
 class DOMNameSpaceNode
545 545
 {
546
-    #[LanguageLevelTypeAware(['8.1' => 'DOMNode|null'], default: '')]
547
-    public $parentNode;
548
-    #[LanguageLevelTypeAware(['8.1' => 'DOMDocument|null'], default: '')]
549
-    public $ownerDocument;
550
-    #[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
551
-    public $namespaceURI;
552
-    #[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
553
-    public $localName;
554
-    #[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
555
-    public $prefix;
556
-    #[LanguageLevelTypeAware(['8.1' => 'int'], default: '')]
557
-    public $nodeType;
558
-    #[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
559
-    public $nodeValue;
560
-    #[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
561
-    public $nodeName;
546
+	#[LanguageLevelTypeAware(['8.1' => 'DOMNode|null'], default: '')]
547
+	public $parentNode;
548
+	#[LanguageLevelTypeAware(['8.1' => 'DOMDocument|null'], default: '')]
549
+	public $ownerDocument;
550
+	#[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
551
+	public $namespaceURI;
552
+	#[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
553
+	public $localName;
554
+	#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
555
+	public $prefix;
556
+	#[LanguageLevelTypeAware(['8.1' => 'int'], default: '')]
557
+	public $nodeType;
558
+	#[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
559
+	public $nodeValue;
560
+	#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
561
+	public $nodeName;
562 562
 }
563 563
 
564 564
 /**
@@ -567,37 +567,37 @@  discard block
 block discarded – undo
567 567
  */
568 568
 class DOMDocumentFragment extends DOMNode implements DOMParentNode
569 569
 {
570
-    #[LanguageLevelTypeAware(['8.1' => 'int'], default: '')]
571
-    public $childElementCount;
572
-
573
-    #[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
574
-    public $lastElementChild;
575
-
576
-    #[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
577
-    public $firstElementChild;
578
-
579
-    public function __construct() {}
580
-
581
-    /**
582
-     * Append raw XML data
583
-     * @link https://php.net/manual/en/domdocumentfragment.appendxml.php
584
-     * @param string $data <p>
585
-     * XML to append.
586
-     * </p>
587
-     * @return bool true on success or false on failure.
588
-     */
589
-    #[TentativeType]
590
-    public function appendXML(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data): bool {}
591
-
592
-    /**
593
-     * {@inheritDoc}
594
-     */
595
-    public function append(...$nodes): void {}
596
-
597
-    /**
598
-     * {@inheritDoc}
599
-     */
600
-    public function prepend(...$nodes): void {}
570
+	#[LanguageLevelTypeAware(['8.1' => 'int'], default: '')]
571
+	public $childElementCount;
572
+
573
+	#[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
574
+	public $lastElementChild;
575
+
576
+	#[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
577
+	public $firstElementChild;
578
+
579
+	public function __construct() {}
580
+
581
+	/**
582
+	 * Append raw XML data
583
+	 * @link https://php.net/manual/en/domdocumentfragment.appendxml.php
584
+	 * @param string $data <p>
585
+	 * XML to append.
586
+	 * </p>
587
+	 * @return bool true on success or false on failure.
588
+	 */
589
+	#[TentativeType]
590
+	public function appendXML(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data): bool {}
591
+
592
+	/**
593
+	 * {@inheritDoc}
594
+	 */
595
+	public function append(...$nodes): void {}
596
+
597
+	/**
598
+	 * {@inheritDoc}
599
+	 */
600
+	public function prepend(...$nodes): void {}
601 601
 }
602 602
 
603 603
 /**
@@ -607,629 +607,629 @@  discard block
 block discarded – undo
607 607
  */
608 608
 class DOMDocument extends DOMNode implements DOMParentNode
609 609
 {
610
-    /**
611
-     * @var string|null
612
-     * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.actualencoding
613
-     */
614
-    #[Deprecated("Actual encoding of the document, is a readonly equivalent to encoding.")]
615
-    #[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
616
-    public $actualEncoding;
617
-
618
-    /**
619
-     * @var DOMConfiguration
620
-     * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.config
621
-     * @see DOMDocument::normalizeDocument()
622
-     */
623
-    #[Deprecated("Configuration used when DOMDocument::normalizeDocument() is invoked.")]
624
-    #[LanguageLevelTypeAware(['8.1' => 'mixed'], default: '')]
625
-    public $config;
626
-
627
-    /**
628
-     * @var DOMDocumentType
629
-     * The Document Type Declaration associated with this document.
630
-     * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.doctype
631
-     */
632
-    #[LanguageLevelTypeAware(['8.1' => 'DOMDocumentType|null'], default: '')]
633
-    public $doctype;
634
-
635
-    /**
636
-     * @var DOMElement
637
-     * This is a convenience attribute that allows direct access to the child node
638
-     * that is the document element of the document.
639
-     * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.documentelement
640
-     */
641
-    #[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
642
-    public $documentElement;
643
-
644
-    /**
645
-     * @var string|null
646
-     * The location of the document or NULL if undefined.
647
-     * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.documenturi
648
-     */
649
-    #[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
650
-    public $documentURI;
651
-
652
-    /**
653
-     * @var string|null
654
-     * Encoding of the document, as specified by the XML declaration. This attribute is not present
655
-     * in the final DOM Level 3 specification, but is the only way of manipulating XML document
656
-     * encoding in this implementation.
657
-     * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.encoding
658
-     */
659
-    #[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
660
-    public $encoding;
661
-
662
-    /**
663
-     * @var bool
664
-     * Nicely formats output with indentation and extra space.
665
-     * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.formatoutput
666
-     */
667
-    #[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
668
-    public $formatOutput;
669
-
670
-    /**
671
-     * @var DOMImplementation
672
-     * The <classname>DOMImplementation</classname> object that handles this document.
673
-     * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.implementation
674
-     */
675
-    #[LanguageLevelTypeAware(['8.1' => 'DOMImplementation'], default: '')]
676
-    public $implementation;
677
-
678
-    /**
679
-     * @var bool
680
-     * Do not remove redundant white space. Default to TRUE.
681
-     * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.preservewhitespace
682
-     */
683
-    #[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
684
-    public $preserveWhiteSpace = true;
685
-
686
-    /**
687
-     * @var bool
688
-     * Proprietary. Enables recovery mode, i.e. trying to parse non-well formed documents.
689
-     * This attribute is not part of the DOM specification and is specific to libxml.
690
-     * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.recover
691
-     */
692
-    #[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
693
-    public $recover;
694
-
695
-    /**
696
-     * @var bool
697
-     * Set it to TRUE to load external entities from a doctype declaration. This is useful for
698
-     * including character entities in your XML document.
699
-     * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.resolveexternals
700
-     */
701
-    #[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
702
-    public $resolveExternals;
703
-
704
-    /**
705
-     * @var bool
706
-     * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.standalone
707
-     */
708
-    #[Deprecated("Whether or not the document is standalone, as specified by the XML declaration, corresponds to xmlStandalone.")]
709
-    #[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
710
-    public $standalone;
711
-
712
-    /**
713
-     * @var bool
714
-     * Throws <classname>DOMException</classname> on errors. Default to TRUE.
715
-     * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.stricterrorchecking
716
-     */
717
-    #[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
718
-    public $strictErrorChecking = true;
719
-
720
-    /**
721
-     * @var bool
722
-     * Proprietary. Whether or not to substitute entities. This attribute is not part of the DOM
723
-     * specification and is specific to libxml.
724
-     * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.substituteentities
725
-     */
726
-    #[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
727
-    public $substituteEntities;
728
-
729
-    /**
730
-     * @var bool
731
-     * Loads and validates against the DTD. Default to FALSE.
732
-     * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.validateonparse
733
-     */
734
-    #[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
735
-    public $validateOnParse = false;
736
-
737
-    /**
738
-     * @var string
739
-     * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.version
740
-     */
741
-    #[Deprecated('Version of XML, corresponds to xmlVersion')]
742
-    #[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
743
-    public $version;
744
-
745
-    /**
746
-     * @var string|null
747
-     * An attribute specifying, as part of the XML declaration, the encoding of this document. This is NULL when
748
-     * unspecified or when it is not known, such as when the Document was created in memory.
749
-     * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.xmlencoding
750
-     */
751
-    #[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
752
-    public $xmlEncoding;
753
-
754
-    /**
755
-     * @var bool
756
-     * An attribute specifying, as part of the XML declaration, whether this document is standalone.
757
-     * This is FALSE when unspecified.
758
-     * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.xmlstandalone
759
-     */
760
-    #[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
761
-    public $xmlStandalone;
762
-
763
-    /**
764
-     * @var string|null
765
-     * An attribute specifying, as part of the XML declaration, the version number of this document. If there is no
766
-     * declaration and if this document supports the "XML" feature, the value is "1.0".
767
-     * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.xmlversion
768
-     */
769
-    #[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
770
-    public $xmlVersion;
771
-
772
-    #[LanguageLevelTypeAware(['8.1' => 'int'], default: '')]
773
-    public $childElementCount;
774
-
775
-    #[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
776
-    public $lastElementChild;
777
-
778
-    #[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
779
-    public $firstElementChild;
780
-
781
-    /**
782
-     * Create new element node
783
-     * @link https://php.net/manual/en/domdocument.createelement.php
784
-     * @param string $localName <p>
785
-     * The tag name of the element.
786
-     * </p>
787
-     * @param string $value [optional] <p>
788
-     * The value of the element. By default, an empty element will be created.
789
-     * You can also set the value later with DOMElement->nodeValue.
790
-     * </p>
791
-     * @return DOMElement|false A new instance of class DOMElement or false
792
-     * if an error occurred.
793
-     * @throws DOMException If invalid $localName
794
-     */
795
-    public function createElement(
796
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName,
797
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $value = ''
798
-    ) {}
799
-
800
-    /**
801
-     * Create new document fragment
802
-     * @link https://php.net/manual/en/domdocument.createdocumentfragment.php
803
-     * @return DOMDocumentFragment|false The new DOMDocumentFragment or false if an error occurred.
804
-     */
805
-    #[TentativeType]
806
-    public function createDocumentFragment(): DOMDocumentFragment {}
807
-
808
-    /**
809
-     * Create new text node
810
-     * @link https://php.net/manual/en/domdocument.createtextnode.php
811
-     * @param string $data <p>
812
-     * The content of the text.
813
-     * </p>
814
-     * @return DOMText|false The new DOMText or false if an error occurred.
815
-     */
816
-    #[TentativeType]
817
-    public function createTextNode(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data): DOMText {}
818
-
819
-    /**
820
-     * Create new comment node
821
-     * @link https://php.net/manual/en/domdocument.createcomment.php
822
-     * @param string $data <p>
823
-     * The content of the comment.
824
-     * </p>
825
-     * @return DOMComment|false The new DOMComment or false if an error occurred.
826
-     */
827
-    #[TentativeType]
828
-    public function createComment(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data): DOMComment {}
829
-
830
-    /**
831
-     * Create new cdata node
832
-     * @link https://php.net/manual/en/domdocument.createcdatasection.php
833
-     * @param string $data <p>
834
-     * The content of the cdata.
835
-     * </p>
836
-     * @return DOMCDATASection|false The new DOMCDATASection or false if an error occurred.
837
-     */
838
-    public function createCDATASection(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data) {}
839
-
840
-    /**
841
-     * Creates new PI node
842
-     * @link https://php.net/manual/en/domdocument.createprocessinginstruction.php
843
-     * @param string $target <p>
844
-     * The target of the processing instruction.
845
-     * </p>
846
-     * @param string $data [optional] <p>
847
-     * The content of the processing instruction.
848
-     * </p>
849
-     * @return DOMProcessingInstruction|false The new DOMProcessingInstruction or false if an error occurred.
850
-     */
851
-    public function createProcessingInstruction(
852
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $target,
853
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data = null
854
-    ) {}
855
-
856
-    /**
857
-     * Create new attribute
858
-     * @link https://php.net/manual/en/domdocument.createattribute.php
859
-     * @param string $localName <p>
860
-     * The name of the attribute.
861
-     * </p>
862
-     * @return DOMAttr|false The new DOMAttr or false if an error occurred.
863
-     * @throws DOMException If invalid $localName
864
-     */
865
-    public function createAttribute(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName) {}
866
-
867
-    /**
868
-     * Create new entity reference node
869
-     * @link https://php.net/manual/en/domdocument.createentityreference.php
870
-     * @param string $name <p>
871
-     * The content of the entity reference, e.g. the entity reference minus
872
-     * the leading &amp; and the trailing
873
-     * ; characters.
874
-     * </p>
875
-     * @return DOMEntityReference|false The new DOMEntityReference or false if an error
876
-     * occurred.
877
-     */
878
-    public function createEntityReference(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name) {}
879
-
880
-    /**
881
-     * Searches for all elements with given tag name
882
-     * @link https://php.net/manual/en/domdocument.getelementsbytagname.php
883
-     * @param string $qualifiedName <p>
884
-     * The name of the tag to match on. The special value *
885
-     * matches all tags.
886
-     * </p>
887
-     * @return DOMNodeList A new DOMNodeList object containing all the matched
888
-     * elements.
889
-     */
890
-    #[TentativeType]
891
-    public function getElementsByTagName(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName): DOMNodeList {}
892
-
893
-    /**
894
-     * Import node into current document
895
-     * @link https://php.net/manual/en/domdocument.importnode.php
896
-     * @param DOMNode $node <p>
897
-     * The node to import.
898
-     * </p>
899
-     * @param bool $deep [optional] <p>
900
-     * If set to true, this method will recursively import the subtree under
901
-     * the importedNode.
902
-     * </p>
903
-     * <p>
904
-     * To copy the nodes attributes deep needs to be set to true
905
-     * </p>
906
-     * @return DOMNode|false The copied node or false, if it cannot be copied.
907
-     */
908
-    public function importNode(DOMNode $node, #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $deep = false) {}
909
-
910
-    /**
911
-     * Create new element node with an associated namespace
912
-     * @link https://php.net/manual/en/domdocument.createelementns.php
913
-     * @param string|null $namespace <p>
914
-     * The URI of the namespace.
915
-     * </p>
916
-     * @param string $qualifiedName <p>
917
-     * The qualified name of the element, as prefix:tagname.
918
-     * </p>
919
-     * @param string $value [optional] <p>
920
-     * The value of the element. By default, an empty element will be created.
921
-     * You can also set the value later with DOMElement->nodeValue.
922
-     * </p>
923
-     * @return DOMElement|false The new DOMElement or false if an error occurred.
924
-     * @throws DOMException If invalid $namespace or $qualifiedName
925
-     */
926
-    public function createElementNS(
927
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace,
928
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName,
929
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $value = ''
930
-    ) {}
931
-
932
-    /**
933
-     * Create new attribute node with an associated namespace
934
-     * @link https://php.net/manual/en/domdocument.createattributens.php
935
-     * @param string|null $namespace <p>
936
-     * The URI of the namespace.
937
-     * </p>
938
-     * @param string $qualifiedName <p>
939
-     * The tag name and prefix of the attribute, as prefix:tagname.
940
-     * </p>
941
-     * @return DOMAttr|false The new DOMAttr or false if an error occurred.
942
-     * @throws DOMException If invalid $namespace or $qualifiedName
943
-     */
944
-    public function createAttributeNS(
945
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace,
946
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName
947
-    ) {}
948
-
949
-    /**
950
-     * Searches for all elements with given tag name in specified namespace
951
-     * @link https://php.net/manual/en/domdocument.getelementsbytagnamens.php
952
-     * @param string $namespace <p>
953
-     * The namespace URI of the elements to match on.
954
-     * The special value * matches all namespaces.
955
-     * </p>
956
-     * @param string $localName <p>
957
-     * The local name of the elements to match on.
958
-     * The special value * matches all local names.
959
-     * </p>
960
-     * @return DOMNodeList A new DOMNodeList object containing all the matched
961
-     * elements.
962
-     */
963
-    #[TentativeType]
964
-    public function getElementsByTagNameNS(
965
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace,
966
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName
967
-    ): DOMNodeList {}
968
-
969
-    /**
970
-     * Searches for an element with a certain id
971
-     * @link https://php.net/manual/en/domdocument.getelementbyid.php
972
-     * @param string $elementId <p>
973
-     * The unique id value for an element.
974
-     * </p>
975
-     * @return DOMElement|null The DOMElement or null if the element is
976
-     * not found.
977
-     */
978
-    #[TentativeType]
979
-    public function getElementById(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $elementId): ?DOMElement {}
980
-
981
-    /**
982
-     * @param DOMNode $node
983
-     */
984
-    public function adoptNode(DOMNode $node) {}
985
-
986
-    /**
987
-     * {@inheritDoc}
988
-     */
989
-    public function append(...$nodes): void {}
990
-
991
-    /**
992
-     * {@inheritDoc}
993
-     */
994
-    public function prepend(...$nodes): void {}
995
-
996
-    /**
997
-     * Normalizes the document
998
-     * @link https://php.net/manual/en/domdocument.normalizedocument.php
999
-     * @return void
1000
-     */
1001
-    #[TentativeType]
1002
-    public function normalizeDocument(): void {}
1003
-
1004
-    /**
1005
-     * @param DOMNode $node
1006
-     * @param $namespace
1007
-     * @param $qualifiedName
1008
-     */
1009
-    public function renameNode(DOMNode $node, $namespace, $qualifiedName) {}
1010
-
1011
-    /**
1012
-     * Load XML from a file
1013
-     * @link https://php.net/manual/en/domdocument.load.php
1014
-     * @param string $filename <p>
1015
-     * The path to the XML document.
1016
-     * </p>
1017
-     * @param int $options [optional] <p>
1018
-     * Bitwise OR
1019
-     * of the libxml option constants.
1020
-     * </p>
1021
-     * @return DOMDocument|bool true on success or false on failure. If called statically, returns a
1022
-     * DOMDocument and issues E_STRICT
1023
-     * warning.
1024
-     */
1025
-    public function load(
1026
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
1027
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $options = null
1028
-    ) {}
1029
-
1030
-    /**
1031
-     * Dumps the internal XML tree back into a file
1032
-     * @link https://php.net/manual/en/domdocument.save.php
1033
-     * @param string $filename <p>
1034
-     * The path to the saved XML document.
1035
-     * </p>
1036
-     * @param int $options [optional] <p>
1037
-     * Additional Options. Currently only LIBXML_NOEMPTYTAG is supported.
1038
-     * </p>
1039
-     * @return int|false the number of bytes written or false if an error occurred.
1040
-     */
1041
-    public function save($filename, $options = null) {}
1042
-
1043
-    /**
1044
-     * Load XML from a string
1045
-     * @link https://php.net/manual/en/domdocument.loadxml.php
1046
-     * @param string $source <p>
1047
-     * The string containing the XML.
1048
-     * </p>
1049
-     * @param int $options [optional] <p>
1050
-     * Bitwise OR
1051
-     * of the libxml option constants.
1052
-     * </p>
1053
-     * @return DOMDocument|bool true on success or false on failure. If called statically, returns a
1054
-     * DOMDocument and issues E_STRICT
1055
-     * warning.
1056
-     */
1057
-    public function loadXML(
1058
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $source,
1059
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $options = null
1060
-    ) {}
1061
-
1062
-    /**
1063
-     * Dumps the internal XML tree back into a string
1064
-     * @link https://php.net/manual/en/domdocument.savexml.php
1065
-     * @param null|DOMNode $node [optional] <p>
1066
-     * Use this parameter to output only a specific node without XML declaration
1067
-     * rather than the entire document.
1068
-     * </p>
1069
-     * @param int $options [optional] <p>
1070
-     * Additional Options. Currently only LIBXML_NOEMPTYTAG is supported.
1071
-     * </p>
1072
-     * @return string|false the XML, or false if an error occurred.
1073
-     */
1074
-    #[TentativeType]
1075
-    public function saveXML(?DOMNode $node = null, #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $options = null): string|false {}
1076
-
1077
-    /**
1078
-     * Creates a new DOMDocument object
1079
-     * @link https://php.net/manual/en/domdocument.construct.php
1080
-     * @param string $version [optional] The version number of the document as part of the XML declaration.
1081
-     * @param string $encoding [optional] The encoding of the document as part of the XML declaration.
1082
-     */
1083
-    public function __construct(
1084
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $version = '1.0',
1085
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $encoding = ''
1086
-    ) {}
1087
-
1088
-    /**
1089
-     * Validates the document based on its DTD
1090
-     * @link https://php.net/manual/en/domdocument.validate.php
1091
-     * @return bool true on success or false on failure.
1092
-     * If the document have no DTD attached, this method will return false.
1093
-     */
1094
-    #[TentativeType]
1095
-    public function validate(): bool {}
1096
-
1097
-    /**
1098
-     * Substitutes XIncludes in a DOMDocument Object
1099
-     * @link https://php.net/manual/en/domdocument.xinclude.php
1100
-     * @param int $options [optional] <p>
1101
-     * libxml parameters. Available
1102
-     * since PHP 5.1.0 and Libxml 2.6.7.
1103
-     * </p>
1104
-     * @return int|false the number of XIncludes in the document.
1105
-     */
1106
-    #[TentativeType]
1107
-    public function xinclude(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $options = null): int|false {}
1108
-
1109
-    /**
1110
-     * Load HTML from a string
1111
-     * @link https://php.net/manual/en/domdocument.loadhtml.php
1112
-     * @param string $source <p>
1113
-     * The HTML string.
1114
-     * </p>
1115
-     * @param int $options [optional] <p>
1116
-     * Since PHP 5.4.0 and Libxml 2.6.0, you may also
1117
-     * use the options parameter to specify additional Libxml parameters.
1118
-     * </p>
1119
-     * @return DOMDocument|bool true on success or false on failure. If called statically, returns a
1120
-     * DOMDocument and issues E_STRICT
1121
-     * warning.
1122
-     */
1123
-    public function loadHTML(
1124
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $source,
1125
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $options = 0
1126
-    ) {}
1127
-
1128
-    /**
1129
-     * Load HTML from a file
1130
-     * @link https://php.net/manual/en/domdocument.loadhtmlfile.php
1131
-     * @param string $filename <p>
1132
-     * The path to the HTML file.
1133
-     * </p>
1134
-     * @param int $options [optional] <p>
1135
-     * Since PHP 5.4.0 and Libxml 2.6.0, you may also
1136
-     * use the options parameter to specify additional Libxml parameters.
1137
-     * </p>
1138
-     * @return DOMDocument|bool true on success or false on failure. If called statically, returns a
1139
-     * DOMDocument and issues E_STRICT
1140
-     * warning.
1141
-     */
1142
-    public function loadHTMLFile(
1143
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
1144
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $options = 0
1145
-    ) {}
1146
-
1147
-    /**
1148
-     * Dumps the internal document into a string using HTML formatting
1149
-     * @link https://php.net/manual/en/domdocument.savehtml.php
1150
-     * @param null|DOMNode $node [optional] parameter to output a subset of the document.
1151
-     * @return string|false The HTML, or false if an error occurred.
1152
-     */
1153
-    public function saveHTML(DOMNode $node = null) {}
1154
-
1155
-    /**
1156
-     * Dumps the internal document into a file using HTML formatting
1157
-     * @link https://php.net/manual/en/domdocument.savehtmlfile.php
1158
-     * @param string $filename <p>
1159
-     * The path to the saved HTML document.
1160
-     * </p>
1161
-     * @return int|false the number of bytes written or false if an error occurred.
1162
-     */
1163
-    #[TentativeType]
1164
-    public function saveHTMLFile(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename): int|false {}
1165
-
1166
-    /**
1167
-     * Validates a document based on a schema
1168
-     * @link https://php.net/manual/en/domdocument.schemavalidate.php
1169
-     * @param string $filename <p>
1170
-     * The path to the schema.
1171
-     * </p>
1172
-     * @param int $options [optional] <p>
1173
-     * Bitwise OR
1174
-     * of the libxml option constants.
1175
-     * </p>
1176
-     * @return bool true on success or false on failure.
1177
-     */
1178
-    public function schemaValidate($filename, $options = null) {}
1179
-
1180
-    /**
1181
-     * Validates a document based on a schema
1182
-     * @link https://php.net/manual/en/domdocument.schemavalidatesource.php
1183
-     * @param string $source <p>
1184
-     * A string containing the schema.
1185
-     * </p>
1186
-     * @param int $flags [optional] <p>A bitmask of Libxml schema validation flags. Currently the only supported value is <b>LIBXML_SCHEMA_CREATE</b>.
1187
-     * Available since PHP 5.5.2 and Libxml 2.6.14.</p>
1188
-     * @return bool true on success or false on failure.
1189
-     */
1190
-    public function schemaValidateSource($source, $flags) {}
1191
-
1192
-    /**
1193
-     * Performs relaxNG validation on the document
1194
-     * @link https://php.net/manual/en/domdocument.relaxngvalidate.php
1195
-     * @param string $filename <p>
1196
-     * The RNG file.
1197
-     * </p>
1198
-     * @return bool true on success or false on failure.
1199
-     */
1200
-    #[TentativeType]
1201
-    public function relaxNGValidate(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename): bool {}
1202
-
1203
-    /**
1204
-     * Performs relaxNG validation on the document
1205
-     * @link https://php.net/manual/en/domdocument.relaxngvalidatesource.php
1206
-     * @param string $source <p>
1207
-     * A string containing the RNG schema.
1208
-     * </p>
1209
-     * @return bool true on success or false on failure.
1210
-     */
1211
-    #[TentativeType]
1212
-    public function relaxNGValidateSource(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $source): bool {}
1213
-
1214
-    /**
1215
-     * Register extended class used to create base node type
1216
-     * @link https://php.net/manual/en/domdocument.registernodeclass.php
1217
-     * @param string $baseClass <p>
1218
-     * The DOM class that you want to extend. You can find a list of these
1219
-     * classes in the chapter introduction.
1220
-     * </p>
1221
-     * @param string $extendedClass <p>
1222
-     * Your extended class name. If null is provided, any previously
1223
-     * registered class extending baseclass will
1224
-     * be removed.
1225
-     * </p>
1226
-     * @return bool true on success or false on failure.
1227
-     */
1228
-    #[TentativeType]
1229
-    public function registerNodeClass(
1230
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $baseClass,
1231
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $extendedClass
1232
-    ): bool {}
610
+	/**
611
+	 * @var string|null
612
+	 * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.actualencoding
613
+	 */
614
+	#[Deprecated("Actual encoding of the document, is a readonly equivalent to encoding.")]
615
+	#[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
616
+	public $actualEncoding;
617
+
618
+	/**
619
+	 * @var DOMConfiguration
620
+	 * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.config
621
+	 * @see DOMDocument::normalizeDocument()
622
+	 */
623
+	#[Deprecated("Configuration used when DOMDocument::normalizeDocument() is invoked.")]
624
+	#[LanguageLevelTypeAware(['8.1' => 'mixed'], default: '')]
625
+	public $config;
626
+
627
+	/**
628
+	 * @var DOMDocumentType
629
+	 * The Document Type Declaration associated with this document.
630
+	 * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.doctype
631
+	 */
632
+	#[LanguageLevelTypeAware(['8.1' => 'DOMDocumentType|null'], default: '')]
633
+	public $doctype;
634
+
635
+	/**
636
+	 * @var DOMElement
637
+	 * This is a convenience attribute that allows direct access to the child node
638
+	 * that is the document element of the document.
639
+	 * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.documentelement
640
+	 */
641
+	#[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
642
+	public $documentElement;
643
+
644
+	/**
645
+	 * @var string|null
646
+	 * The location of the document or NULL if undefined.
647
+	 * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.documenturi
648
+	 */
649
+	#[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
650
+	public $documentURI;
651
+
652
+	/**
653
+	 * @var string|null
654
+	 * Encoding of the document, as specified by the XML declaration. This attribute is not present
655
+	 * in the final DOM Level 3 specification, but is the only way of manipulating XML document
656
+	 * encoding in this implementation.
657
+	 * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.encoding
658
+	 */
659
+	#[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
660
+	public $encoding;
661
+
662
+	/**
663
+	 * @var bool
664
+	 * Nicely formats output with indentation and extra space.
665
+	 * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.formatoutput
666
+	 */
667
+	#[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
668
+	public $formatOutput;
669
+
670
+	/**
671
+	 * @var DOMImplementation
672
+	 * The <classname>DOMImplementation</classname> object that handles this document.
673
+	 * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.implementation
674
+	 */
675
+	#[LanguageLevelTypeAware(['8.1' => 'DOMImplementation'], default: '')]
676
+	public $implementation;
677
+
678
+	/**
679
+	 * @var bool
680
+	 * Do not remove redundant white space. Default to TRUE.
681
+	 * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.preservewhitespace
682
+	 */
683
+	#[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
684
+	public $preserveWhiteSpace = true;
685
+
686
+	/**
687
+	 * @var bool
688
+	 * Proprietary. Enables recovery mode, i.e. trying to parse non-well formed documents.
689
+	 * This attribute is not part of the DOM specification and is specific to libxml.
690
+	 * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.recover
691
+	 */
692
+	#[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
693
+	public $recover;
694
+
695
+	/**
696
+	 * @var bool
697
+	 * Set it to TRUE to load external entities from a doctype declaration. This is useful for
698
+	 * including character entities in your XML document.
699
+	 * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.resolveexternals
700
+	 */
701
+	#[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
702
+	public $resolveExternals;
703
+
704
+	/**
705
+	 * @var bool
706
+	 * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.standalone
707
+	 */
708
+	#[Deprecated("Whether or not the document is standalone, as specified by the XML declaration, corresponds to xmlStandalone.")]
709
+	#[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
710
+	public $standalone;
711
+
712
+	/**
713
+	 * @var bool
714
+	 * Throws <classname>DOMException</classname> on errors. Default to TRUE.
715
+	 * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.stricterrorchecking
716
+	 */
717
+	#[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
718
+	public $strictErrorChecking = true;
719
+
720
+	/**
721
+	 * @var bool
722
+	 * Proprietary. Whether or not to substitute entities. This attribute is not part of the DOM
723
+	 * specification and is specific to libxml.
724
+	 * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.substituteentities
725
+	 */
726
+	#[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
727
+	public $substituteEntities;
728
+
729
+	/**
730
+	 * @var bool
731
+	 * Loads and validates against the DTD. Default to FALSE.
732
+	 * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.validateonparse
733
+	 */
734
+	#[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
735
+	public $validateOnParse = false;
736
+
737
+	/**
738
+	 * @var string
739
+	 * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.version
740
+	 */
741
+	#[Deprecated('Version of XML, corresponds to xmlVersion')]
742
+	#[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
743
+	public $version;
744
+
745
+	/**
746
+	 * @var string|null
747
+	 * An attribute specifying, as part of the XML declaration, the encoding of this document. This is NULL when
748
+	 * unspecified or when it is not known, such as when the Document was created in memory.
749
+	 * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.xmlencoding
750
+	 */
751
+	#[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
752
+	public $xmlEncoding;
753
+
754
+	/**
755
+	 * @var bool
756
+	 * An attribute specifying, as part of the XML declaration, whether this document is standalone.
757
+	 * This is FALSE when unspecified.
758
+	 * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.xmlstandalone
759
+	 */
760
+	#[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
761
+	public $xmlStandalone;
762
+
763
+	/**
764
+	 * @var string|null
765
+	 * An attribute specifying, as part of the XML declaration, the version number of this document. If there is no
766
+	 * declaration and if this document supports the "XML" feature, the value is "1.0".
767
+	 * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.xmlversion
768
+	 */
769
+	#[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
770
+	public $xmlVersion;
771
+
772
+	#[LanguageLevelTypeAware(['8.1' => 'int'], default: '')]
773
+	public $childElementCount;
774
+
775
+	#[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
776
+	public $lastElementChild;
777
+
778
+	#[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
779
+	public $firstElementChild;
780
+
781
+	/**
782
+	 * Create new element node
783
+	 * @link https://php.net/manual/en/domdocument.createelement.php
784
+	 * @param string $localName <p>
785
+	 * The tag name of the element.
786
+	 * </p>
787
+	 * @param string $value [optional] <p>
788
+	 * The value of the element. By default, an empty element will be created.
789
+	 * You can also set the value later with DOMElement->nodeValue.
790
+	 * </p>
791
+	 * @return DOMElement|false A new instance of class DOMElement or false
792
+	 * if an error occurred.
793
+	 * @throws DOMException If invalid $localName
794
+	 */
795
+	public function createElement(
796
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName,
797
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $value = ''
798
+	) {}
799
+
800
+	/**
801
+	 * Create new document fragment
802
+	 * @link https://php.net/manual/en/domdocument.createdocumentfragment.php
803
+	 * @return DOMDocumentFragment|false The new DOMDocumentFragment or false if an error occurred.
804
+	 */
805
+	#[TentativeType]
806
+	public function createDocumentFragment(): DOMDocumentFragment {}
807
+
808
+	/**
809
+	 * Create new text node
810
+	 * @link https://php.net/manual/en/domdocument.createtextnode.php
811
+	 * @param string $data <p>
812
+	 * The content of the text.
813
+	 * </p>
814
+	 * @return DOMText|false The new DOMText or false if an error occurred.
815
+	 */
816
+	#[TentativeType]
817
+	public function createTextNode(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data): DOMText {}
818
+
819
+	/**
820
+	 * Create new comment node
821
+	 * @link https://php.net/manual/en/domdocument.createcomment.php
822
+	 * @param string $data <p>
823
+	 * The content of the comment.
824
+	 * </p>
825
+	 * @return DOMComment|false The new DOMComment or false if an error occurred.
826
+	 */
827
+	#[TentativeType]
828
+	public function createComment(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data): DOMComment {}
829
+
830
+	/**
831
+	 * Create new cdata node
832
+	 * @link https://php.net/manual/en/domdocument.createcdatasection.php
833
+	 * @param string $data <p>
834
+	 * The content of the cdata.
835
+	 * </p>
836
+	 * @return DOMCDATASection|false The new DOMCDATASection or false if an error occurred.
837
+	 */
838
+	public function createCDATASection(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data) {}
839
+
840
+	/**
841
+	 * Creates new PI node
842
+	 * @link https://php.net/manual/en/domdocument.createprocessinginstruction.php
843
+	 * @param string $target <p>
844
+	 * The target of the processing instruction.
845
+	 * </p>
846
+	 * @param string $data [optional] <p>
847
+	 * The content of the processing instruction.
848
+	 * </p>
849
+	 * @return DOMProcessingInstruction|false The new DOMProcessingInstruction or false if an error occurred.
850
+	 */
851
+	public function createProcessingInstruction(
852
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $target,
853
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data = null
854
+	) {}
855
+
856
+	/**
857
+	 * Create new attribute
858
+	 * @link https://php.net/manual/en/domdocument.createattribute.php
859
+	 * @param string $localName <p>
860
+	 * The name of the attribute.
861
+	 * </p>
862
+	 * @return DOMAttr|false The new DOMAttr or false if an error occurred.
863
+	 * @throws DOMException If invalid $localName
864
+	 */
865
+	public function createAttribute(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName) {}
866
+
867
+	/**
868
+	 * Create new entity reference node
869
+	 * @link https://php.net/manual/en/domdocument.createentityreference.php
870
+	 * @param string $name <p>
871
+	 * The content of the entity reference, e.g. the entity reference minus
872
+	 * the leading &amp; and the trailing
873
+	 * ; characters.
874
+	 * </p>
875
+	 * @return DOMEntityReference|false The new DOMEntityReference or false if an error
876
+	 * occurred.
877
+	 */
878
+	public function createEntityReference(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name) {}
879
+
880
+	/**
881
+	 * Searches for all elements with given tag name
882
+	 * @link https://php.net/manual/en/domdocument.getelementsbytagname.php
883
+	 * @param string $qualifiedName <p>
884
+	 * The name of the tag to match on. The special value *
885
+	 * matches all tags.
886
+	 * </p>
887
+	 * @return DOMNodeList A new DOMNodeList object containing all the matched
888
+	 * elements.
889
+	 */
890
+	#[TentativeType]
891
+	public function getElementsByTagName(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName): DOMNodeList {}
892
+
893
+	/**
894
+	 * Import node into current document
895
+	 * @link https://php.net/manual/en/domdocument.importnode.php
896
+	 * @param DOMNode $node <p>
897
+	 * The node to import.
898
+	 * </p>
899
+	 * @param bool $deep [optional] <p>
900
+	 * If set to true, this method will recursively import the subtree under
901
+	 * the importedNode.
902
+	 * </p>
903
+	 * <p>
904
+	 * To copy the nodes attributes deep needs to be set to true
905
+	 * </p>
906
+	 * @return DOMNode|false The copied node or false, if it cannot be copied.
907
+	 */
908
+	public function importNode(DOMNode $node, #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $deep = false) {}
909
+
910
+	/**
911
+	 * Create new element node with an associated namespace
912
+	 * @link https://php.net/manual/en/domdocument.createelementns.php
913
+	 * @param string|null $namespace <p>
914
+	 * The URI of the namespace.
915
+	 * </p>
916
+	 * @param string $qualifiedName <p>
917
+	 * The qualified name of the element, as prefix:tagname.
918
+	 * </p>
919
+	 * @param string $value [optional] <p>
920
+	 * The value of the element. By default, an empty element will be created.
921
+	 * You can also set the value later with DOMElement->nodeValue.
922
+	 * </p>
923
+	 * @return DOMElement|false The new DOMElement or false if an error occurred.
924
+	 * @throws DOMException If invalid $namespace or $qualifiedName
925
+	 */
926
+	public function createElementNS(
927
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace,
928
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName,
929
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $value = ''
930
+	) {}
931
+
932
+	/**
933
+	 * Create new attribute node with an associated namespace
934
+	 * @link https://php.net/manual/en/domdocument.createattributens.php
935
+	 * @param string|null $namespace <p>
936
+	 * The URI of the namespace.
937
+	 * </p>
938
+	 * @param string $qualifiedName <p>
939
+	 * The tag name and prefix of the attribute, as prefix:tagname.
940
+	 * </p>
941
+	 * @return DOMAttr|false The new DOMAttr or false if an error occurred.
942
+	 * @throws DOMException If invalid $namespace or $qualifiedName
943
+	 */
944
+	public function createAttributeNS(
945
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace,
946
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName
947
+	) {}
948
+
949
+	/**
950
+	 * Searches for all elements with given tag name in specified namespace
951
+	 * @link https://php.net/manual/en/domdocument.getelementsbytagnamens.php
952
+	 * @param string $namespace <p>
953
+	 * The namespace URI of the elements to match on.
954
+	 * The special value * matches all namespaces.
955
+	 * </p>
956
+	 * @param string $localName <p>
957
+	 * The local name of the elements to match on.
958
+	 * The special value * matches all local names.
959
+	 * </p>
960
+	 * @return DOMNodeList A new DOMNodeList object containing all the matched
961
+	 * elements.
962
+	 */
963
+	#[TentativeType]
964
+	public function getElementsByTagNameNS(
965
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace,
966
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName
967
+	): DOMNodeList {}
968
+
969
+	/**
970
+	 * Searches for an element with a certain id
971
+	 * @link https://php.net/manual/en/domdocument.getelementbyid.php
972
+	 * @param string $elementId <p>
973
+	 * The unique id value for an element.
974
+	 * </p>
975
+	 * @return DOMElement|null The DOMElement or null if the element is
976
+	 * not found.
977
+	 */
978
+	#[TentativeType]
979
+	public function getElementById(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $elementId): ?DOMElement {}
980
+
981
+	/**
982
+	 * @param DOMNode $node
983
+	 */
984
+	public function adoptNode(DOMNode $node) {}
985
+
986
+	/**
987
+	 * {@inheritDoc}
988
+	 */
989
+	public function append(...$nodes): void {}
990
+
991
+	/**
992
+	 * {@inheritDoc}
993
+	 */
994
+	public function prepend(...$nodes): void {}
995
+
996
+	/**
997
+	 * Normalizes the document
998
+	 * @link https://php.net/manual/en/domdocument.normalizedocument.php
999
+	 * @return void
1000
+	 */
1001
+	#[TentativeType]
1002
+	public function normalizeDocument(): void {}
1003
+
1004
+	/**
1005
+	 * @param DOMNode $node
1006
+	 * @param $namespace
1007
+	 * @param $qualifiedName
1008
+	 */
1009
+	public function renameNode(DOMNode $node, $namespace, $qualifiedName) {}
1010
+
1011
+	/**
1012
+	 * Load XML from a file
1013
+	 * @link https://php.net/manual/en/domdocument.load.php
1014
+	 * @param string $filename <p>
1015
+	 * The path to the XML document.
1016
+	 * </p>
1017
+	 * @param int $options [optional] <p>
1018
+	 * Bitwise OR
1019
+	 * of the libxml option constants.
1020
+	 * </p>
1021
+	 * @return DOMDocument|bool true on success or false on failure. If called statically, returns a
1022
+	 * DOMDocument and issues E_STRICT
1023
+	 * warning.
1024
+	 */
1025
+	public function load(
1026
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
1027
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $options = null
1028
+	) {}
1029
+
1030
+	/**
1031
+	 * Dumps the internal XML tree back into a file
1032
+	 * @link https://php.net/manual/en/domdocument.save.php
1033
+	 * @param string $filename <p>
1034
+	 * The path to the saved XML document.
1035
+	 * </p>
1036
+	 * @param int $options [optional] <p>
1037
+	 * Additional Options. Currently only LIBXML_NOEMPTYTAG is supported.
1038
+	 * </p>
1039
+	 * @return int|false the number of bytes written or false if an error occurred.
1040
+	 */
1041
+	public function save($filename, $options = null) {}
1042
+
1043
+	/**
1044
+	 * Load XML from a string
1045
+	 * @link https://php.net/manual/en/domdocument.loadxml.php
1046
+	 * @param string $source <p>
1047
+	 * The string containing the XML.
1048
+	 * </p>
1049
+	 * @param int $options [optional] <p>
1050
+	 * Bitwise OR
1051
+	 * of the libxml option constants.
1052
+	 * </p>
1053
+	 * @return DOMDocument|bool true on success or false on failure. If called statically, returns a
1054
+	 * DOMDocument and issues E_STRICT
1055
+	 * warning.
1056
+	 */
1057
+	public function loadXML(
1058
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $source,
1059
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $options = null
1060
+	) {}
1061
+
1062
+	/**
1063
+	 * Dumps the internal XML tree back into a string
1064
+	 * @link https://php.net/manual/en/domdocument.savexml.php
1065
+	 * @param null|DOMNode $node [optional] <p>
1066
+	 * Use this parameter to output only a specific node without XML declaration
1067
+	 * rather than the entire document.
1068
+	 * </p>
1069
+	 * @param int $options [optional] <p>
1070
+	 * Additional Options. Currently only LIBXML_NOEMPTYTAG is supported.
1071
+	 * </p>
1072
+	 * @return string|false the XML, or false if an error occurred.
1073
+	 */
1074
+	#[TentativeType]
1075
+	public function saveXML(?DOMNode $node = null, #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $options = null): string|false {}
1076
+
1077
+	/**
1078
+	 * Creates a new DOMDocument object
1079
+	 * @link https://php.net/manual/en/domdocument.construct.php
1080
+	 * @param string $version [optional] The version number of the document as part of the XML declaration.
1081
+	 * @param string $encoding [optional] The encoding of the document as part of the XML declaration.
1082
+	 */
1083
+	public function __construct(
1084
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $version = '1.0',
1085
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $encoding = ''
1086
+	) {}
1087
+
1088
+	/**
1089
+	 * Validates the document based on its DTD
1090
+	 * @link https://php.net/manual/en/domdocument.validate.php
1091
+	 * @return bool true on success or false on failure.
1092
+	 * If the document have no DTD attached, this method will return false.
1093
+	 */
1094
+	#[TentativeType]
1095
+	public function validate(): bool {}
1096
+
1097
+	/**
1098
+	 * Substitutes XIncludes in a DOMDocument Object
1099
+	 * @link https://php.net/manual/en/domdocument.xinclude.php
1100
+	 * @param int $options [optional] <p>
1101
+	 * libxml parameters. Available
1102
+	 * since PHP 5.1.0 and Libxml 2.6.7.
1103
+	 * </p>
1104
+	 * @return int|false the number of XIncludes in the document.
1105
+	 */
1106
+	#[TentativeType]
1107
+	public function xinclude(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $options = null): int|false {}
1108
+
1109
+	/**
1110
+	 * Load HTML from a string
1111
+	 * @link https://php.net/manual/en/domdocument.loadhtml.php
1112
+	 * @param string $source <p>
1113
+	 * The HTML string.
1114
+	 * </p>
1115
+	 * @param int $options [optional] <p>
1116
+	 * Since PHP 5.4.0 and Libxml 2.6.0, you may also
1117
+	 * use the options parameter to specify additional Libxml parameters.
1118
+	 * </p>
1119
+	 * @return DOMDocument|bool true on success or false on failure. If called statically, returns a
1120
+	 * DOMDocument and issues E_STRICT
1121
+	 * warning.
1122
+	 */
1123
+	public function loadHTML(
1124
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $source,
1125
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $options = 0
1126
+	) {}
1127
+
1128
+	/**
1129
+	 * Load HTML from a file
1130
+	 * @link https://php.net/manual/en/domdocument.loadhtmlfile.php
1131
+	 * @param string $filename <p>
1132
+	 * The path to the HTML file.
1133
+	 * </p>
1134
+	 * @param int $options [optional] <p>
1135
+	 * Since PHP 5.4.0 and Libxml 2.6.0, you may also
1136
+	 * use the options parameter to specify additional Libxml parameters.
1137
+	 * </p>
1138
+	 * @return DOMDocument|bool true on success or false on failure. If called statically, returns a
1139
+	 * DOMDocument and issues E_STRICT
1140
+	 * warning.
1141
+	 */
1142
+	public function loadHTMLFile(
1143
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
1144
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $options = 0
1145
+	) {}
1146
+
1147
+	/**
1148
+	 * Dumps the internal document into a string using HTML formatting
1149
+	 * @link https://php.net/manual/en/domdocument.savehtml.php
1150
+	 * @param null|DOMNode $node [optional] parameter to output a subset of the document.
1151
+	 * @return string|false The HTML, or false if an error occurred.
1152
+	 */
1153
+	public function saveHTML(DOMNode $node = null) {}
1154
+
1155
+	/**
1156
+	 * Dumps the internal document into a file using HTML formatting
1157
+	 * @link https://php.net/manual/en/domdocument.savehtmlfile.php
1158
+	 * @param string $filename <p>
1159
+	 * The path to the saved HTML document.
1160
+	 * </p>
1161
+	 * @return int|false the number of bytes written or false if an error occurred.
1162
+	 */
1163
+	#[TentativeType]
1164
+	public function saveHTMLFile(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename): int|false {}
1165
+
1166
+	/**
1167
+	 * Validates a document based on a schema
1168
+	 * @link https://php.net/manual/en/domdocument.schemavalidate.php
1169
+	 * @param string $filename <p>
1170
+	 * The path to the schema.
1171
+	 * </p>
1172
+	 * @param int $options [optional] <p>
1173
+	 * Bitwise OR
1174
+	 * of the libxml option constants.
1175
+	 * </p>
1176
+	 * @return bool true on success or false on failure.
1177
+	 */
1178
+	public function schemaValidate($filename, $options = null) {}
1179
+
1180
+	/**
1181
+	 * Validates a document based on a schema
1182
+	 * @link https://php.net/manual/en/domdocument.schemavalidatesource.php
1183
+	 * @param string $source <p>
1184
+	 * A string containing the schema.
1185
+	 * </p>
1186
+	 * @param int $flags [optional] <p>A bitmask of Libxml schema validation flags. Currently the only supported value is <b>LIBXML_SCHEMA_CREATE</b>.
1187
+	 * Available since PHP 5.5.2 and Libxml 2.6.14.</p>
1188
+	 * @return bool true on success or false on failure.
1189
+	 */
1190
+	public function schemaValidateSource($source, $flags) {}
1191
+
1192
+	/**
1193
+	 * Performs relaxNG validation on the document
1194
+	 * @link https://php.net/manual/en/domdocument.relaxngvalidate.php
1195
+	 * @param string $filename <p>
1196
+	 * The RNG file.
1197
+	 * </p>
1198
+	 * @return bool true on success or false on failure.
1199
+	 */
1200
+	#[TentativeType]
1201
+	public function relaxNGValidate(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename): bool {}
1202
+
1203
+	/**
1204
+	 * Performs relaxNG validation on the document
1205
+	 * @link https://php.net/manual/en/domdocument.relaxngvalidatesource.php
1206
+	 * @param string $source <p>
1207
+	 * A string containing the RNG schema.
1208
+	 * </p>
1209
+	 * @return bool true on success or false on failure.
1210
+	 */
1211
+	#[TentativeType]
1212
+	public function relaxNGValidateSource(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $source): bool {}
1213
+
1214
+	/**
1215
+	 * Register extended class used to create base node type
1216
+	 * @link https://php.net/manual/en/domdocument.registernodeclass.php
1217
+	 * @param string $baseClass <p>
1218
+	 * The DOM class that you want to extend. You can find a list of these
1219
+	 * classes in the chapter introduction.
1220
+	 * </p>
1221
+	 * @param string $extendedClass <p>
1222
+	 * Your extended class name. If null is provided, any previously
1223
+	 * registered class extending baseclass will
1224
+	 * be removed.
1225
+	 * </p>
1226
+	 * @return bool true on success or false on failure.
1227
+	 */
1228
+	#[TentativeType]
1229
+	public function registerNodeClass(
1230
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $baseClass,
1231
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $extendedClass
1232
+	): bool {}
1233 1233
 }
1234 1234
 
1235 1235
 /**
@@ -1238,38 +1238,38 @@  discard block
 block discarded – undo
1238 1238
  */
1239 1239
 class DOMNodeList implements IteratorAggregate, Countable
1240 1240
 {
1241
-    /**
1242
-     * @var int
1243
-     * The number of nodes in the list. The range of valid child node indices is 0 to length - 1 inclusive.
1244
-     * @link https://php.net/manual/en/class.domnodelist.php#domnodelist.props.length
1245
-     */
1246
-    #[LanguageLevelTypeAware(['8.1' => 'int'], default: '')]
1247
-    public $length;
1248
-
1249
-    /**
1250
-     * Retrieves a node specified by index
1251
-     * @link https://php.net/manual/en/domnodelist.item.php
1252
-     * @param int $index <p>
1253
-     * Index of the node into the collection.
1254
-     * The range of valid child node indices is 0 to length - 1 inclusive.
1255
-     * </p>
1256
-     * @return DOMNode|null The node at the indexth position in the
1257
-     * DOMNodeList, or null if that is not a valid
1258
-     * index.
1259
-     */
1260
-    public function item(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $index) {}
1261
-
1262
-    /**
1263
-     * @since 7.2
1264
-     */
1265
-    #[TentativeType]
1266
-    public function count(): int {}
1267
-
1268
-    /**
1269
-     * @return Iterator
1270
-     * @since 8.0
1271
-     */
1272
-    public function getIterator(): Iterator {}
1241
+	/**
1242
+	 * @var int
1243
+	 * The number of nodes in the list. The range of valid child node indices is 0 to length - 1 inclusive.
1244
+	 * @link https://php.net/manual/en/class.domnodelist.php#domnodelist.props.length
1245
+	 */
1246
+	#[LanguageLevelTypeAware(['8.1' => 'int'], default: '')]
1247
+	public $length;
1248
+
1249
+	/**
1250
+	 * Retrieves a node specified by index
1251
+	 * @link https://php.net/manual/en/domnodelist.item.php
1252
+	 * @param int $index <p>
1253
+	 * Index of the node into the collection.
1254
+	 * The range of valid child node indices is 0 to length - 1 inclusive.
1255
+	 * </p>
1256
+	 * @return DOMNode|null The node at the indexth position in the
1257
+	 * DOMNodeList, or null if that is not a valid
1258
+	 * index.
1259
+	 */
1260
+	public function item(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $index) {}
1261
+
1262
+	/**
1263
+	 * @since 7.2
1264
+	 */
1265
+	#[TentativeType]
1266
+	public function count(): int {}
1267
+
1268
+	/**
1269
+	 * @return Iterator
1270
+	 * @since 8.0
1271
+	 */
1272
+	public function getIterator(): Iterator {}
1273 1273
 }
1274 1274
 
1275 1275
 /**
@@ -1279,82 +1279,82 @@  discard block
 block discarded – undo
1279 1279
  */
1280 1280
 class DOMNamedNodeMap implements IteratorAggregate, Countable
1281 1281
 {
1282
-    /**
1283
-     * Retrieves a node specified by name
1284
-     * @link https://php.net/manual/en/domnamednodemap.getnameditem.php
1285
-     * @param string $qualifiedName <p>
1286
-     * The nodeName of the node to retrieve.
1287
-     * </p>
1288
-     * @return DOMNode|null A node (of any type) with the specified nodeName, or
1289
-     * null if no node is found.
1290
-     */
1291
-    #[TentativeType]
1292
-    public function getNamedItem(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName): ?DOMNode {}
1293
-
1294
-    /**
1295
-     * @param DOMNode $arg
1296
-     */
1297
-    public function setNamedItem(DOMNode $arg) {}
1298
-
1299
-    /**
1300
-     * @param $name [optional]
1301
-     */
1302
-    public function removeNamedItem($name) {}
1303
-
1304
-    /**
1305
-     * Retrieves a node specified by index
1306
-     * @link https://php.net/manual/en/domnamednodemap.item.php
1307
-     * @param int $index <p>
1308
-     * Index into this map.
1309
-     * </p>
1310
-     * @return DOMNode|null The node at the indexth position in the map, or null
1311
-     * if that is not a valid index (greater than or equal to the number of nodes
1312
-     * in this map).
1313
-     */
1314
-    #[TentativeType]
1315
-    public function item(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $index): ?DOMNode {}
1316
-
1317
-    /**
1318
-     * Retrieves a node specified by local name and namespace URI
1319
-     * @link https://php.net/manual/en/domnamednodemap.getnameditemns.php
1320
-     * @param string $namespace <p>
1321
-     * The namespace URI of the node to retrieve.
1322
-     * </p>
1323
-     * @param string $localName <p>
1324
-     * The local name of the node to retrieve.
1325
-     * </p>
1326
-     * @return DOMNode|null A node (of any type) with the specified local name and namespace URI, or
1327
-     * null if no node is found.
1328
-     */
1329
-    #[TentativeType]
1330
-    public function getNamedItemNS(
1331
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace,
1332
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName
1333
-    ): ?DOMNode {}
1334
-
1335
-    /**
1336
-     * @param DOMNode $arg [optional]
1337
-     */
1338
-    public function setNamedItemNS(DOMNode $arg) {}
1339
-
1340
-    /**
1341
-     * @param $namespace [optional]
1342
-     * @param $localName [optional]
1343
-     */
1344
-    public function removeNamedItemNS($namespace, $localName) {}
1345
-
1346
-    /**
1347
-     * @return int
1348
-     * @since 7.2
1349
-     */
1350
-    #[TentativeType]
1351
-    public function count(): int {}
1352
-
1353
-    /**
1354
-     * @return Traversable
1355
-     * @since 8.0
1356
-     */
1357
-    public function getIterator(): Iterator {}
1282
+	/**
1283
+	 * Retrieves a node specified by name
1284
+	 * @link https://php.net/manual/en/domnamednodemap.getnameditem.php
1285
+	 * @param string $qualifiedName <p>
1286
+	 * The nodeName of the node to retrieve.
1287
+	 * </p>
1288
+	 * @return DOMNode|null A node (of any type) with the specified nodeName, or
1289
+	 * null if no node is found.
1290
+	 */
1291
+	#[TentativeType]
1292
+	public function getNamedItem(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName): ?DOMNode {}
1293
+
1294
+	/**
1295
+	 * @param DOMNode $arg
1296
+	 */
1297
+	public function setNamedItem(DOMNode $arg) {}
1298
+
1299
+	/**
1300
+	 * @param $name [optional]
1301
+	 */
1302
+	public function removeNamedItem($name) {}
1303
+
1304
+	/**
1305
+	 * Retrieves a node specified by index
1306
+	 * @link https://php.net/manual/en/domnamednodemap.item.php
1307
+	 * @param int $index <p>
1308
+	 * Index into this map.
1309
+	 * </p>
1310
+	 * @return DOMNode|null The node at the indexth position in the map, or null
1311
+	 * if that is not a valid index (greater than or equal to the number of nodes
1312
+	 * in this map).
1313
+	 */
1314
+	#[TentativeType]
1315
+	public function item(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $index): ?DOMNode {}
1316
+
1317
+	/**
1318
+	 * Retrieves a node specified by local name and namespace URI
1319
+	 * @link https://php.net/manual/en/domnamednodemap.getnameditemns.php
1320
+	 * @param string $namespace <p>
1321
+	 * The namespace URI of the node to retrieve.
1322
+	 * </p>
1323
+	 * @param string $localName <p>
1324
+	 * The local name of the node to retrieve.
1325
+	 * </p>
1326
+	 * @return DOMNode|null A node (of any type) with the specified local name and namespace URI, or
1327
+	 * null if no node is found.
1328
+	 */
1329
+	#[TentativeType]
1330
+	public function getNamedItemNS(
1331
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace,
1332
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName
1333
+	): ?DOMNode {}
1334
+
1335
+	/**
1336
+	 * @param DOMNode $arg [optional]
1337
+	 */
1338
+	public function setNamedItemNS(DOMNode $arg) {}
1339
+
1340
+	/**
1341
+	 * @param $namespace [optional]
1342
+	 * @param $localName [optional]
1343
+	 */
1344
+	public function removeNamedItemNS($namespace, $localName) {}
1345
+
1346
+	/**
1347
+	 * @return int
1348
+	 * @since 7.2
1349
+	 */
1350
+	#[TentativeType]
1351
+	public function count(): int {}
1352
+
1353
+	/**
1354
+	 * @return Traversable
1355
+	 * @since 8.0
1356
+	 */
1357
+	public function getIterator(): Iterator {}
1358 1358
 }
1359 1359
 
1360 1360
 /**
@@ -1364,135 +1364,135 @@  discard block
 block discarded – undo
1364 1364
  */
1365 1365
 class DOMCharacterData extends DOMNode implements DOMChildNode
1366 1366
 {
1367
-    /**
1368
-     * @var string
1369
-     * The contents of the node.
1370
-     * @link https://php.net/manual/en/class.domcharacterdata.php#domcharacterdata.props.data
1371
-     */
1372
-    #[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
1373
-    public $data;
1374
-
1375
-    /**
1376
-     * @var int
1377
-     * The length of the contents.
1378
-     * @link https://php.net/manual/en/class.domcharacterdata.php#domcharacterdata.props.length
1379
-     */
1380
-    #[LanguageLevelTypeAware(['8.1' => 'int'], default: '')]
1381
-    public $length;
1382
-
1383
-    #[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
1384
-    public $nextElementSibling;
1385
-
1386
-    #[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
1387
-    public $previousElementSibling;
1388
-
1389
-    /**
1390
-     * Extracts a range of data from the node
1391
-     * @link https://php.net/manual/en/domcharacterdata.substringdata.php
1392
-     * @param int $offset <p>
1393
-     * Start offset of substring to extract.
1394
-     * </p>
1395
-     * @param int $count <p>
1396
-     * The number of characters to extract.
1397
-     * </p>
1398
-     * @return string The specified substring. If the sum of offset
1399
-     * and count exceeds the length, then all 16-bit units
1400
-     * to the end of the data are returned.
1401
-     */
1402
-    public function substringData(
1403
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset,
1404
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $count
1405
-    ) {}
1406
-
1407
-    /**
1408
-     * Append the string to the end of the character data of the node
1409
-     * @link https://php.net/manual/en/domcharacterdata.appenddata.php
1410
-     * @param string $data <p>
1411
-     * The string to append.
1412
-     * </p>
1413
-     * @return void
1414
-     */
1415
-    #[TentativeType]
1416
-    public function appendData(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data): bool {}
1417
-
1418
-    /**
1419
-     * Insert a string at the specified 16-bit unit offset
1420
-     * @link https://php.net/manual/en/domcharacterdata.insertdata.php
1421
-     * @param int $offset <p>
1422
-     * The character offset at which to insert.
1423
-     * </p>
1424
-     * @param string $data <p>
1425
-     * The string to insert.
1426
-     * </p>
1427
-     * @return bool
1428
-     */
1429
-    #[TentativeType]
1430
-    public function insertData(
1431
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset,
1432
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data
1433
-    ): bool {}
1434
-
1435
-    /**
1436
-     * Remove a range of characters from the node
1437
-     * @link https://php.net/manual/en/domcharacterdata.deletedata.php
1438
-     * @param int $offset <p>
1439
-     * The offset from which to start removing.
1440
-     * </p>
1441
-     * @param int $count <p>
1442
-     * The number of characters to delete. If the sum of
1443
-     * offset and count exceeds
1444
-     * the length, then all characters to the end of the data are deleted.
1445
-     * </p>
1446
-     * @return void
1447
-     */
1448
-    #[TentativeType]
1449
-    public function deleteData(
1450
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset,
1451
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $count
1452
-    ): bool {}
1453
-
1454
-    /**
1455
-     * Replace a substring within the DOMCharacterData node
1456
-     * @link https://php.net/manual/en/domcharacterdata.replacedata.php
1457
-     * @param int $offset <p>
1458
-     * The offset from which to start replacing.
1459
-     * </p>
1460
-     * @param int $count <p>
1461
-     * The number of characters to replace. If the sum of
1462
-     * offset and count exceeds
1463
-     * the length, then all characters to the end of the data are replaced.
1464
-     * </p>
1465
-     * @param string $data <p>
1466
-     * The string with which the range must be replaced.
1467
-     * </p>
1468
-     * @return bool
1469
-     */
1470
-    #[TentativeType]
1471
-    public function replaceData(
1472
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset,
1473
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $count,
1474
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data
1475
-    ): bool {}
1476
-
1477
-    /**
1478
-     * {@inheritDoc}
1479
-     */
1480
-    public function remove(): void {}
1481
-
1482
-    /**
1483
-     * {@inheritDoc}
1484
-     */
1485
-    public function before(...$nodes): void {}
1486
-
1487
-    /**
1488
-     * {@inheritDoc}
1489
-     */
1490
-    public function after(...$nodes): void {}
1491
-
1492
-    /**
1493
-     * {@inheritDoc}
1494
-     */
1495
-    public function replaceWith(...$nodes): void {}
1367
+	/**
1368
+	 * @var string
1369
+	 * The contents of the node.
1370
+	 * @link https://php.net/manual/en/class.domcharacterdata.php#domcharacterdata.props.data
1371
+	 */
1372
+	#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
1373
+	public $data;
1374
+
1375
+	/**
1376
+	 * @var int
1377
+	 * The length of the contents.
1378
+	 * @link https://php.net/manual/en/class.domcharacterdata.php#domcharacterdata.props.length
1379
+	 */
1380
+	#[LanguageLevelTypeAware(['8.1' => 'int'], default: '')]
1381
+	public $length;
1382
+
1383
+	#[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
1384
+	public $nextElementSibling;
1385
+
1386
+	#[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
1387
+	public $previousElementSibling;
1388
+
1389
+	/**
1390
+	 * Extracts a range of data from the node
1391
+	 * @link https://php.net/manual/en/domcharacterdata.substringdata.php
1392
+	 * @param int $offset <p>
1393
+	 * Start offset of substring to extract.
1394
+	 * </p>
1395
+	 * @param int $count <p>
1396
+	 * The number of characters to extract.
1397
+	 * </p>
1398
+	 * @return string The specified substring. If the sum of offset
1399
+	 * and count exceeds the length, then all 16-bit units
1400
+	 * to the end of the data are returned.
1401
+	 */
1402
+	public function substringData(
1403
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset,
1404
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $count
1405
+	) {}
1406
+
1407
+	/**
1408
+	 * Append the string to the end of the character data of the node
1409
+	 * @link https://php.net/manual/en/domcharacterdata.appenddata.php
1410
+	 * @param string $data <p>
1411
+	 * The string to append.
1412
+	 * </p>
1413
+	 * @return void
1414
+	 */
1415
+	#[TentativeType]
1416
+	public function appendData(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data): bool {}
1417
+
1418
+	/**
1419
+	 * Insert a string at the specified 16-bit unit offset
1420
+	 * @link https://php.net/manual/en/domcharacterdata.insertdata.php
1421
+	 * @param int $offset <p>
1422
+	 * The character offset at which to insert.
1423
+	 * </p>
1424
+	 * @param string $data <p>
1425
+	 * The string to insert.
1426
+	 * </p>
1427
+	 * @return bool
1428
+	 */
1429
+	#[TentativeType]
1430
+	public function insertData(
1431
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset,
1432
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data
1433
+	): bool {}
1434
+
1435
+	/**
1436
+	 * Remove a range of characters from the node
1437
+	 * @link https://php.net/manual/en/domcharacterdata.deletedata.php
1438
+	 * @param int $offset <p>
1439
+	 * The offset from which to start removing.
1440
+	 * </p>
1441
+	 * @param int $count <p>
1442
+	 * The number of characters to delete. If the sum of
1443
+	 * offset and count exceeds
1444
+	 * the length, then all characters to the end of the data are deleted.
1445
+	 * </p>
1446
+	 * @return void
1447
+	 */
1448
+	#[TentativeType]
1449
+	public function deleteData(
1450
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset,
1451
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $count
1452
+	): bool {}
1453
+
1454
+	/**
1455
+	 * Replace a substring within the DOMCharacterData node
1456
+	 * @link https://php.net/manual/en/domcharacterdata.replacedata.php
1457
+	 * @param int $offset <p>
1458
+	 * The offset from which to start replacing.
1459
+	 * </p>
1460
+	 * @param int $count <p>
1461
+	 * The number of characters to replace. If the sum of
1462
+	 * offset and count exceeds
1463
+	 * the length, then all characters to the end of the data are replaced.
1464
+	 * </p>
1465
+	 * @param string $data <p>
1466
+	 * The string with which the range must be replaced.
1467
+	 * </p>
1468
+	 * @return bool
1469
+	 */
1470
+	#[TentativeType]
1471
+	public function replaceData(
1472
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset,
1473
+		#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $count,
1474
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data
1475
+	): bool {}
1476
+
1477
+	/**
1478
+	 * {@inheritDoc}
1479
+	 */
1480
+	public function remove(): void {}
1481
+
1482
+	/**
1483
+	 * {@inheritDoc}
1484
+	 */
1485
+	public function before(...$nodes): void {}
1486
+
1487
+	/**
1488
+	 * {@inheritDoc}
1489
+	 */
1490
+	public function after(...$nodes): void {}
1491
+
1492
+	/**
1493
+	 * {@inheritDoc}
1494
+	 */
1495
+	public function replaceWith(...$nodes): void {}
1496 1496
 }
1497 1497
 
1498 1498
 /**
@@ -1501,70 +1501,70 @@  discard block
 block discarded – undo
1501 1501
  */
1502 1502
 class DOMAttr extends DOMNode
1503 1503
 {
1504
-    /**
1505
-     * @var string
1506
-     * (PHP5)<br/>
1507
-     * The name of the attribute
1508
-     * @link https://php.net/manual/en/class.domattr.php#domattr.props.name
1509
-     */
1510
-    #[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
1511
-    public $name;
1512
-
1513
-    /**
1514
-     * @var DOMElement
1515
-     * (PHP5)<br/>
1516
-     * The element which contains the attribute
1517
-     * @link https://php.net/manual/en/class.domattr.php#domattr.props.ownerelement
1518
-     */
1519
-    #[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
1520
-    public $ownerElement;
1521
-
1522
-    /**
1523
-     * @var bool
1524
-     * (PHP5)<br/>
1525
-     * Not implemented yet, always is NULL
1526
-     * @link https://php.net/manual/en/class.domattr.php#domattr.props.schematypeinfo
1527
-     */
1528
-    #[LanguageLevelTypeAware(['8.1' => 'mixed'], default: '')]
1529
-    public $schemaTypeInfo;
1530
-
1531
-    /**
1532
-     * @var bool
1533
-     * (PHP5)<br/>
1534
-     * Not implemented yet, always is NULL
1535
-     * @link https://php.net/manual/en/class.domattr.php#domattr.props.specified
1536
-     */
1537
-    #[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
1538
-    public $specified;
1539
-
1540
-    /**
1541
-     * @var string
1542
-     * (PHP5)<br/>
1543
-     * The value of the attribute
1544
-     * @link https://php.net/manual/en/class.domattr.php#domattr.props.value
1545
-     */
1546
-    #[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
1547
-    public $value;
1548
-
1549
-    /**
1550
-     * Checks if attribute is a defined ID
1551
-     * @link https://php.net/manual/en/domattr.isid.php
1552
-     * @return bool true on success or false on failure.
1553
-     */
1554
-    #[TentativeType]
1555
-    public function isId(): bool {}
1556
-
1557
-    /**
1558
-     * Creates a new {@see DOMAttr} object
1559
-     * @link https://php.net/manual/en/domattr.construct.php
1560
-     * @param string $name <p>The tag name of the attribute.</p>
1561
-     * @param string $value [optional] <p>The value of the attribute.</p>
1562
-     * @throws DOMException If invalid $name
1563
-     */
1564
-    public function __construct(
1565
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name,
1566
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $value = ''
1567
-    ) {}
1504
+	/**
1505
+	 * @var string
1506
+	 * (PHP5)<br/>
1507
+	 * The name of the attribute
1508
+	 * @link https://php.net/manual/en/class.domattr.php#domattr.props.name
1509
+	 */
1510
+	#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
1511
+	public $name;
1512
+
1513
+	/**
1514
+	 * @var DOMElement
1515
+	 * (PHP5)<br/>
1516
+	 * The element which contains the attribute
1517
+	 * @link https://php.net/manual/en/class.domattr.php#domattr.props.ownerelement
1518
+	 */
1519
+	#[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
1520
+	public $ownerElement;
1521
+
1522
+	/**
1523
+	 * @var bool
1524
+	 * (PHP5)<br/>
1525
+	 * Not implemented yet, always is NULL
1526
+	 * @link https://php.net/manual/en/class.domattr.php#domattr.props.schematypeinfo
1527
+	 */
1528
+	#[LanguageLevelTypeAware(['8.1' => 'mixed'], default: '')]
1529
+	public $schemaTypeInfo;
1530
+
1531
+	/**
1532
+	 * @var bool
1533
+	 * (PHP5)<br/>
1534
+	 * Not implemented yet, always is NULL
1535
+	 * @link https://php.net/manual/en/class.domattr.php#domattr.props.specified
1536
+	 */
1537
+	#[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
1538
+	public $specified;
1539
+
1540
+	/**
1541
+	 * @var string
1542
+	 * (PHP5)<br/>
1543
+	 * The value of the attribute
1544
+	 * @link https://php.net/manual/en/class.domattr.php#domattr.props.value
1545
+	 */
1546
+	#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
1547
+	public $value;
1548
+
1549
+	/**
1550
+	 * Checks if attribute is a defined ID
1551
+	 * @link https://php.net/manual/en/domattr.isid.php
1552
+	 * @return bool true on success or false on failure.
1553
+	 */
1554
+	#[TentativeType]
1555
+	public function isId(): bool {}
1556
+
1557
+	/**
1558
+	 * Creates a new {@see DOMAttr} object
1559
+	 * @link https://php.net/manual/en/domattr.construct.php
1560
+	 * @param string $name <p>The tag name of the attribute.</p>
1561
+	 * @param string $value [optional] <p>The value of the attribute.</p>
1562
+	 * @throws DOMException If invalid $name
1563
+	 */
1564
+	public function __construct(
1565
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name,
1566
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $value = ''
1567
+	) {}
1568 1568
 }
1569 1569
 
1570 1570
 /**
@@ -1573,381 +1573,381 @@  discard block
 block discarded – undo
1573 1573
  */
1574 1574
 class DOMElement extends DOMNode implements DOMParentNode, DOMChildNode
1575 1575
 {
1576
-    /**
1577
-     * @var DOMElement|null
1578
-     * The parent of this node. If there is no such node, this returns NULL.
1579
-     * @link https://php.net/manual/en/class.domnode.php#domnode.props.parentnode
1580
-     */
1581
-    public $parentNode;
1582
-
1583
-    /**
1584
-     * @var DOMElement|null
1585
-     * The first child of this node. If there is no such node, this returns NULL.
1586
-     * @link https://php.net/manual/en/class.domnode.php#domnode.props.firstchild
1587
-     */
1588
-    public $firstChild;
1589
-
1590
-    /**
1591
-     * @var DOMElement|null
1592
-     * The last child of this node. If there is no such node, this returns NULL.
1593
-     * @link https://php.net/manual/en/class.domnode.php#domnode.props.lastchild
1594
-     */
1595
-    public $lastChild;
1596
-
1597
-    /**
1598
-     * @var DOMElement|null
1599
-     * The node immediately preceding this node. If there is no such node, this returns NULL.
1600
-     * @link https://php.net/manual/en/class.domnode.php#domnode.props.previoussibling
1601
-     */
1602
-    public $previousSibling;
1603
-
1604
-    /**
1605
-     * @var DOMElement|null
1606
-     * The node immediately following this node. If there is no such node, this returns NULL.
1607
-     * @link https://php.net/manual/en/class.domnode.php#domnode.props.nextsibling
1608
-     */
1609
-    public $nextSibling;
1610
-
1611
-    /**
1612
-     * @var bool
1613
-     * Not implemented yet, always return NULL
1614
-     * @link https://php.net/manual/en/class.domelement.php#domelement.props.schematypeinfo
1615
-     */
1616
-    #[LanguageLevelTypeAware(['8.1' => 'mixed'], default: '')]
1617
-    public $schemaTypeInfo;
1618
-
1619
-    /**
1620
-     * @var string
1621
-     * The element name
1622
-     * @link https://php.net/manual/en/class.domelement.php#domelement.props.tagname
1623
-     */
1624
-    #[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
1625
-    public $tagName;
1626
-
1627
-    #[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
1628
-    public $firstElementChild;
1629
-
1630
-    #[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
1631
-    public $lastElementChild;
1632
-
1633
-    #[LanguageLevelTypeAware(['8.1' => 'int'], default: '')]
1634
-    public $childElementCount;
1635
-
1636
-    #[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
1637
-    public $previousElementSibling;
1638
-
1639
-    #[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
1640
-    public $nextElementSibling;
1641
-
1642
-    /**
1643
-     * Returns value of attribute
1644
-     * @link https://php.net/manual/en/domelement.getattribute.php
1645
-     * @param string $qualifiedName <p>
1646
-     * The name of the attribute.
1647
-     * </p>
1648
-     * @return string The value of the attribute, or an empty string if no attribute with the
1649
-     * given name is found.
1650
-     */
1651
-    #[TentativeType]
1652
-    public function getAttribute(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName): string {}
1653
-
1654
-    /**
1655
-     * Adds new attribute
1656
-     * @link https://php.net/manual/en/domelement.setattribute.php
1657
-     * @param string $qualifiedName <p>
1658
-     * The name of the attribute.
1659
-     * </p>
1660
-     * @param string $value <p>
1661
-     * The value of the attribute.
1662
-     * </p>
1663
-     * @return DOMAttr|false The new DOMAttr or false if an error occurred.
1664
-     */
1665
-    public function setAttribute(
1666
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName,
1667
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $value
1668
-    ) {}
1669
-
1670
-    /**
1671
-     * Removes attribute
1672
-     * @link https://php.net/manual/en/domelement.removeattribute.php
1673
-     * @param string $qualifiedName <p>
1674
-     * The name of the attribute.
1675
-     * </p>
1676
-     * @return bool true on success or false on failure.
1677
-     */
1678
-    #[TentativeType]
1679
-    public function removeAttribute(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName): bool {}
1680
-
1681
-    /**
1682
-     * Returns attribute node
1683
-     * @link https://php.net/manual/en/domelement.getattributenode.php
1684
-     * @param string $qualifiedName <p>
1685
-     * The name of the attribute.
1686
-     * </p>
1687
-     * @return DOMAttr The attribute node.
1688
-     */
1689
-    public function getAttributeNode(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName) {}
1690
-
1691
-    /**
1692
-     * Adds new attribute node to element
1693
-     * @link https://php.net/manual/en/domelement.setattributenode.php
1694
-     * @param DOMAttr $attr <p>
1695
-     * The attribute node.
1696
-     * </p>
1697
-     * @return DOMAttr|null Old node if the attribute has been replaced or null.
1698
-     */
1699
-    public function setAttributeNode(DOMAttr $attr) {}
1700
-
1701
-    /**
1702
-     * Removes attribute
1703
-     * @link https://php.net/manual/en/domelement.removeattributenode.php
1704
-     * @param DOMAttr $attr <p>
1705
-     * The attribute node.
1706
-     * </p>
1707
-     * @return bool true on success or false on failure.
1708
-     */
1709
-    public function removeAttributeNode(DOMAttr $attr) {}
1710
-
1711
-    /**
1712
-     * Gets elements by tagname
1713
-     * @link https://php.net/manual/en/domelement.getelementsbytagname.php
1714
-     * @param string $qualifiedName <p>
1715
-     * The tag name. Use * to return all elements within
1716
-     * the element tree.
1717
-     * </p>
1718
-     * @return DOMNodeList This function returns a new instance of the class
1719
-     * DOMNodeList of all matched elements.
1720
-     */
1721
-    #[TentativeType]
1722
-    public function getElementsByTagName(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName): DOMNodeList {}
1723
-
1724
-    /**
1725
-     * Returns value of attribute
1726
-     * @link https://php.net/manual/en/domelement.getattributens.php
1727
-     * @param string $namespace <p>
1728
-     * The namespace URI.
1729
-     * </p>
1730
-     * @param string $localName <p>
1731
-     * The local name.
1732
-     * </p>
1733
-     * @return string The value of the attribute, or an empty string if no attribute with the
1734
-     * given localName and namespaceURI
1735
-     * is found.
1736
-     */
1737
-    #[TentativeType]
1738
-    public function getAttributeNS(
1739
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace,
1740
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName
1741
-    ): string {}
1742
-
1743
-    /**
1744
-     * Adds new attribute
1745
-     * @link https://php.net/manual/en/domelement.setattributens.php
1746
-     * @param string $namespace <p>
1747
-     * The namespace URI.
1748
-     * </p>
1749
-     * @param string $qualifiedName <p>
1750
-     * The qualified name of the attribute, as prefix:tagname.
1751
-     * </p>
1752
-     * @param string $value <p>
1753
-     * The value of the attribute.
1754
-     * </p>
1755
-     * @return void
1756
-     */
1757
-    #[TentativeType]
1758
-    public function setAttributeNS(
1759
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace,
1760
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName,
1761
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $value
1762
-    ): void {}
1763
-
1764
-    /**
1765
-     * Removes attribute
1766
-     * @link https://php.net/manual/en/domelement.removeattributens.php
1767
-     * @param string $namespace <p>
1768
-     * The namespace URI.
1769
-     * </p>
1770
-     * @param string $localName <p>
1771
-     * The local name.
1772
-     * </p>
1773
-     * @return bool true on success or false on failure.
1774
-     */
1775
-    #[TentativeType]
1776
-    public function removeAttributeNS(
1777
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace,
1778
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName
1779
-    ): void {}
1780
-
1781
-    /**
1782
-     * Returns attribute node
1783
-     * @link https://php.net/manual/en/domelement.getattributenodens.php
1784
-     * @param string $namespace <p>
1785
-     * The namespace URI.
1786
-     * </p>
1787
-     * @param string $localName <p>
1788
-     * The local name.
1789
-     * </p>
1790
-     * @return DOMAttr The attribute node.
1791
-     */
1792
-    public function getAttributeNodeNS(
1793
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace,
1794
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName
1795
-    ) {}
1796
-
1797
-    /**
1798
-     * Adds new attribute node to element
1799
-     * @link https://php.net/manual/en/domelement.setattributenodens.php
1800
-     * @param DOMAttr $attr
1801
-     * @return DOMAttr the old node if the attribute has been replaced.
1802
-     */
1803
-    public function setAttributeNodeNS(DOMAttr $attr) {}
1804
-
1805
-    /**
1806
-     * Get elements by namespaceURI and localName
1807
-     * @link https://php.net/manual/en/domelement.getelementsbytagnamens.php
1808
-     * @param string $namespace <p>
1809
-     * The namespace URI.
1810
-     * </p>
1811
-     * @param string $localName <p>
1812
-     * The local name. Use * to return all elements within
1813
-     * the element tree.
1814
-     * </p>
1815
-     * @return DOMNodeList This function returns a new instance of the class
1816
-     * DOMNodeList of all matched elements in the order in
1817
-     * which they are encountered in a preorder traversal of this element tree.
1818
-     */
1819
-    #[TentativeType]
1820
-    public function getElementsByTagNameNS(
1821
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace,
1822
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName
1823
-    ): DOMNodeList {}
1824
-
1825
-    /**
1826
-     * Checks to see if attribute exists
1827
-     * @link https://php.net/manual/en/domelement.hasattribute.php
1828
-     * @param string $qualifiedName <p>
1829
-     * The attribute name.
1830
-     * </p>
1831
-     * @return bool true on success or false on failure.
1832
-     */
1833
-    #[TentativeType]
1834
-    public function hasAttribute(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName): bool {}
1835
-
1836
-    /**
1837
-     * Checks to see if attribute exists
1838
-     * @link https://php.net/manual/en/domelement.hasattributens.php
1839
-     * @param string $namespace <p>
1840
-     * The namespace URI.
1841
-     * </p>
1842
-     * @param string $localName <p>
1843
-     * The local name.
1844
-     * </p>
1845
-     * @return bool true on success or false on failure.
1846
-     */
1847
-    #[TentativeType]
1848
-    public function hasAttributeNS(
1849
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace,
1850
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName
1851
-    ): bool {}
1852
-
1853
-    /**
1854
-     * Declares the attribute specified by name to be of type ID
1855
-     * @link https://php.net/manual/en/domelement.setidattribute.php
1856
-     * @param string $qualifiedName <p>
1857
-     * The name of the attribute.
1858
-     * </p>
1859
-     * @param bool $isId <p>
1860
-     * Set it to true if you want name to be of type
1861
-     * ID, false otherwise.
1862
-     * </p>
1863
-     * @return void
1864
-     */
1865
-    #[TentativeType]
1866
-    public function setIdAttribute(
1867
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName,
1868
-        #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $isId
1869
-    ): void {}
1870
-
1871
-    /**
1872
-     * Declares the attribute specified by local name and namespace URI to be of type ID
1873
-     * @link https://php.net/manual/en/domelement.setidattributens.php
1874
-     * @param string $namespace <p>
1875
-     * The namespace URI of the attribute.
1876
-     * </p>
1877
-     * @param string $qualifiedName <p>
1878
-     * The local name of the attribute, as prefix:tagname.
1879
-     * </p>
1880
-     * @param bool $isId <p>
1881
-     * Set it to true if you want name to be of type
1882
-     * ID, false otherwise.
1883
-     * </p>
1884
-     * @return void
1885
-     */
1886
-    #[TentativeType]
1887
-    public function setIdAttributeNS(
1888
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $namespace,
1889
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName,
1890
-        #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $isId
1891
-    ): void {}
1892
-
1893
-    /**
1894
-     * Declares the attribute specified by node to be of type ID
1895
-     * @link https://php.net/manual/en/domelement.setidattributenode.php
1896
-     * @param DOMAttr $attr <p>
1897
-     * The attribute node.
1898
-     * </p>
1899
-     * @param bool $isId <p>
1900
-     * Set it to true if you want name to be of type
1901
-     * ID, false otherwise.
1902
-     * </p>
1903
-     * @return void
1904
-     */
1905
-    #[TentativeType]
1906
-    public function setIdAttributeNode(DOMAttr $attr, #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $isId): void {}
1907
-
1908
-    /**
1909
-     * {@inheritDoc}
1910
-     */
1911
-    public function remove(): void {}
1912
-
1913
-    /**
1914
-     * {@inheritDoc}
1915
-     */
1916
-    public function before(...$nodes): void {}
1917
-
1918
-    /**
1919
-     * {@inheritDoc}
1920
-     */
1921
-    public function after(...$nodes): void {}
1922
-
1923
-    /**
1924
-     * {@inheritDoc}
1925
-     */
1926
-    public function replaceWith(...$nodes): void {}
1927
-
1928
-    /**
1929
-     * {@inheritDoc}
1930
-     */
1931
-    public function append(...$nodes): void {}
1932
-
1933
-    /**
1934
-     * {@inheritDoc}
1935
-     */
1936
-    public function prepend(...$nodes): void {}
1937
-
1938
-    /**
1939
-     * Creates a new DOMElement object
1940
-     * @link https://php.net/manual/en/domelement.construct.php
1941
-     * @param string $qualifiedName The tag name of the element. When also passing in namespaceURI, the element name may take a prefix to be associated with the URI.
1942
-     * @param string|null $value [optional] The value of the element.
1943
-     * @param string $namespace [optional] A namespace URI to create the element within a specific namespace.
1944
-     * @throws DOMException If invalid $qualifiedName
1945
-     */
1946
-    public function __construct(
1947
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName,
1948
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $value = null,
1949
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $namespace = null
1950
-    ) {}
1576
+	/**
1577
+	 * @var DOMElement|null
1578
+	 * The parent of this node. If there is no such node, this returns NULL.
1579
+	 * @link https://php.net/manual/en/class.domnode.php#domnode.props.parentnode
1580
+	 */
1581
+	public $parentNode;
1582
+
1583
+	/**
1584
+	 * @var DOMElement|null
1585
+	 * The first child of this node. If there is no such node, this returns NULL.
1586
+	 * @link https://php.net/manual/en/class.domnode.php#domnode.props.firstchild
1587
+	 */
1588
+	public $firstChild;
1589
+
1590
+	/**
1591
+	 * @var DOMElement|null
1592
+	 * The last child of this node. If there is no such node, this returns NULL.
1593
+	 * @link https://php.net/manual/en/class.domnode.php#domnode.props.lastchild
1594
+	 */
1595
+	public $lastChild;
1596
+
1597
+	/**
1598
+	 * @var DOMElement|null
1599
+	 * The node immediately preceding this node. If there is no such node, this returns NULL.
1600
+	 * @link https://php.net/manual/en/class.domnode.php#domnode.props.previoussibling
1601
+	 */
1602
+	public $previousSibling;
1603
+
1604
+	/**
1605
+	 * @var DOMElement|null
1606
+	 * The node immediately following this node. If there is no such node, this returns NULL.
1607
+	 * @link https://php.net/manual/en/class.domnode.php#domnode.props.nextsibling
1608
+	 */
1609
+	public $nextSibling;
1610
+
1611
+	/**
1612
+	 * @var bool
1613
+	 * Not implemented yet, always return NULL
1614
+	 * @link https://php.net/manual/en/class.domelement.php#domelement.props.schematypeinfo
1615
+	 */
1616
+	#[LanguageLevelTypeAware(['8.1' => 'mixed'], default: '')]
1617
+	public $schemaTypeInfo;
1618
+
1619
+	/**
1620
+	 * @var string
1621
+	 * The element name
1622
+	 * @link https://php.net/manual/en/class.domelement.php#domelement.props.tagname
1623
+	 */
1624
+	#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
1625
+	public $tagName;
1626
+
1627
+	#[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
1628
+	public $firstElementChild;
1629
+
1630
+	#[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
1631
+	public $lastElementChild;
1632
+
1633
+	#[LanguageLevelTypeAware(['8.1' => 'int'], default: '')]
1634
+	public $childElementCount;
1635
+
1636
+	#[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
1637
+	public $previousElementSibling;
1638
+
1639
+	#[LanguageLevelTypeAware(['8.1' => 'DOMElement|null'], default: '')]
1640
+	public $nextElementSibling;
1641
+
1642
+	/**
1643
+	 * Returns value of attribute
1644
+	 * @link https://php.net/manual/en/domelement.getattribute.php
1645
+	 * @param string $qualifiedName <p>
1646
+	 * The name of the attribute.
1647
+	 * </p>
1648
+	 * @return string The value of the attribute, or an empty string if no attribute with the
1649
+	 * given name is found.
1650
+	 */
1651
+	#[TentativeType]
1652
+	public function getAttribute(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName): string {}
1653
+
1654
+	/**
1655
+	 * Adds new attribute
1656
+	 * @link https://php.net/manual/en/domelement.setattribute.php
1657
+	 * @param string $qualifiedName <p>
1658
+	 * The name of the attribute.
1659
+	 * </p>
1660
+	 * @param string $value <p>
1661
+	 * The value of the attribute.
1662
+	 * </p>
1663
+	 * @return DOMAttr|false The new DOMAttr or false if an error occurred.
1664
+	 */
1665
+	public function setAttribute(
1666
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName,
1667
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $value
1668
+	) {}
1669
+
1670
+	/**
1671
+	 * Removes attribute
1672
+	 * @link https://php.net/manual/en/domelement.removeattribute.php
1673
+	 * @param string $qualifiedName <p>
1674
+	 * The name of the attribute.
1675
+	 * </p>
1676
+	 * @return bool true on success or false on failure.
1677
+	 */
1678
+	#[TentativeType]
1679
+	public function removeAttribute(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName): bool {}
1680
+
1681
+	/**
1682
+	 * Returns attribute node
1683
+	 * @link https://php.net/manual/en/domelement.getattributenode.php
1684
+	 * @param string $qualifiedName <p>
1685
+	 * The name of the attribute.
1686
+	 * </p>
1687
+	 * @return DOMAttr The attribute node.
1688
+	 */
1689
+	public function getAttributeNode(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName) {}
1690
+
1691
+	/**
1692
+	 * Adds new attribute node to element
1693
+	 * @link https://php.net/manual/en/domelement.setattributenode.php
1694
+	 * @param DOMAttr $attr <p>
1695
+	 * The attribute node.
1696
+	 * </p>
1697
+	 * @return DOMAttr|null Old node if the attribute has been replaced or null.
1698
+	 */
1699
+	public function setAttributeNode(DOMAttr $attr) {}
1700
+
1701
+	/**
1702
+	 * Removes attribute
1703
+	 * @link https://php.net/manual/en/domelement.removeattributenode.php
1704
+	 * @param DOMAttr $attr <p>
1705
+	 * The attribute node.
1706
+	 * </p>
1707
+	 * @return bool true on success or false on failure.
1708
+	 */
1709
+	public function removeAttributeNode(DOMAttr $attr) {}
1710
+
1711
+	/**
1712
+	 * Gets elements by tagname
1713
+	 * @link https://php.net/manual/en/domelement.getelementsbytagname.php
1714
+	 * @param string $qualifiedName <p>
1715
+	 * The tag name. Use * to return all elements within
1716
+	 * the element tree.
1717
+	 * </p>
1718
+	 * @return DOMNodeList This function returns a new instance of the class
1719
+	 * DOMNodeList of all matched elements.
1720
+	 */
1721
+	#[TentativeType]
1722
+	public function getElementsByTagName(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName): DOMNodeList {}
1723
+
1724
+	/**
1725
+	 * Returns value of attribute
1726
+	 * @link https://php.net/manual/en/domelement.getattributens.php
1727
+	 * @param string $namespace <p>
1728
+	 * The namespace URI.
1729
+	 * </p>
1730
+	 * @param string $localName <p>
1731
+	 * The local name.
1732
+	 * </p>
1733
+	 * @return string The value of the attribute, or an empty string if no attribute with the
1734
+	 * given localName and namespaceURI
1735
+	 * is found.
1736
+	 */
1737
+	#[TentativeType]
1738
+	public function getAttributeNS(
1739
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace,
1740
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName
1741
+	): string {}
1742
+
1743
+	/**
1744
+	 * Adds new attribute
1745
+	 * @link https://php.net/manual/en/domelement.setattributens.php
1746
+	 * @param string $namespace <p>
1747
+	 * The namespace URI.
1748
+	 * </p>
1749
+	 * @param string $qualifiedName <p>
1750
+	 * The qualified name of the attribute, as prefix:tagname.
1751
+	 * </p>
1752
+	 * @param string $value <p>
1753
+	 * The value of the attribute.
1754
+	 * </p>
1755
+	 * @return void
1756
+	 */
1757
+	#[TentativeType]
1758
+	public function setAttributeNS(
1759
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace,
1760
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName,
1761
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $value
1762
+	): void {}
1763
+
1764
+	/**
1765
+	 * Removes attribute
1766
+	 * @link https://php.net/manual/en/domelement.removeattributens.php
1767
+	 * @param string $namespace <p>
1768
+	 * The namespace URI.
1769
+	 * </p>
1770
+	 * @param string $localName <p>
1771
+	 * The local name.
1772
+	 * </p>
1773
+	 * @return bool true on success or false on failure.
1774
+	 */
1775
+	#[TentativeType]
1776
+	public function removeAttributeNS(
1777
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace,
1778
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName
1779
+	): void {}
1780
+
1781
+	/**
1782
+	 * Returns attribute node
1783
+	 * @link https://php.net/manual/en/domelement.getattributenodens.php
1784
+	 * @param string $namespace <p>
1785
+	 * The namespace URI.
1786
+	 * </p>
1787
+	 * @param string $localName <p>
1788
+	 * The local name.
1789
+	 * </p>
1790
+	 * @return DOMAttr The attribute node.
1791
+	 */
1792
+	public function getAttributeNodeNS(
1793
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace,
1794
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName
1795
+	) {}
1796
+
1797
+	/**
1798
+	 * Adds new attribute node to element
1799
+	 * @link https://php.net/manual/en/domelement.setattributenodens.php
1800
+	 * @param DOMAttr $attr
1801
+	 * @return DOMAttr the old node if the attribute has been replaced.
1802
+	 */
1803
+	public function setAttributeNodeNS(DOMAttr $attr) {}
1804
+
1805
+	/**
1806
+	 * Get elements by namespaceURI and localName
1807
+	 * @link https://php.net/manual/en/domelement.getelementsbytagnamens.php
1808
+	 * @param string $namespace <p>
1809
+	 * The namespace URI.
1810
+	 * </p>
1811
+	 * @param string $localName <p>
1812
+	 * The local name. Use * to return all elements within
1813
+	 * the element tree.
1814
+	 * </p>
1815
+	 * @return DOMNodeList This function returns a new instance of the class
1816
+	 * DOMNodeList of all matched elements in the order in
1817
+	 * which they are encountered in a preorder traversal of this element tree.
1818
+	 */
1819
+	#[TentativeType]
1820
+	public function getElementsByTagNameNS(
1821
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace,
1822
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName
1823
+	): DOMNodeList {}
1824
+
1825
+	/**
1826
+	 * Checks to see if attribute exists
1827
+	 * @link https://php.net/manual/en/domelement.hasattribute.php
1828
+	 * @param string $qualifiedName <p>
1829
+	 * The attribute name.
1830
+	 * </p>
1831
+	 * @return bool true on success or false on failure.
1832
+	 */
1833
+	#[TentativeType]
1834
+	public function hasAttribute(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName): bool {}
1835
+
1836
+	/**
1837
+	 * Checks to see if attribute exists
1838
+	 * @link https://php.net/manual/en/domelement.hasattributens.php
1839
+	 * @param string $namespace <p>
1840
+	 * The namespace URI.
1841
+	 * </p>
1842
+	 * @param string $localName <p>
1843
+	 * The local name.
1844
+	 * </p>
1845
+	 * @return bool true on success or false on failure.
1846
+	 */
1847
+	#[TentativeType]
1848
+	public function hasAttributeNS(
1849
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace,
1850
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName
1851
+	): bool {}
1852
+
1853
+	/**
1854
+	 * Declares the attribute specified by name to be of type ID
1855
+	 * @link https://php.net/manual/en/domelement.setidattribute.php
1856
+	 * @param string $qualifiedName <p>
1857
+	 * The name of the attribute.
1858
+	 * </p>
1859
+	 * @param bool $isId <p>
1860
+	 * Set it to true if you want name to be of type
1861
+	 * ID, false otherwise.
1862
+	 * </p>
1863
+	 * @return void
1864
+	 */
1865
+	#[TentativeType]
1866
+	public function setIdAttribute(
1867
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName,
1868
+		#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $isId
1869
+	): void {}
1870
+
1871
+	/**
1872
+	 * Declares the attribute specified by local name and namespace URI to be of type ID
1873
+	 * @link https://php.net/manual/en/domelement.setidattributens.php
1874
+	 * @param string $namespace <p>
1875
+	 * The namespace URI of the attribute.
1876
+	 * </p>
1877
+	 * @param string $qualifiedName <p>
1878
+	 * The local name of the attribute, as prefix:tagname.
1879
+	 * </p>
1880
+	 * @param bool $isId <p>
1881
+	 * Set it to true if you want name to be of type
1882
+	 * ID, false otherwise.
1883
+	 * </p>
1884
+	 * @return void
1885
+	 */
1886
+	#[TentativeType]
1887
+	public function setIdAttributeNS(
1888
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $namespace,
1889
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName,
1890
+		#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $isId
1891
+	): void {}
1892
+
1893
+	/**
1894
+	 * Declares the attribute specified by node to be of type ID
1895
+	 * @link https://php.net/manual/en/domelement.setidattributenode.php
1896
+	 * @param DOMAttr $attr <p>
1897
+	 * The attribute node.
1898
+	 * </p>
1899
+	 * @param bool $isId <p>
1900
+	 * Set it to true if you want name to be of type
1901
+	 * ID, false otherwise.
1902
+	 * </p>
1903
+	 * @return void
1904
+	 */
1905
+	#[TentativeType]
1906
+	public function setIdAttributeNode(DOMAttr $attr, #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $isId): void {}
1907
+
1908
+	/**
1909
+	 * {@inheritDoc}
1910
+	 */
1911
+	public function remove(): void {}
1912
+
1913
+	/**
1914
+	 * {@inheritDoc}
1915
+	 */
1916
+	public function before(...$nodes): void {}
1917
+
1918
+	/**
1919
+	 * {@inheritDoc}
1920
+	 */
1921
+	public function after(...$nodes): void {}
1922
+
1923
+	/**
1924
+	 * {@inheritDoc}
1925
+	 */
1926
+	public function replaceWith(...$nodes): void {}
1927
+
1928
+	/**
1929
+	 * {@inheritDoc}
1930
+	 */
1931
+	public function append(...$nodes): void {}
1932
+
1933
+	/**
1934
+	 * {@inheritDoc}
1935
+	 */
1936
+	public function prepend(...$nodes): void {}
1937
+
1938
+	/**
1939
+	 * Creates a new DOMElement object
1940
+	 * @link https://php.net/manual/en/domelement.construct.php
1941
+	 * @param string $qualifiedName The tag name of the element. When also passing in namespaceURI, the element name may take a prefix to be associated with the URI.
1942
+	 * @param string|null $value [optional] The value of the element.
1943
+	 * @param string $namespace [optional] A namespace URI to create the element within a specific namespace.
1944
+	 * @throws DOMException If invalid $qualifiedName
1945
+	 */
1946
+	public function __construct(
1947
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $qualifiedName,
1948
+		#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $value = null,
1949
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $namespace = null
1950
+	) {}
1951 1951
 }
1952 1952
 
1953 1953
 /**
@@ -1957,46 +1957,46 @@  discard block
 block discarded – undo
1957 1957
  */
1958 1958
 class DOMText extends DOMCharacterData
1959 1959
 {
1960
-    /**
1961
-     * Holds all the text of logically-adjacent (not separated by Element, Comment or Processing Instruction) Text nodes.
1962
-     * @link https://php.net/manual/en/class.domtext.php#domtext.props.wholeText
1963
-     */
1964
-    #[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
1965
-    public $wholeText;
1966
-
1967
-    /**
1968
-     * Breaks this node into two nodes at the specified offset
1969
-     * @link https://php.net/manual/en/domtext.splittext.php
1970
-     * @param int $offset <p>
1971
-     * The offset at which to split, starting from 0.
1972
-     * </p>
1973
-     * @return DOMText The new node of the same type, which contains all the content at and after the
1974
-     * offset.
1975
-     */
1976
-    public function splitText(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset) {}
1977
-
1978
-    /**
1979
-     * Indicates whether this text node contains whitespace
1980
-     * @link https://php.net/manual/en/domtext.iswhitespaceinelementcontent.php
1981
-     * @return bool true on success or false on failure.
1982
-     */
1983
-    #[TentativeType]
1984
-    public function isWhitespaceInElementContent(): bool {}
1985
-
1986
-    #[TentativeType]
1987
-    public function isElementContentWhitespace(): bool {}
1988
-
1989
-    /**
1990
-     * @param $content
1991
-     */
1992
-    public function replaceWholeText($content) {}
1993
-
1994
-    /**
1995
-     * Creates a new <classname>DOMText</classname> object
1996
-     * @link https://php.net/manual/en/domtext.construct.php
1997
-     * @param string $data [optional] The value of the text node. If not supplied an empty text node is created.
1998
-     */
1999
-    public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data) {}
1960
+	/**
1961
+	 * Holds all the text of logically-adjacent (not separated by Element, Comment or Processing Instruction) Text nodes.
1962
+	 * @link https://php.net/manual/en/class.domtext.php#domtext.props.wholeText
1963
+	 */
1964
+	#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
1965
+	public $wholeText;
1966
+
1967
+	/**
1968
+	 * Breaks this node into two nodes at the specified offset
1969
+	 * @link https://php.net/manual/en/domtext.splittext.php
1970
+	 * @param int $offset <p>
1971
+	 * The offset at which to split, starting from 0.
1972
+	 * </p>
1973
+	 * @return DOMText The new node of the same type, which contains all the content at and after the
1974
+	 * offset.
1975
+	 */
1976
+	public function splitText(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $offset) {}
1977
+
1978
+	/**
1979
+	 * Indicates whether this text node contains whitespace
1980
+	 * @link https://php.net/manual/en/domtext.iswhitespaceinelementcontent.php
1981
+	 * @return bool true on success or false on failure.
1982
+	 */
1983
+	#[TentativeType]
1984
+	public function isWhitespaceInElementContent(): bool {}
1985
+
1986
+	#[TentativeType]
1987
+	public function isElementContentWhitespace(): bool {}
1988
+
1989
+	/**
1990
+	 * @param $content
1991
+	 */
1992
+	public function replaceWholeText($content) {}
1993
+
1994
+	/**
1995
+	 * Creates a new <classname>DOMText</classname> object
1996
+	 * @link https://php.net/manual/en/domtext.construct.php
1997
+	 * @param string $data [optional] The value of the text node. If not supplied an empty text node is created.
1998
+	 */
1999
+	public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data) {}
2000 2000
 }
2001 2001
 
2002 2002
 /**
@@ -2006,12 +2006,12 @@  discard block
 block discarded – undo
2006 2006
  */
2007 2007
 class DOMComment extends DOMCharacterData
2008 2008
 {
2009
-    /**
2010
-     * Creates a new DOMComment object
2011
-     * @link https://php.net/manual/en/domcomment.construct.php
2012
-     * @param string $data [optional] The value of the comment
2013
-     */
2014
-    public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data) {}
2009
+	/**
2010
+	 * Creates a new DOMComment object
2011
+	 * @link https://php.net/manual/en/domcomment.construct.php
2012
+	 * @param string $data [optional] The value of the comment
2013
+	 */
2014
+	public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data) {}
2015 2015
 }
2016 2016
 
2017 2017
 /**
@@ -2024,7 +2024,7 @@  discard block
 block discarded – undo
2024 2024
  */
2025 2025
 class DOMUserDataHandler
2026 2026
 {
2027
-    public function handle() {}
2027
+	public function handle() {}
2028 2028
 }
2029 2029
 
2030 2030
 /**
@@ -2037,10 +2037,10 @@  discard block
 block discarded – undo
2037 2037
  */
2038 2038
 class DOMErrorHandler
2039 2039
 {
2040
-    /**
2041
-     * @param DOMDomError $error
2042
-     */
2043
-    public function handleError(DOMDomError $error) {}
2040
+	/**
2041
+	 * @param DOMDomError $error
2042
+	 */
2043
+	public function handleError(DOMDomError $error) {}
2044 2044
 }
2045 2045
 
2046 2046
 /**
@@ -2053,22 +2053,22 @@  discard block
 block discarded – undo
2053 2053
  */
2054 2054
 class DOMConfiguration
2055 2055
 {
2056
-    /**
2057
-     * @param $name
2058
-     * @param $value
2059
-     */
2060
-    public function setParameter($name, $value) {}
2061
-
2062
-    /**
2063
-     * @param $name [optional]
2064
-     */
2065
-    public function getParameter($name) {}
2066
-
2067
-    /**
2068
-     * @param $name [optional]
2069
-     * @param $value [optional]
2070
-     */
2071
-    public function canSetParameter($name, $value) {}
2056
+	/**
2057
+	 * @param $name
2058
+	 * @param $value
2059
+	 */
2060
+	public function setParameter($name, $value) {}
2061
+
2062
+	/**
2063
+	 * @param $name [optional]
2064
+	 */
2065
+	public function getParameter($name) {}
2066
+
2067
+	/**
2068
+	 * @param $name [optional]
2069
+	 * @param $value [optional]
2070
+	 */
2071
+	public function canSetParameter($name, $value) {}
2072 2072
 }
2073 2073
 
2074 2074
 /**
@@ -2077,12 +2077,12 @@  discard block
 block discarded – undo
2077 2077
  */
2078 2078
 class DOMCdataSection extends DOMText
2079 2079
 {
2080
-    /**
2081
-     * The value of the CDATA node. If not supplied, an empty CDATA node is created.
2082
-     * @param string $data The value of the CDATA node. If not supplied, an empty CDATA node is created.
2083
-     * @link https://secure.php.net/manual/en/domcdatasection.construct.php
2084
-     */
2085
-    public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data) {}
2080
+	/**
2081
+	 * The value of the CDATA node. If not supplied, an empty CDATA node is created.
2082
+	 * @param string $data The value of the CDATA node. If not supplied, an empty CDATA node is created.
2083
+	 * @link https://secure.php.net/manual/en/domcdatasection.construct.php
2084
+	 */
2085
+	public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data) {}
2086 2086
 }
2087 2087
 
2088 2088
 /**
@@ -2091,53 +2091,53 @@  discard block
 block discarded – undo
2091 2091
  */
2092 2092
 class DOMDocumentType extends DOMNode
2093 2093
 {
2094
-    /**
2095
-     * @var string
2096
-     * The public identifier of the external subset.
2097
-     * @link https://php.net/manual/en/class.domdocumenttype.php#domdocumenttype.props.publicid
2098
-     */
2099
-    #[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
2100
-    public $publicId;
2101
-
2102
-    /**
2103
-     * @var string
2104
-     * The system identifier of the external subset. This may be an absolute URI or not.
2105
-     * @link https://php.net/manual/en/class.domdocumenttype.php#domdocumenttype.props.systemid
2106
-     */
2107
-    #[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
2108
-    public $systemId;
2109
-
2110
-    /**
2111
-     * @var string
2112
-     * The name of DTD; i.e., the name immediately following the DOCTYPE keyword.
2113
-     * @link https://php.net/manual/en/class.domdocumenttype.php#domdocumenttype.props.name
2114
-     */
2115
-    #[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
2116
-    public $name;
2117
-
2118
-    /**
2119
-     * @var DOMNamedNodeMap
2120
-     * A <classname>DOMNamedNodeMap</classname> containing the general entities, both external and internal, declared in the DTD.
2121
-     * @link https://php.net/manual/en/class.domdocumenttype.php#domdocumenttype.props.entities
2122
-     */
2123
-    #[LanguageLevelTypeAware(['8.1' => 'DOMNamedNodeMap'], default: '')]
2124
-    public $entities;
2125
-
2126
-    /**
2127
-     * @var DOMNamedNodeMap
2128
-     * A <clasname>DOMNamedNodeMap</classname> containing the notations declared in the DTD.
2129
-     * @link https://php.net/manual/en/class.domdocumenttype.php#domdocumenttype.props.notations
2130
-     */
2131
-    #[LanguageLevelTypeAware(['8.1' => 'DOMNamedNodeMap'], default: '')]
2132
-    public $notations;
2133
-
2134
-    /**
2135
-     * @var string|null
2136
-     * The internal subset as a string, or null if there is none. This is does not contain the delimiting square brackets.
2137
-     * @link https://php.net/manual/en/class.domdocumenttype.php#domdocumenttype.props.internalsubset
2138
-     */
2139
-    #[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
2140
-    public $internalSubset;
2094
+	/**
2095
+	 * @var string
2096
+	 * The public identifier of the external subset.
2097
+	 * @link https://php.net/manual/en/class.domdocumenttype.php#domdocumenttype.props.publicid
2098
+	 */
2099
+	#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
2100
+	public $publicId;
2101
+
2102
+	/**
2103
+	 * @var string
2104
+	 * The system identifier of the external subset. This may be an absolute URI or not.
2105
+	 * @link https://php.net/manual/en/class.domdocumenttype.php#domdocumenttype.props.systemid
2106
+	 */
2107
+	#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
2108
+	public $systemId;
2109
+
2110
+	/**
2111
+	 * @var string
2112
+	 * The name of DTD; i.e., the name immediately following the DOCTYPE keyword.
2113
+	 * @link https://php.net/manual/en/class.domdocumenttype.php#domdocumenttype.props.name
2114
+	 */
2115
+	#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
2116
+	public $name;
2117
+
2118
+	/**
2119
+	 * @var DOMNamedNodeMap
2120
+	 * A <classname>DOMNamedNodeMap</classname> containing the general entities, both external and internal, declared in the DTD.
2121
+	 * @link https://php.net/manual/en/class.domdocumenttype.php#domdocumenttype.props.entities
2122
+	 */
2123
+	#[LanguageLevelTypeAware(['8.1' => 'DOMNamedNodeMap'], default: '')]
2124
+	public $entities;
2125
+
2126
+	/**
2127
+	 * @var DOMNamedNodeMap
2128
+	 * A <clasname>DOMNamedNodeMap</classname> containing the notations declared in the DTD.
2129
+	 * @link https://php.net/manual/en/class.domdocumenttype.php#domdocumenttype.props.notations
2130
+	 */
2131
+	#[LanguageLevelTypeAware(['8.1' => 'DOMNamedNodeMap'], default: '')]
2132
+	public $notations;
2133
+
2134
+	/**
2135
+	 * @var string|null
2136
+	 * The internal subset as a string, or null if there is none. This is does not contain the delimiting square brackets.
2137
+	 * @link https://php.net/manual/en/class.domdocumenttype.php#domdocumenttype.props.internalsubset
2138
+	 */
2139
+	#[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
2140
+	public $internalSubset;
2141 2141
 }
2142 2142
 
2143 2143
 /**
@@ -2146,21 +2146,21 @@  discard block
 block discarded – undo
2146 2146
  */
2147 2147
 class DOMNotation extends DOMNode
2148 2148
 {
2149
-    /**
2150
-     * @var string
2151
-     *
2152
-     * @link https://php.net/manual/en/class.domnotation.php#domnotation.props.publicid
2153
-     */
2154
-    #[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
2155
-    public $publicId;
2156
-
2157
-    /**
2158
-     * @var string
2159
-     *
2160
-     * @link https://php.net/manual/en/class.domnotation.php#domnotation.props.systemid
2161
-     */
2162
-    #[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
2163
-    public $systemId;
2149
+	/**
2150
+	 * @var string
2151
+	 *
2152
+	 * @link https://php.net/manual/en/class.domnotation.php#domnotation.props.publicid
2153
+	 */
2154
+	#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
2155
+	public $publicId;
2156
+
2157
+	/**
2158
+	 * @var string
2159
+	 *
2160
+	 * @link https://php.net/manual/en/class.domnotation.php#domnotation.props.systemid
2161
+	 */
2162
+	#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
2163
+	public $systemId;
2164 2164
 }
2165 2165
 
2166 2166
 /**
@@ -2169,57 +2169,57 @@  discard block
 block discarded – undo
2169 2169
  */
2170 2170
 class DOMEntity extends DOMNode
2171 2171
 {
2172
-    /**
2173
-     * @var string|null
2174
-     * The public identifier associated with the entity if specified, and NULL otherwise.
2175
-     * @link https://php.net/manual/en/class.domentity.php#domentity.props.publicid
2176
-     */
2177
-    #[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
2178
-    public $publicId;
2179
-
2180
-    /**
2181
-     * @var string|null
2182
-     * The system identifier associated with the entity if specified, and NULL otherwise. This may be an
2183
-     * absolute URI or not.
2184
-     * @link https://php.net/manual/en/class.domentity.php#domentity.props.systemid
2185
-     */
2186
-    #[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
2187
-    public $systemId;
2188
-
2189
-    /**
2190
-     * @var string|null
2191
-     * For unparsed entities, the name of the notation for the entity. For parsed entities, this is NULL.
2192
-     * @link https://php.net/manual/en/class.domentity.php#domentity.props.notationname
2193
-     */
2194
-    #[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
2195
-    public $notationName;
2196
-
2197
-    /**
2198
-     * @var string|null
2199
-     * An attribute specifying the encoding used for this entity at the time of parsing, when it is an external
2200
-     * parsed entity. This is NULL if it an entity from the internal subset or if it is not known.
2201
-     * @link https://php.net/manual/en/class.domentity.php#domentity.props.actualencoding
2202
-     */
2203
-    #[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
2204
-    public $actualEncoding;
2205
-
2206
-    /**
2207
-     * @var string|null
2208
-     * An attribute specifying, as part of the text declaration, the encoding of this entity, when it is an external
2209
-     * parsed entity. This is NULL otherwise.
2210
-     * @link https://php.net/manual/en/class.domentity.php#domentity.props.encoding
2211
-     */
2212
-    #[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
2213
-    public $encoding;
2214
-
2215
-    /**
2216
-     * @var string|null
2217
-     * An attribute specifying, as part of the text declaration, the version number of this entity, when it is an
2218
-     * external parsed entity. This is NULL otherwise.
2219
-     * @link https://php.net/manual/en/class.domentity.php#domentity.props.version
2220
-     */
2221
-    #[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
2222
-    public $version;
2172
+	/**
2173
+	 * @var string|null
2174
+	 * The public identifier associated with the entity if specified, and NULL otherwise.
2175
+	 * @link https://php.net/manual/en/class.domentity.php#domentity.props.publicid
2176
+	 */
2177
+	#[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
2178
+	public $publicId;
2179
+
2180
+	/**
2181
+	 * @var string|null
2182
+	 * The system identifier associated with the entity if specified, and NULL otherwise. This may be an
2183
+	 * absolute URI or not.
2184
+	 * @link https://php.net/manual/en/class.domentity.php#domentity.props.systemid
2185
+	 */
2186
+	#[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
2187
+	public $systemId;
2188
+
2189
+	/**
2190
+	 * @var string|null
2191
+	 * For unparsed entities, the name of the notation for the entity. For parsed entities, this is NULL.
2192
+	 * @link https://php.net/manual/en/class.domentity.php#domentity.props.notationname
2193
+	 */
2194
+	#[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
2195
+	public $notationName;
2196
+
2197
+	/**
2198
+	 * @var string|null
2199
+	 * An attribute specifying the encoding used for this entity at the time of parsing, when it is an external
2200
+	 * parsed entity. This is NULL if it an entity from the internal subset or if it is not known.
2201
+	 * @link https://php.net/manual/en/class.domentity.php#domentity.props.actualencoding
2202
+	 */
2203
+	#[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
2204
+	public $actualEncoding;
2205
+
2206
+	/**
2207
+	 * @var string|null
2208
+	 * An attribute specifying, as part of the text declaration, the encoding of this entity, when it is an external
2209
+	 * parsed entity. This is NULL otherwise.
2210
+	 * @link https://php.net/manual/en/class.domentity.php#domentity.props.encoding
2211
+	 */
2212
+	#[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
2213
+	public $encoding;
2214
+
2215
+	/**
2216
+	 * @var string|null
2217
+	 * An attribute specifying, as part of the text declaration, the version number of this entity, when it is an
2218
+	 * external parsed entity. This is NULL otherwise.
2219
+	 * @link https://php.net/manual/en/class.domentity.php#domentity.props.version
2220
+	 */
2221
+	#[LanguageLevelTypeAware(['8.1' => 'string|null'], default: '')]
2222
+	public $version;
2223 2223
 }
2224 2224
 
2225 2225
 /**
@@ -2228,12 +2228,12 @@  discard block
 block discarded – undo
2228 2228
  */
2229 2229
 class DOMEntityReference extends DOMNode
2230 2230
 {
2231
-    /**
2232
-     * Creates a new DOMEntityReference object
2233
-     * @link https://php.net/manual/en/domentityreference.construct.php
2234
-     * @param string $name The name of the entity reference.
2235
-     */
2236
-    public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name) {}
2231
+	/**
2232
+	 * Creates a new DOMEntityReference object
2233
+	 * @link https://php.net/manual/en/domentityreference.construct.php
2234
+	 * @param string $name The name of the entity reference.
2235
+	 */
2236
+	public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name) {}
2237 2237
 }
2238 2238
 
2239 2239
 /**
@@ -2242,41 +2242,41 @@  discard block
 block discarded – undo
2242 2242
  */
2243 2243
 class DOMProcessingInstruction extends DOMNode
2244 2244
 {
2245
-    /**
2246
-     * @link https://php.net/manual/en/class.domprocessinginstruction.php#domprocessinginstruction.props.target
2247
-     */
2248
-    #[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
2249
-    public $target;
2250
-
2251
-    /**
2252
-     * @link https://php.net/manual/en/class.domprocessinginstruction.php#domprocessinginstruction.props.data
2253
-     */
2254
-    #[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
2255
-    public $data;
2256
-
2257
-    /**
2258
-     * Creates a new <classname>DOMProcessingInstruction</classname> object
2259
-     * @link https://php.net/manual/en/domprocessinginstruction.construct.php
2260
-     * @param string $name The tag name of the processing instruction.
2261
-     * @param string $value [optional] The value of the processing instruction.
2262
-     */
2263
-    public function __construct(
2264
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name,
2265
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $value
2266
-    ) {}
2245
+	/**
2246
+	 * @link https://php.net/manual/en/class.domprocessinginstruction.php#domprocessinginstruction.props.target
2247
+	 */
2248
+	#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
2249
+	public $target;
2250
+
2251
+	/**
2252
+	 * @link https://php.net/manual/en/class.domprocessinginstruction.php#domprocessinginstruction.props.data
2253
+	 */
2254
+	#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
2255
+	public $data;
2256
+
2257
+	/**
2258
+	 * Creates a new <classname>DOMProcessingInstruction</classname> object
2259
+	 * @link https://php.net/manual/en/domprocessinginstruction.construct.php
2260
+	 * @param string $name The tag name of the processing instruction.
2261
+	 * @param string $value [optional] The value of the processing instruction.
2262
+	 */
2263
+	public function __construct(
2264
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name,
2265
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $value
2266
+	) {}
2267 2267
 }
2268 2268
 
2269 2269
 class DOMStringExtend
2270 2270
 {
2271
-    /**
2272
-     * @param $offset32
2273
-     */
2274
-    public function findOffset16($offset32) {}
2275
-
2276
-    /**
2277
-     * @param $offset16
2278
-     */
2279
-    public function findOffset32($offset16) {}
2271
+	/**
2272
+	 * @param $offset32
2273
+	 */
2274
+	public function findOffset16($offset32) {}
2275
+
2276
+	/**
2277
+	 * @param $offset16
2278
+	 */
2279
+	public function findOffset32($offset16) {}
2280 2280
 }
2281 2281
 
2282 2282
 /**
@@ -2285,105 +2285,105 @@  discard block
 block discarded – undo
2285 2285
  */
2286 2286
 class DOMXPath
2287 2287
 {
2288
-    /**
2289
-     * @var DOMDocument
2290
-     *
2291
-     * @link https://php.net/manual/en/class.domxpath.php#domxpath.props.document
2292
-     */
2293
-    #[LanguageLevelTypeAware(['8.1' => 'DOMDocument'], default: '')]
2294
-    public $document;
2295
-
2296
-    #[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
2297
-    public $registerNodeNamespaces;
2298
-
2299
-    /**
2300
-     * Creates a new <classname>DOMXPath</classname> object
2301
-     * @link https://php.net/manual/en/domxpath.construct.php
2302
-     * @param DOMDocument $document The <classname>DOMDocument</classname> associated with the <classname>DOMXPath</classname>.
2303
-     * @param bool $registerNodeNS [optional] allow global flag to configure query() or evaluate() calls. Since 8.0.
2304
-     */
2305
-    public function __construct(DOMDocument $document, #[PhpStormStubsElementAvailable(from: '8.0')] bool $registerNodeNS = true) {}
2306
-
2307
-    /**
2308
-     * Registers the namespace with the <classname>DOMXPath</classname> object
2309
-     * @link https://php.net/manual/en/domxpath.registernamespace.php
2310
-     * @param string $prefix <p>
2311
-     * The prefix.
2312
-     * </p>
2313
-     * @param string $namespace <p>
2314
-     * The URI of the namespace.
2315
-     * </p>
2316
-     * @return bool true on success or false on failure.
2317
-     */
2318
-    #[TentativeType]
2319
-    public function registerNamespace(
2320
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $prefix,
2321
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $namespace
2322
-    ): bool {}
2323
-
2324
-    /**
2325
-     * Evaluates the given XPath expression
2326
-     * @link https://php.net/manual/en/domxpath.query.php
2327
-     * @param string $expression <p>
2328
-     * The XPath expression to execute.
2329
-     * </p>
2330
-     * @param DOMNode $contextNode [optional] <p>
2331
-     * The optional contextnode can be specified for
2332
-     * doing relative XPath queries. By default, the queries are relative to
2333
-     * the root element.
2334
-     * </p>
2335
-     * @param bool $registerNodeNS [optional] <p>The optional registerNodeNS can be specified to
2336
-     * disable automatic registration of the context node.</p>
2337
-     * @return DOMNodeList|false a DOMNodeList containing all nodes matching
2338
-     * the given XPath expression. Any expression which does not return nodes
2339
-     * will return an empty DOMNodeList. The return is false if the expression
2340
-     * is malformed or the contextnode is invalid.
2341
-     */
2342
-    #[TentativeType]
2343
-    public function query(
2344
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $expression,
2345
-        #[LanguageLevelTypeAware(['8.0' => 'DOMNode|null'], default: '')] $contextNode = null,
2346
-        #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $registerNodeNS = true
2347
-    ): mixed {}
2348
-
2349
-    /**
2350
-     * Evaluates the given XPath expression and returns a typed result if possible.
2351
-     * @link https://php.net/manual/en/domxpath.evaluate.php
2352
-     * @param string $expression <p>
2353
-     * The XPath expression to execute.
2354
-     * </p>
2355
-     * @param DOMNode $contextNode [optional] <p>
2356
-     * The optional contextnode can be specified for
2357
-     * doing relative XPath queries. By default, the queries are relative to
2358
-     * the root element.
2359
-     * </p>
2360
-     * @param bool $registerNodeNS [optional]
2361
-     * <p>
2362
-     * The optional registerNodeNS can be specified to disable automatic registration of the context node.
2363
-     * </p>
2364
-     * @return mixed a typed result if possible or a DOMNodeList
2365
-     * containing all nodes matching the given XPath expression.
2366
-     */
2367
-    #[TentativeType]
2368
-    public function evaluate(
2369
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $expression,
2370
-        #[LanguageLevelTypeAware(['8.0' => 'DOMNode|null'], default: '')] $contextNode = null,
2371
-        #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $registerNodeNS = true
2372
-    ): mixed {}
2373
-
2374
-    /**
2375
-     * Register PHP functions as XPath functions
2376
-     * @link https://php.net/manual/en/domxpath.registerphpfunctions.php
2377
-     * @param string|string[] $restrict [optional] <p>
2378
-     * Use this parameter to only allow certain functions to be called from XPath.
2379
-     * </p>
2380
-     * <p>
2381
-     * This parameter can be either a string (a function name) or
2382
-     * an array of function names.
2383
-     * </p>
2384
-     * @return void
2385
-     */
2386
-    public function registerPhpFunctions($restrict = null) {}
2288
+	/**
2289
+	 * @var DOMDocument
2290
+	 *
2291
+	 * @link https://php.net/manual/en/class.domxpath.php#domxpath.props.document
2292
+	 */
2293
+	#[LanguageLevelTypeAware(['8.1' => 'DOMDocument'], default: '')]
2294
+	public $document;
2295
+
2296
+	#[LanguageLevelTypeAware(['8.1' => 'bool'], default: '')]
2297
+	public $registerNodeNamespaces;
2298
+
2299
+	/**
2300
+	 * Creates a new <classname>DOMXPath</classname> object
2301
+	 * @link https://php.net/manual/en/domxpath.construct.php
2302
+	 * @param DOMDocument $document The <classname>DOMDocument</classname> associated with the <classname>DOMXPath</classname>.
2303
+	 * @param bool $registerNodeNS [optional] allow global flag to configure query() or evaluate() calls. Since 8.0.
2304
+	 */
2305
+	public function __construct(DOMDocument $document, #[PhpStormStubsElementAvailable(from: '8.0')] bool $registerNodeNS = true) {}
2306
+
2307
+	/**
2308
+	 * Registers the namespace with the <classname>DOMXPath</classname> object
2309
+	 * @link https://php.net/manual/en/domxpath.registernamespace.php
2310
+	 * @param string $prefix <p>
2311
+	 * The prefix.
2312
+	 * </p>
2313
+	 * @param string $namespace <p>
2314
+	 * The URI of the namespace.
2315
+	 * </p>
2316
+	 * @return bool true on success or false on failure.
2317
+	 */
2318
+	#[TentativeType]
2319
+	public function registerNamespace(
2320
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $prefix,
2321
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $namespace
2322
+	): bool {}
2323
+
2324
+	/**
2325
+	 * Evaluates the given XPath expression
2326
+	 * @link https://php.net/manual/en/domxpath.query.php
2327
+	 * @param string $expression <p>
2328
+	 * The XPath expression to execute.
2329
+	 * </p>
2330
+	 * @param DOMNode $contextNode [optional] <p>
2331
+	 * The optional contextnode can be specified for
2332
+	 * doing relative XPath queries. By default, the queries are relative to
2333
+	 * the root element.
2334
+	 * </p>
2335
+	 * @param bool $registerNodeNS [optional] <p>The optional registerNodeNS can be specified to
2336
+	 * disable automatic registration of the context node.</p>
2337
+	 * @return DOMNodeList|false a DOMNodeList containing all nodes matching
2338
+	 * the given XPath expression. Any expression which does not return nodes
2339
+	 * will return an empty DOMNodeList. The return is false if the expression
2340
+	 * is malformed or the contextnode is invalid.
2341
+	 */
2342
+	#[TentativeType]
2343
+	public function query(
2344
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $expression,
2345
+		#[LanguageLevelTypeAware(['8.0' => 'DOMNode|null'], default: '')] $contextNode = null,
2346
+		#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $registerNodeNS = true
2347
+	): mixed {}
2348
+
2349
+	/**
2350
+	 * Evaluates the given XPath expression and returns a typed result if possible.
2351
+	 * @link https://php.net/manual/en/domxpath.evaluate.php
2352
+	 * @param string $expression <p>
2353
+	 * The XPath expression to execute.
2354
+	 * </p>
2355
+	 * @param DOMNode $contextNode [optional] <p>
2356
+	 * The optional contextnode can be specified for
2357
+	 * doing relative XPath queries. By default, the queries are relative to
2358
+	 * the root element.
2359
+	 * </p>
2360
+	 * @param bool $registerNodeNS [optional]
2361
+	 * <p>
2362
+	 * The optional registerNodeNS can be specified to disable automatic registration of the context node.
2363
+	 * </p>
2364
+	 * @return mixed a typed result if possible or a DOMNodeList
2365
+	 * containing all nodes matching the given XPath expression.
2366
+	 */
2367
+	#[TentativeType]
2368
+	public function evaluate(
2369
+		#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $expression,
2370
+		#[LanguageLevelTypeAware(['8.0' => 'DOMNode|null'], default: '')] $contextNode = null,
2371
+		#[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $registerNodeNS = true
2372
+	): mixed {}
2373
+
2374
+	/**
2375
+	 * Register PHP functions as XPath functions
2376
+	 * @link https://php.net/manual/en/domxpath.registerphpfunctions.php
2377
+	 * @param string|string[] $restrict [optional] <p>
2378
+	 * Use this parameter to only allow certain functions to be called from XPath.
2379
+	 * </p>
2380
+	 * <p>
2381
+	 * This parameter can be either a string (a function name) or
2382
+	 * an array of function names.
2383
+	 * </p>
2384
+	 * @return void
2385
+	 */
2386
+	public function registerPhpFunctions($restrict = null) {}
2387 2387
 }
2388 2388
 
2389 2389
 /**
@@ -2395,25 +2395,25 @@  discard block
 block discarded – undo
2395 2395
  */
2396 2396
 interface DOMParentNode
2397 2397
 {
2398
-    /**
2399
-     * Appends one or many nodes to the list of children behind the last
2400
-     * child node.
2401
-     *
2402
-     * @param DOMNode|string|null ...$nodes
2403
-     * @return void
2404
-     * @since 8.0
2405
-     */
2406
-    public function append(...$nodes): void;
2407
-
2408
-    /**
2409
-     * Prepends one or many nodes to the list of children before the first
2410
-     * child node.
2411
-     *
2412
-     * @param DOMNode|string|null ...$nodes
2413
-     * @return void
2414
-     * @since 8.0
2415
-     */
2416
-    public function prepend(...$nodes): void;
2398
+	/**
2399
+	 * Appends one or many nodes to the list of children behind the last
2400
+	 * child node.
2401
+	 *
2402
+	 * @param DOMNode|string|null ...$nodes
2403
+	 * @return void
2404
+	 * @since 8.0
2405
+	 */
2406
+	public function append(...$nodes): void;
2407
+
2408
+	/**
2409
+	 * Prepends one or many nodes to the list of children before the first
2410
+	 * child node.
2411
+	 *
2412
+	 * @param DOMNode|string|null ...$nodes
2413
+	 * @return void
2414
+	 * @since 8.0
2415
+	 */
2416
+	public function prepend(...$nodes): void;
2417 2417
 }
2418 2418
 
2419 2419
 /**
@@ -2424,39 +2424,39 @@  discard block
 block discarded – undo
2424 2424
  */
2425 2425
 interface DOMChildNode
2426 2426
 {
2427
-    /**
2428
-     * Acts as a simpler version of {@see DOMNode::removeChild()}.
2429
-     *
2430
-     * @return void
2431
-     * @since 8.0
2432
-     */
2433
-    public function remove(): void;
2434
-
2435
-    /**
2436
-     * Add passed node(s) before the current node
2437
-     *
2438
-     * @param DOMNode|string|null ...$nodes
2439
-     * @return void
2440
-     * @since 8.0
2441
-     */
2442
-    public function before(...$nodes): void;
2443
-
2444
-    /**
2445
-     * Add passed node(s) after  the current node
2446
-     *
2447
-     * @param DOMNode|string|null ...$nodes
2448
-     * @return void
2449
-     * @since 8.0
2450
-     */
2451
-    public function after(...$nodes): void;
2452
-
2453
-    /**
2454
-     * Replace current node with new node(s), a combination
2455
-     * of {@see DOMChildNode::remove()} + {@see DOMChildNode::append()}.
2456
-     *
2457
-     * @param DOMNode|string|null ...$nodes
2458
-     * @return void
2459
-     * @since 8.0
2460
-     */
2461
-    public function replaceWith(...$nodes): void;
2427
+	/**
2428
+	 * Acts as a simpler version of {@see DOMNode::removeChild()}.
2429
+	 *
2430
+	 * @return void
2431
+	 * @since 8.0
2432
+	 */
2433
+	public function remove(): void;
2434
+
2435
+	/**
2436
+	 * Add passed node(s) before the current node
2437
+	 *
2438
+	 * @param DOMNode|string|null ...$nodes
2439
+	 * @return void
2440
+	 * @since 8.0
2441
+	 */
2442
+	public function before(...$nodes): void;
2443
+
2444
+	/**
2445
+	 * Add passed node(s) after  the current node
2446
+	 *
2447
+	 * @param DOMNode|string|null ...$nodes
2448
+	 * @return void
2449
+	 * @since 8.0
2450
+	 */
2451
+	public function after(...$nodes): void;
2452
+
2453
+	/**
2454
+	 * Replace current node with new node(s), a combination
2455
+	 * of {@see DOMChildNode::remove()} + {@see DOMChildNode::append()}.
2456
+	 *
2457
+	 * @param DOMNode|string|null ...$nodes
2458
+	 * @return void
2459
+	 * @since 8.0
2460
+	 */
2461
+	public function replaceWith(...$nodes): void;
2462 2462
 }
Please login to merge, or discard this patch.
Spacing   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
      * namespace, false otherwise.
285 285
      */
286 286
     #[TentativeType]
287
-    public function isDefaultNamespace(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $namespace): bool {}
287
+    public function isDefaultNamespace(#[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $namespace): bool {}
288 288
 
289 289
     /**
290 290
      * Gets the namespace URI of the node based on the prefix
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
      * </p>
295 295
      * @return string The namespace URI of the node.
296 296
      */
297
-    #[PhpStormStubsElementAvailable(from: '8.0')]
297
+    #[PhpStormStubsElementAvailable(from : '8.0')]
298 298
     #[TentativeType]
299 299
     public function lookupNamespaceURI(?string $prefix): ?string {}
300 300
 
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
      * </p>
307 307
      * @return string The namespace URI of the node.
308 308
      */
309
-    #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')]
309
+    #[PhpStormStubsElementAvailable(from : '5.3', to : '7.4')]
310 310
     public function lookupNamespaceUri($prefix) {}
311 311
 
312 312
     /**
@@ -361,11 +361,11 @@  discard block
 block discarded – undo
361 361
      */
362 362
     #[TentativeType]
363 363
     public function C14N(
364
-        #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $exclusive = false,
365
-        #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $withComments = false,
366
-        #[LanguageLevelTypeAware(['8.0' => 'array|null'], default: 'array')] $xpath = null,
367
-        #[LanguageLevelTypeAware(['8.0' => 'array|null'], default: 'array')] $nsPrefixes = null
368
-    ): string|false {}
364
+        #[LanguageLevelTypeAware(['8.0' => 'bool'], default : '')] $exclusive = false,
365
+        #[LanguageLevelTypeAware(['8.0' => 'bool'], default : '')] $withComments = false,
366
+        #[LanguageLevelTypeAware(['8.0' => 'array|null'], default : 'array')] $xpath = null,
367
+        #[LanguageLevelTypeAware(['8.0' => 'array|null'], default : 'array')] $nsPrefixes = null
368
+    ): string | false {}
369 369
 
370 370
     /**
371 371
      * Canonicalize nodes to a file.
@@ -379,12 +379,12 @@  discard block
 block discarded – undo
379 379
      */
380 380
     #[TentativeType]
381 381
     public function C14NFile(
382
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $uri,
383
-        #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $exclusive = false,
384
-        #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $withComments = false,
385
-        #[LanguageLevelTypeAware(['8.0' => 'array|null'], default: 'array')] $xpath = null,
386
-        #[LanguageLevelTypeAware(['8.0' => 'array|null'], default: 'array')] $nsPrefixes = null
387
-    ): int|false {}
382
+        #[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $uri,
383
+        #[LanguageLevelTypeAware(['8.0' => 'bool'], default : '')] $exclusive = false,
384
+        #[LanguageLevelTypeAware(['8.0' => 'bool'], default : '')] $withComments = false,
385
+        #[LanguageLevelTypeAware(['8.0' => 'array|null'], default : 'array')] $xpath = null,
386
+        #[LanguageLevelTypeAware(['8.0' => 'array|null'], default : 'array')] $nsPrefixes = null
387
+    ): int | false {}
388 388
 }
389 389
 
390 390
 /**
@@ -1023,8 +1023,8 @@  discard block
 block discarded – undo
1023 1023
      * warning.
1024 1024
      */
1025 1025
     public function load(
1026
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
1027
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $options = null
1026
+        #[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $filename,
1027
+        #[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $options = null
1028 1028
     ) {}
1029 1029
 
1030 1030
     /**
@@ -1055,8 +1055,8 @@  discard block
 block discarded – undo
1055 1055
      * warning.
1056 1056
      */
1057 1057
     public function loadXML(
1058
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $source,
1059
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $options = null
1058
+        #[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $source,
1059
+        #[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $options = null
1060 1060
     ) {}
1061 1061
 
1062 1062
     /**
@@ -1072,7 +1072,7 @@  discard block
 block discarded – undo
1072 1072
      * @return string|false the XML, or false if an error occurred.
1073 1073
      */
1074 1074
     #[TentativeType]
1075
-    public function saveXML(?DOMNode $node = null, #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $options = null): string|false {}
1075
+    public function saveXML(?DOMNode $node = null, #[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $options = null): string | false {}
1076 1076
 
1077 1077
     /**
1078 1078
      * Creates a new DOMDocument object
@@ -1081,8 +1081,8 @@  discard block
 block discarded – undo
1081 1081
      * @param string $encoding [optional] The encoding of the document as part of the XML declaration.
1082 1082
      */
1083 1083
     public function __construct(
1084
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $version = '1.0',
1085
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $encoding = ''
1084
+        #[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $version = '1.0',
1085
+        #[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $encoding = ''
1086 1086
     ) {}
1087 1087
 
1088 1088
     /**
@@ -1104,7 +1104,7 @@  discard block
 block discarded – undo
1104 1104
      * @return int|false the number of XIncludes in the document.
1105 1105
      */
1106 1106
     #[TentativeType]
1107
-    public function xinclude(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $options = null): int|false {}
1107
+    public function xinclude(#[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $options = null): int | false {}
1108 1108
 
1109 1109
     /**
1110 1110
      * Load HTML from a string
@@ -1121,8 +1121,8 @@  discard block
 block discarded – undo
1121 1121
      * warning.
1122 1122
      */
1123 1123
     public function loadHTML(
1124
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $source,
1125
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $options = 0
1124
+        #[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $source,
1125
+        #[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $options = 0
1126 1126
     ) {}
1127 1127
 
1128 1128
     /**
@@ -1140,8 +1140,8 @@  discard block
 block discarded – undo
1140 1140
      * warning.
1141 1141
      */
1142 1142
     public function loadHTMLFile(
1143
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename,
1144
-        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $options = 0
1143
+        #[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $filename,
1144
+        #[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $options = 0
1145 1145
     ) {}
1146 1146
 
1147 1147
     /**
@@ -1161,7 +1161,7 @@  discard block
 block discarded – undo
1161 1161
      * @return int|false the number of bytes written or false if an error occurred.
1162 1162
      */
1163 1163
     #[TentativeType]
1164
-    public function saveHTMLFile(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename): int|false {}
1164
+    public function saveHTMLFile(#[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $filename): int | false {}
1165 1165
 
1166 1166
     /**
1167 1167
      * Validates a document based on a schema
@@ -1198,7 +1198,7 @@  discard block
 block discarded – undo
1198 1198
      * @return bool true on success or false on failure.
1199 1199
      */
1200 1200
     #[TentativeType]
1201
-    public function relaxNGValidate(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename): bool {}
1201
+    public function relaxNGValidate(#[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $filename): bool {}
1202 1202
 
1203 1203
     /**
1204 1204
      * Performs relaxNG validation on the document
@@ -1209,7 +1209,7 @@  discard block
 block discarded – undo
1209 1209
      * @return bool true on success or false on failure.
1210 1210
      */
1211 1211
     #[TentativeType]
1212
-    public function relaxNGValidateSource(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $source): bool {}
1212
+    public function relaxNGValidateSource(#[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $source): bool {}
1213 1213
 
1214 1214
     /**
1215 1215
      * Register extended class used to create base node type
@@ -1227,8 +1227,8 @@  discard block
 block discarded – undo
1227 1227
      */
1228 1228
     #[TentativeType]
1229 1229
     public function registerNodeClass(
1230
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $baseClass,
1231
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $extendedClass
1230
+        #[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $baseClass,
1231
+        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default : '')] $extendedClass
1232 1232
     ): bool {}
1233 1233
 }
1234 1234
 
@@ -1243,7 +1243,7 @@  discard block
 block discarded – undo
1243 1243
      * The number of nodes in the list. The range of valid child node indices is 0 to length - 1 inclusive.
1244 1244
      * @link https://php.net/manual/en/class.domnodelist.php#domnodelist.props.length
1245 1245
      */
1246
-    #[LanguageLevelTypeAware(['8.1' => 'int'], default: '')]
1246
+    #[LanguageLevelTypeAware(['8.1' => 'int'], default : '')]
1247 1247
     public $length;
1248 1248
 
1249 1249
     /**
@@ -1312,7 +1312,7 @@  discard block
 block discarded – undo
1312 1312
      * in this map).
1313 1313
      */
1314 1314
     #[TentativeType]
1315
-    public function item(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $index): ?DOMNode {}
1315
+    public function item(#[LanguageLevelTypeAware(['8.0' => 'int'], default : '')] $index): ?DOMNode {}
1316 1316
 
1317 1317
     /**
1318 1318
      * Retrieves a node specified by local name and namespace URI
@@ -1328,8 +1328,8 @@  discard block
 block discarded – undo
1328 1328
      */
1329 1329
     #[TentativeType]
1330 1330
     public function getNamedItemNS(
1331
-        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $namespace,
1332
-        #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName
1331
+        #[LanguageLevelTypeAware(['8.0' => 'string|null'], default : '')] $namespace,
1332
+        #[LanguageLevelTypeAware(['8.0' => 'string'], default : '')] $localName
1333 1333
     ): ?DOMNode {}
1334 1334
 
1335 1335
     /**
@@ -1369,7 +1369,7 @@  discard block
 block discarded – undo
1369 1369
      * The contents of the node.
1370 1370
      * @link https://php.net/manual/en/class.domcharacterdata.php#domcharacterdata.props.data
1371 1371
      */
1372
-    #[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
1372
+    #[LanguageLevelTypeAware(['8.1' => 'string'], default : '')]
1373 1373
     public $data;
1374 1374
 
1375 1375
     /**
Please login to merge, or discard this patch.
Braces   +27 added lines, -54 removed lines patch added patch discarded remove patch
@@ -10,8 +10,7 @@  discard block
 block discarded – undo
10 10
  * The DOMNode class
11 11
  * @link https://php.net/manual/en/class.domnode.php
12 12
  */
13
-class DOMNode
14
-{
13
+class DOMNode {
15 14
     /**
16 15
      * @var string
17 16
      * Returns the most accurate name for the current node type
@@ -392,8 +391,7 @@  discard block
 block discarded – undo
392 391
  * when an operation is impossible to perform for logical reasons.
393 392
  * @link https://php.net/manual/en/class.domexception.php
394 393
  */
395
-final class DOMException extends Exception
396
-{
394
+final class DOMException extends Exception {
397 395
     /**
398 396
      * @link https://php.net/manual/en/class.domexception.php#domexception.props.code
399 397
      * @var int An integer indicating the type of error generated
@@ -401,8 +399,7 @@  discard block
 block discarded – undo
401 399
     public $code;
402 400
 }
403 401
 
404
-class DOMStringList
405
-{
402
+class DOMStringList {
406 403
     /**
407 404
      * @param $index
408 405
      * @return mixed
@@ -414,8 +411,7 @@  discard block
 block discarded – undo
414 411
  * @link https://php.net/manual/en/ref.dom.php
415 412
  * @removed 8.0
416 413
  */
417
-class DOMNameList
418
-{
414
+class DOMNameList {
419 415
     /**
420 416
      * @param $index
421 417
      * @return mixed
@@ -432,8 +428,7 @@  discard block
 block discarded – undo
432 428
 /**
433 429
  * @removed 8.0
434 430
  */
435
-class DOMImplementationList
436
-{
431
+class DOMImplementationList {
437 432
     /**
438 433
      * @param $index
439 434
      * @return mixed
@@ -444,8 +439,7 @@  discard block
 block discarded – undo
444 439
 /**
445 440
  * @removed 8.0
446 441
  */
447
-class DOMImplementationSource
448
-{
442
+class DOMImplementationSource {
449 443
     /**
450 444
      * @param $features
451 445
      * @return mixed
@@ -465,8 +459,7 @@  discard block
 block discarded – undo
465 459
  * particular instance of the document object model.
466 460
  * @link https://php.net/manual/en/class.domimplementation.php
467 461
  */
468
-class DOMImplementation
469
-{
462
+class DOMImplementation {
470 463
     /**
471 464
      * @param string $feature
472 465
      * @param string $version
@@ -541,8 +534,7 @@  discard block
 block discarded – undo
541 534
     ) {}
542 535
 }
543 536
 
544
-class DOMNameSpaceNode
545
-{
537
+class DOMNameSpaceNode {
546 538
     #[LanguageLevelTypeAware(['8.1' => 'DOMNode|null'], default: '')]
547 539
     public $parentNode;
548 540
     #[LanguageLevelTypeAware(['8.1' => 'DOMDocument|null'], default: '')]
@@ -565,8 +557,7 @@  discard block
 block discarded – undo
565 557
  * The DOMDocumentFragment class
566 558
  * @link https://php.net/manual/en/class.domdocumentfragment.php
567 559
  */
568
-class DOMDocumentFragment extends DOMNode implements DOMParentNode
569
-{
560
+class DOMDocumentFragment extends DOMNode implements DOMParentNode {
570 561
     #[LanguageLevelTypeAware(['8.1' => 'int'], default: '')]
571 562
     public $childElementCount;
572 563
 
@@ -605,8 +596,7 @@  discard block
 block discarded – undo
605 596
  * document; serves as the root of the document tree.
606 597
  * @link https://php.net/manual/en/class.domdocument.php
607 598
  */
608
-class DOMDocument extends DOMNode implements DOMParentNode
609
-{
599
+class DOMDocument extends DOMNode implements DOMParentNode {
610 600
     /**
611 601
      * @var string|null
612 602
      * @link https://php.net/manual/en/class.domdocument.php#domdocument.props.actualencoding
@@ -1362,8 +1352,7 @@  discard block
 block discarded – undo
1362 1352
  * No nodes directly correspond to this class, but other nodes do inherit from it.
1363 1353
  * @link https://php.net/manual/en/class.domcharacterdata.php
1364 1354
  */
1365
-class DOMCharacterData extends DOMNode implements DOMChildNode
1366
-{
1355
+class DOMCharacterData extends DOMNode implements DOMChildNode {
1367 1356
     /**
1368 1357
      * @var string
1369 1358
      * The contents of the node.
@@ -1499,8 +1488,7 @@  discard block
 block discarded – undo
1499 1488
  * The DOMAttr interface represents an attribute in an DOMElement object.
1500 1489
  * @link https://php.net/manual/en/class.domattr.php
1501 1490
  */
1502
-class DOMAttr extends DOMNode
1503
-{
1491
+class DOMAttr extends DOMNode {
1504 1492
     /**
1505 1493
      * @var string
1506 1494
      * (PHP5)<br/>
@@ -1955,8 +1943,7 @@  discard block
 block discarded – undo
1955 1943
  * a <classname>DOMElement</classname> or <classname>DOMAttr</classname>.
1956 1944
  * @link https://php.net/manual/en/class.domtext.php
1957 1945
  */
1958
-class DOMText extends DOMCharacterData
1959
-{
1946
+class DOMText extends DOMCharacterData {
1960 1947
     /**
1961 1948
      * Holds all the text of logically-adjacent (not separated by Element, Comment or Processing Instruction) Text nodes.
1962 1949
      * @link https://php.net/manual/en/class.domtext.php#domtext.props.wholeText
@@ -2004,8 +1991,7 @@  discard block
 block discarded – undo
2004 1991
  * characters delimited by lt;!-- and --&gt;.
2005 1992
  * @link https://php.net/manual/en/class.domcomment.php
2006 1993
  */
2007
-class DOMComment extends DOMCharacterData
2008
-{
1994
+class DOMComment extends DOMCharacterData {
2009 1995
     /**
2010 1996
      * Creates a new DOMComment object
2011 1997
      * @link https://php.net/manual/en/domcomment.construct.php
@@ -2022,8 +2008,7 @@  discard block
 block discarded – undo
2022 2008
 /**
2023 2009
  * @removed 8.0
2024 2010
  */
2025
-class DOMUserDataHandler
2026
-{
2011
+class DOMUserDataHandler {
2027 2012
     public function handle() {}
2028 2013
 }
2029 2014
 
@@ -2035,8 +2020,7 @@  discard block
 block discarded – undo
2035 2020
 /**
2036 2021
  * @removed 8.0
2037 2022
  */
2038
-class DOMErrorHandler
2039
-{
2023
+class DOMErrorHandler {
2040 2024
     /**
2041 2025
      * @param DOMDomError $error
2042 2026
      */
@@ -2051,8 +2035,7 @@  discard block
 block discarded – undo
2051 2035
 /**
2052 2036
  * @removed 8.0
2053 2037
  */
2054
-class DOMConfiguration
2055
-{
2038
+class DOMConfiguration {
2056 2039
     /**
2057 2040
      * @param $name
2058 2041
      * @param $value
@@ -2075,8 +2058,7 @@  discard block
 block discarded – undo
2075 2058
  * The DOMCdataSection inherits from DOMText for textural representation of CData constructs.
2076 2059
  * @link https://secure.php.net/manual/en/class.domcdatasection.php
2077 2060
  */
2078
-class DOMCdataSection extends DOMText
2079
-{
2061
+class DOMCdataSection extends DOMText {
2080 2062
     /**
2081 2063
      * The value of the CDATA node. If not supplied, an empty CDATA node is created.
2082 2064
      * @param string $data The value of the CDATA node. If not supplied, an empty CDATA node is created.
@@ -2089,8 +2071,7 @@  discard block
 block discarded – undo
2089 2071
  * The DOMDocumentType class
2090 2072
  * @link https://php.net/manual/en/class.domdocumenttype.php
2091 2073
  */
2092
-class DOMDocumentType extends DOMNode
2093
-{
2074
+class DOMDocumentType extends DOMNode {
2094 2075
     /**
2095 2076
      * @var string
2096 2077
      * The public identifier of the external subset.
@@ -2144,8 +2125,7 @@  discard block
 block discarded – undo
2144 2125
  * The DOMNotation class
2145 2126
  * @link https://php.net/manual/en/class.domnotation.php
2146 2127
  */
2147
-class DOMNotation extends DOMNode
2148
-{
2128
+class DOMNotation extends DOMNode {
2149 2129
     /**
2150 2130
      * @var string
2151 2131
      *
@@ -2167,8 +2147,7 @@  discard block
 block discarded – undo
2167 2147
  * The DOMEntity class represents a known entity, either parsed or unparsed, in an XML document.
2168 2148
  * @link https://php.net/manual/en/class.domentity.php
2169 2149
  */
2170
-class DOMEntity extends DOMNode
2171
-{
2150
+class DOMEntity extends DOMNode {
2172 2151
     /**
2173 2152
      * @var string|null
2174 2153
      * The public identifier associated with the entity if specified, and NULL otherwise.
@@ -2226,8 +2205,7 @@  discard block
 block discarded – undo
2226 2205
  * Extends DOMNode.
2227 2206
  * @link https://php.net/manual/en/class.domentityreference.php
2228 2207
  */
2229
-class DOMEntityReference extends DOMNode
2230
-{
2208
+class DOMEntityReference extends DOMNode {
2231 2209
     /**
2232 2210
      * Creates a new DOMEntityReference object
2233 2211
      * @link https://php.net/manual/en/domentityreference.construct.php
@@ -2240,8 +2218,7 @@  discard block
 block discarded – undo
2240 2218
  * The DOMProcessingInstruction class
2241 2219
  * @link https://php.net/manual/en/class.domprocessinginstruction.php
2242 2220
  */
2243
-class DOMProcessingInstruction extends DOMNode
2244
-{
2221
+class DOMProcessingInstruction extends DOMNode {
2245 2222
     /**
2246 2223
      * @link https://php.net/manual/en/class.domprocessinginstruction.php#domprocessinginstruction.props.target
2247 2224
      */
@@ -2266,8 +2243,7 @@  discard block
 block discarded – undo
2266 2243
     ) {}
2267 2244
 }
2268 2245
 
2269
-class DOMStringExtend
2270
-{
2246
+class DOMStringExtend {
2271 2247
     /**
2272 2248
      * @param $offset32
2273 2249
      */
@@ -2283,8 +2259,7 @@  discard block
 block discarded – undo
2283 2259
  * The DOMXPath class (supports XPath 1.0)
2284 2260
  * @link https://php.net/manual/en/class.domxpath.php
2285 2261
  */
2286
-class DOMXPath
2287
-{
2262
+class DOMXPath {
2288 2263
     /**
2289 2264
      * @var DOMDocument
2290 2265
      *
@@ -2393,8 +2368,7 @@  discard block
 block discarded – undo
2393 2368
  *
2394 2369
  * @since 8.0
2395 2370
  */
2396
-interface DOMParentNode
2397
-{
2371
+interface DOMParentNode {
2398 2372
     /**
2399 2373
      * Appends one or many nodes to the list of children behind the last
2400 2374
      * child node.
@@ -2422,8 +2396,7 @@  discard block
 block discarded – undo
2422 2396
  *
2423 2397
  * @since 8.0
2424 2398
  */
2425
-interface DOMChildNode
2426
-{
2399
+interface DOMChildNode {
2427 2400
     /**
2428 2401
      * Acts as a simpler version of {@see DOMNode::removeChild()}.
2429 2402
      *
Please login to merge, or discard this patch.