Completed
Push — master ( 8e973a...811a95 )
by
unknown
03:40 queued 01:04
created
vendor/nikic/php-parser/lib/PhpParser/NodeVisitor/FirstFindingVisitor.php 2 patches
Indentation   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -12,39 +12,39 @@
 block discarded – undo
12 12
  */
13 13
 class FirstFindingVisitor extends NodeVisitorAbstract
14 14
 {
15
-    /** @var callable Filter callback */
16
-    protected $filterCallback;
17
-    /** @var null|Node Found node */
18
-    protected $foundNode;
19
-
20
-    public function __construct(callable $filterCallback) {
21
-        $this->filterCallback = $filterCallback;
22
-    }
23
-
24
-    /**
25
-     * Get found node satisfying the filter callback.
26
-     *
27
-     * Returns null if no node satisfies the filter callback.
28
-     *
29
-     * @return null|Node Found node (or null if not found)
30
-     */
31
-    public function getFoundNode() {
32
-        return $this->foundNode;
33
-    }
34
-
35
-    public function beforeTraverse(array $nodes) {
36
-        $this->foundNode = null;
37
-
38
-        return null;
39
-    }
40
-
41
-    public function enterNode(Node $node) {
42
-        $filterCallback = $this->filterCallback;
43
-        if ($filterCallback($node)) {
44
-            $this->foundNode = $node;
45
-            return NodeTraverser::STOP_TRAVERSAL;
46
-        }
47
-
48
-        return null;
49
-    }
15
+	/** @var callable Filter callback */
16
+	protected $filterCallback;
17
+	/** @var null|Node Found node */
18
+	protected $foundNode;
19
+
20
+	public function __construct(callable $filterCallback) {
21
+		$this->filterCallback = $filterCallback;
22
+	}
23
+
24
+	/**
25
+	 * Get found node satisfying the filter callback.
26
+	 *
27
+	 * Returns null if no node satisfies the filter callback.
28
+	 *
29
+	 * @return null|Node Found node (or null if not found)
30
+	 */
31
+	public function getFoundNode() {
32
+		return $this->foundNode;
33
+	}
34
+
35
+	public function beforeTraverse(array $nodes) {
36
+		$this->foundNode = null;
37
+
38
+		return null;
39
+	}
40
+
41
+	public function enterNode(Node $node) {
42
+		$filterCallback = $this->filterCallback;
43
+		if ($filterCallback($node)) {
44
+			$this->foundNode = $node;
45
+			return NodeTraverser::STOP_TRAVERSAL;
46
+		}
47
+
48
+		return null;
49
+	}
50 50
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,7 @@
 block discarded – undo
10 10
  * This visitor can be used to find the first node satisfying some criterion determined by
11 11
  * a filter callback.
12 12
  */
13
-class FirstFindingVisitor extends NodeVisitorAbstract
14
-{
13
+class FirstFindingVisitor extends NodeVisitorAbstract {
15 14
     /** @var callable Filter callback */
16 15
     protected $filterCallback;
17 16
     /** @var null|Node Found node */
Please login to merge, or discard this patch.
php-scoper/vendor/jetbrains/phpstorm-stubs/Reflection/ReflectionFiber.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -5,15 +5,15 @@
 block discarded – undo
5 5
  */
6 6
 final class ReflectionFiber
7 7
 {
8
-    public function __construct(Fiber $fiber) {}
8
+	public function __construct(Fiber $fiber) {}
9 9
 
10
-    public function getFiber(): Fiber {}
10
+	public function getFiber(): Fiber {}
11 11
 
12
-    public function getExecutingFile(): string {}
12
+	public function getExecutingFile(): string {}
13 13
 
14
-    public function getExecutingLine(): int {}
14
+	public function getExecutingLine(): int {}
15 15
 
16
-    public function getCallable(): callable {}
16
+	public function getCallable(): callable {}
17 17
 
18
-    public function getTrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT): array {}
18
+	public function getTrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT): array {}
19 19
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * @since 8.1
5 5
  */
6
-final class ReflectionFiber
7
-{
6
+final class ReflectionFiber {
8 7
     public function __construct(Fiber $fiber) {}
9 8
 
10 9
     public function getFiber(): Fiber {}
Please login to merge, or discard this patch.
php-scoper/vendor/jetbrains/phpstorm-stubs/Reflection/ReflectionType.php 2 patches
Indentation   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -12,43 +12,43 @@
 block discarded – undo
12 12
  */
13 13
 abstract class ReflectionType implements Stringable
14 14
 {
15
-    /**
16
-     * Checks if null is allowed
17
-     *
18
-     * @link https://php.net/manual/en/reflectiontype.allowsnull.php
19
-     * @return bool Returns {@see true} if {@see null} is allowed, otherwise {@see false}
20
-     * @since 7.0
21
-     */
22
-    #[TentativeType]
23
-    public function allowsNull(): bool {}
15
+	/**
16
+	 * Checks if null is allowed
17
+	 *
18
+	 * @link https://php.net/manual/en/reflectiontype.allowsnull.php
19
+	 * @return bool Returns {@see true} if {@see null} is allowed, otherwise {@see false}
20
+	 * @since 7.0
21
+	 */
22
+	#[TentativeType]
23
+	public function allowsNull(): bool {}
24 24
 
25
-    /**
26
-     * Checks if it is a built-in type
27
-     *
28
-     * @link https://php.net/manual/en/reflectiontype.isbuiltin.php
29
-     * @return bool Returns {@see true} if it's a built-in type, otherwise {@see false}
30
-     * @since 7.0
31
-     * @removed 8.0 this method has been removed from the {@see ReflectionType}
32
-     * class and moved to the {@see ReflectionNamedType} child.
33
-     */
34
-    #[Pure]
35
-    public function isBuiltin() {}
25
+	/**
26
+	 * Checks if it is a built-in type
27
+	 *
28
+	 * @link https://php.net/manual/en/reflectiontype.isbuiltin.php
29
+	 * @return bool Returns {@see true} if it's a built-in type, otherwise {@see false}
30
+	 * @since 7.0
31
+	 * @removed 8.0 this method has been removed from the {@see ReflectionType}
32
+	 * class and moved to the {@see ReflectionNamedType} child.
33
+	 */
34
+	#[Pure]
35
+	public function isBuiltin() {}
36 36
 
37
-    /**
38
-     * To string
39
-     *
40
-     * @link https://php.net/manual/en/reflectiontype.tostring.php
41
-     * @return string Returns the type of the parameter.
42
-     * @since 7.0
43
-     * @see ReflectionNamedType::getName()
44
-     */
45
-    #[Deprecated(since: "7.1")]
46
-    public function __toString(): string {}
37
+	/**
38
+	 * To string
39
+	 *
40
+	 * @link https://php.net/manual/en/reflectiontype.tostring.php
41
+	 * @return string Returns the type of the parameter.
42
+	 * @since 7.0
43
+	 * @see ReflectionNamedType::getName()
44
+	 */
45
+	#[Deprecated(since: "7.1")]
46
+	public function __toString(): string {}
47 47
 
48
-    /**
49
-     * Cloning of this class is prohibited
50
-     *
51
-     * @return void
52
-     */
53
-    final private function __clone(): void {}
48
+	/**
49
+	 * Cloning of this class is prohibited
50
+	 *
51
+	 * @return void
52
+	 */
53
+	final private function __clone(): void {}
54 54
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,7 @@
 block discarded – undo
10 10
  * @link https://www.php.net/manual/en/class.reflectiontype.php
11 11
  * @since 7.0
12 12
  */
13
-abstract class ReflectionType implements Stringable
14
-{
13
+abstract class ReflectionType implements Stringable {
15 14
     /**
16 15
      * Checks if null is allowed
17 16
      *
Please login to merge, or discard this patch.
vendor/jetbrains/phpstorm-stubs/Reflection/ReflectionGenerator.php 2 patches
Indentation   +82 added lines, -82 removed lines patch added patch discarded remove patch
@@ -10,92 +10,92 @@
 block discarded – undo
10 10
  */
11 11
 class ReflectionGenerator
12 12
 {
13
-    /**
14
-     * Constructs a ReflectionGenerator object
15
-     *
16
-     * @link https://php.net/manual/en/reflectiongenerator.construct.php
17
-     * @param Generator $generator A generator object.
18
-     * @since 7.0
19
-     */
20
-    public function __construct(Generator $generator) {}
13
+	/**
14
+	 * Constructs a ReflectionGenerator object
15
+	 *
16
+	 * @link https://php.net/manual/en/reflectiongenerator.construct.php
17
+	 * @param Generator $generator A generator object.
18
+	 * @since 7.0
19
+	 */
20
+	public function __construct(Generator $generator) {}
21 21
 
22
-    /**
23
-     * Gets the currently executing line of the generator
24
-     *
25
-     * @link https://php.net/manual/en/reflectiongenerator.getexecutingline.php
26
-     * @return int Returns the line number of the currently executing statement
27
-     * in the generator.
28
-     * @since 7.0
29
-     */
30
-    #[Pure]
31
-    #[TentativeType]
32
-    public function getExecutingLine(): int {}
22
+	/**
23
+	 * Gets the currently executing line of the generator
24
+	 *
25
+	 * @link https://php.net/manual/en/reflectiongenerator.getexecutingline.php
26
+	 * @return int Returns the line number of the currently executing statement
27
+	 * in the generator.
28
+	 * @since 7.0
29
+	 */
30
+	#[Pure]
31
+	#[TentativeType]
32
+	public function getExecutingLine(): int {}
33 33
 
34
-    /**
35
-     * Gets the file name of the currently executing generator
36
-     *
37
-     * @link https://php.net/manual/en/reflectiongenerator.getexecutingfile.php
38
-     * @return string Returns the full path and file name of the currently
39
-     * executing generator.
40
-     * @since 7.0
41
-     */
42
-    #[Pure]
43
-    #[TentativeType]
44
-    public function getExecutingFile(): string {}
34
+	/**
35
+	 * Gets the file name of the currently executing generator
36
+	 *
37
+	 * @link https://php.net/manual/en/reflectiongenerator.getexecutingfile.php
38
+	 * @return string Returns the full path and file name of the currently
39
+	 * executing generator.
40
+	 * @since 7.0
41
+	 */
42
+	#[Pure]
43
+	#[TentativeType]
44
+	public function getExecutingFile(): string {}
45 45
 
46
-    /**
47
-     * Gets the trace of the executing generator
48
-     *
49
-     * @link https://php.net/manual/en/reflectiongenerator.gettrace.php
50
-     * @param int $options The value of <em>options</em> can be any of the following the following flags.
51
-     *
52
-     * Available options:
53
-     *
54
-     * {@see DEBUG_BACKTRACE_PROVIDE_OBJECT} - Default
55
-     *
56
-     * {@see DEBUG_BACKTRACE_IGNORE_ARGS} - Don't include the argument
57
-     * information for functions in the stack trace.
58
-     *
59
-     * @return array Returns the trace of the currently executing generator.
60
-     * @since 7.0
61
-     */
62
-    #[Pure]
63
-    #[TentativeType]
64
-    public function getTrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT): array {}
46
+	/**
47
+	 * Gets the trace of the executing generator
48
+	 *
49
+	 * @link https://php.net/manual/en/reflectiongenerator.gettrace.php
50
+	 * @param int $options The value of <em>options</em> can be any of the following the following flags.
51
+	 *
52
+	 * Available options:
53
+	 *
54
+	 * {@see DEBUG_BACKTRACE_PROVIDE_OBJECT} - Default
55
+	 *
56
+	 * {@see DEBUG_BACKTRACE_IGNORE_ARGS} - Don't include the argument
57
+	 * information for functions in the stack trace.
58
+	 *
59
+	 * @return array Returns the trace of the currently executing generator.
60
+	 * @since 7.0
61
+	 */
62
+	#[Pure]
63
+	#[TentativeType]
64
+	public function getTrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT): array {}
65 65
 
66
-    /**
67
-     * Gets the function name of the generator
68
-     *
69
-     * @link https://php.net/manual/en/reflectiongenerator.getfunction.php
70
-     * @return ReflectionFunctionAbstract Returns a {@see ReflectionFunctionAbstract}
71
-     * class. This will be {@see ReflectionFunction} for functions,
72
-     * or {@see ReflectionMethod} for methods.
73
-     * @since 7.0
74
-     */
75
-    #[Pure]
76
-    #[TentativeType]
77
-    public function getFunction(): ReflectionFunctionAbstract {}
66
+	/**
67
+	 * Gets the function name of the generator
68
+	 *
69
+	 * @link https://php.net/manual/en/reflectiongenerator.getfunction.php
70
+	 * @return ReflectionFunctionAbstract Returns a {@see ReflectionFunctionAbstract}
71
+	 * class. This will be {@see ReflectionFunction} for functions,
72
+	 * or {@see ReflectionMethod} for methods.
73
+	 * @since 7.0
74
+	 */
75
+	#[Pure]
76
+	#[TentativeType]
77
+	public function getFunction(): ReflectionFunctionAbstract {}
78 78
 
79
-    /**
80
-     * Gets the function name of the generator
81
-     *
82
-     * @link https://php.net/manual/en/reflectiongenerator.getthis.php
83
-     * @return object|null Returns the $this value, or {@see null} if the
84
-     * generator was not created in a class context.
85
-     * @since 7.0
86
-     */
87
-    #[Pure]
88
-    #[TentativeType]
89
-    public function getThis(): ?object {}
79
+	/**
80
+	 * Gets the function name of the generator
81
+	 *
82
+	 * @link https://php.net/manual/en/reflectiongenerator.getthis.php
83
+	 * @return object|null Returns the $this value, or {@see null} if the
84
+	 * generator was not created in a class context.
85
+	 * @since 7.0
86
+	 */
87
+	#[Pure]
88
+	#[TentativeType]
89
+	public function getThis(): ?object {}
90 90
 
91
-    /**
92
-     * Gets the executing Generator object
93
-     *
94
-     * @link https://php.net/manual/en/reflectiongenerator.construct.php
95
-     * @return Generator Returns the currently executing Generator object.
96
-     * @since 7.0
97
-     */
98
-    #[Pure]
99
-    #[TentativeType]
100
-    public function getExecutingGenerator(): Generator {}
91
+	/**
92
+	 * Gets the executing Generator object
93
+	 *
94
+	 * @link https://php.net/manual/en/reflectiongenerator.construct.php
95
+	 * @return Generator Returns the currently executing Generator object.
96
+	 * @since 7.0
97
+	 */
98
+	#[Pure]
99
+	#[TentativeType]
100
+	public function getExecutingGenerator(): Generator {}
101 101
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,7 @@
 block discarded – undo
8 8
  *
9 9
  * @since 7.0
10 10
  */
11
-class ReflectionGenerator
12
-{
11
+class ReflectionGenerator {
13 12
     /**
14 13
      * Constructs a ReflectionGenerator object
15 14
      *
Please login to merge, or discard this patch.
vendor/jetbrains/phpstorm-stubs/Reflection/ReflectionExtension.php 2 patches
Indentation   +167 added lines, -167 removed lines patch added patch discarded remove patch
@@ -13,171 +13,171 @@
 block discarded – undo
13 13
  */
14 14
 class ReflectionExtension implements Reflector
15 15
 {
16
-    /**
17
-     * @var string Name of the extension, same as calling the {@see ReflectionExtension::getName()} method
18
-     */
19
-    #[Immutable]
20
-    #[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
21
-    public $name;
22
-
23
-    /**
24
-     * Constructs a ReflectionExtension
25
-     *
26
-     * @link https://php.net/manual/en/reflectionextension.construct.php
27
-     * @param string $name Name of the extension.
28
-     * @throws ReflectionException if the extension does not exist.
29
-     */
30
-    public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name) {}
31
-
32
-    /**
33
-     * Exports a reflected extension.
34
-     * The output format of this function is the same as the CLI argument --re [extension].
35
-     *
36
-     * @link https://php.net/manual/en/reflectionextension.export.php
37
-     * @param string $name The reflection to export.
38
-     * @param bool $return Setting to {@see true} will return the
39
-     * export, as opposed to emitting it. Setting to {@see false} (the default)
40
-     * will do the opposite.
41
-     * @return string|null If the $return parameter is set to {@see true}, then
42
-     * the export is returned as a string, otherwise {@see null} is returned.
43
-     * @removed 8.0
44
-     */
45
-    #[Deprecated(since: '7.4')]
46
-    public static function export($name, $return = false) {}
47
-
48
-    /**
49
-     * To string
50
-     *
51
-     * @link https://php.net/manual/en/reflectionextension.tostring.php
52
-     * @return string the exported extension as a string, in the same way as
53
-     * the {@see ReflectionExtension::export()}.
54
-     */
55
-    #[TentativeType]
56
-    public function __toString(): string {}
57
-
58
-    /**
59
-     * Gets extension name
60
-     *
61
-     * @link https://php.net/manual/en/reflectionextension.getname.php
62
-     * @return string The extensions name.
63
-     */
64
-    #[Pure]
65
-    #[TentativeType]
66
-    public function getName(): string {}
67
-
68
-    /**
69
-     * Gets extension version
70
-     *
71
-     * @link https://php.net/manual/en/reflectionextension.getversion.php
72
-     * @return string|null The version of the extension.
73
-     */
74
-    #[Pure]
75
-    #[TentativeType]
76
-    public function getVersion(): ?string {}
77
-
78
-    /**
79
-     * Gets extension functions
80
-     *
81
-     * @link https://php.net/manual/en/reflectionextension.getfunctions.php
82
-     * @return ReflectionFunction[] An associative array of {@see ReflectionFunction} objects,
83
-     * for each function defined in the extension with the keys being the function
84
-     * names. If no function are defined, an empty array is returned.
85
-     */
86
-    #[Pure]
87
-    #[TentativeType]
88
-    public function getFunctions(): array {}
89
-
90
-    /**
91
-     * Gets constants
92
-     *
93
-     * @link https://php.net/manual/en/reflectionextension.getconstants.php
94
-     * @return array An associative array with constant names as keys.
95
-     */
96
-    #[Pure]
97
-    #[TentativeType]
98
-    public function getConstants(): array {}
99
-
100
-    /**
101
-     * Gets extension ini entries
102
-     *
103
-     * @link https://php.net/manual/en/reflectionextension.getinientries.php
104
-     * @return array An associative array with the ini entries as keys,
105
-     * with their defined values as values.
106
-     */
107
-    #[Pure]
108
-    #[TentativeType]
109
-    public function getINIEntries(): array {}
110
-
111
-    /**
112
-     * Gets classes
113
-     *
114
-     * @link https://php.net/manual/en/reflectionextension.getclasses.php
115
-     * @return ReflectionClass[] An array of {@see ReflectionClass} objects, one
116
-     * for each class within the extension. If no classes are defined,
117
-     * an empty array is returned.
118
-     */
119
-    #[Pure]
120
-    #[TentativeType]
121
-    public function getClasses(): array {}
122
-
123
-    /**
124
-     * Gets class names
125
-     *
126
-     * @link https://php.net/manual/en/reflectionextension.getclassnames.php
127
-     * @return string[] An array of class names, as defined in the extension.
128
-     * If no classes are defined, an empty array is returned.
129
-     */
130
-    #[Pure]
131
-    #[TentativeType]
132
-    public function getClassNames(): array {}
133
-
134
-    /**
135
-     * Gets dependencies
136
-     *
137
-     * @link https://php.net/manual/en/reflectionextension.getdependencies.php
138
-     * @return string[] An associative array with dependencies as keys and
139
-     * either Required, Optional or Conflicts as the values.
140
-     */
141
-    #[Pure]
142
-    #[TentativeType]
143
-    public function getDependencies(): array {}
144
-
145
-    /**
146
-     * Print extension info
147
-     *
148
-     * @link https://php.net/manual/en/reflectionextension.info.php
149
-     * @return void Print extension info
150
-     */
151
-    #[TentativeType]
152
-    public function info(): void {}
153
-
154
-    /**
155
-     * Returns whether this extension is persistent
156
-     *
157
-     * @link https://php.net/manual/en/reflectionextension.ispersistent.php
158
-     * @return bool Returns {@see true} for extensions loaded by extension, {@see false} otherwise.
159
-     * @since 5.4
160
-     */
161
-    #[Pure]
162
-    #[TentativeType]
163
-    public function isPersistent(): bool {}
164
-
165
-    /**
166
-     * Returns whether this extension is temporary
167
-     *
168
-     * @link https://php.net/manual/en/reflectionextension.istemporary.php
169
-     * @return bool Returns {@see true} for extensions loaded by {@see dl()}, {@see false} otherwise.
170
-     * @since 5.4
171
-     */
172
-    #[Pure]
173
-    #[TentativeType]
174
-    public function isTemporary(): bool {}
175
-
176
-    /**
177
-     * Clones
178
-     *
179
-     * @link https://php.net/manual/en/reflectionextension.clone.php
180
-     * @return void No value is returned, if called a fatal error will occur.
181
-     */
182
-    final private function __clone(): void {}
16
+	/**
17
+	 * @var string Name of the extension, same as calling the {@see ReflectionExtension::getName()} method
18
+	 */
19
+	#[Immutable]
20
+	#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
21
+	public $name;
22
+
23
+	/**
24
+	 * Constructs a ReflectionExtension
25
+	 *
26
+	 * @link https://php.net/manual/en/reflectionextension.construct.php
27
+	 * @param string $name Name of the extension.
28
+	 * @throws ReflectionException if the extension does not exist.
29
+	 */
30
+	public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name) {}
31
+
32
+	/**
33
+	 * Exports a reflected extension.
34
+	 * The output format of this function is the same as the CLI argument --re [extension].
35
+	 *
36
+	 * @link https://php.net/manual/en/reflectionextension.export.php
37
+	 * @param string $name The reflection to export.
38
+	 * @param bool $return Setting to {@see true} will return the
39
+	 * export, as opposed to emitting it. Setting to {@see false} (the default)
40
+	 * will do the opposite.
41
+	 * @return string|null If the $return parameter is set to {@see true}, then
42
+	 * the export is returned as a string, otherwise {@see null} is returned.
43
+	 * @removed 8.0
44
+	 */
45
+	#[Deprecated(since: '7.4')]
46
+	public static function export($name, $return = false) {}
47
+
48
+	/**
49
+	 * To string
50
+	 *
51
+	 * @link https://php.net/manual/en/reflectionextension.tostring.php
52
+	 * @return string the exported extension as a string, in the same way as
53
+	 * the {@see ReflectionExtension::export()}.
54
+	 */
55
+	#[TentativeType]
56
+	public function __toString(): string {}
57
+
58
+	/**
59
+	 * Gets extension name
60
+	 *
61
+	 * @link https://php.net/manual/en/reflectionextension.getname.php
62
+	 * @return string The extensions name.
63
+	 */
64
+	#[Pure]
65
+	#[TentativeType]
66
+	public function getName(): string {}
67
+
68
+	/**
69
+	 * Gets extension version
70
+	 *
71
+	 * @link https://php.net/manual/en/reflectionextension.getversion.php
72
+	 * @return string|null The version of the extension.
73
+	 */
74
+	#[Pure]
75
+	#[TentativeType]
76
+	public function getVersion(): ?string {}
77
+
78
+	/**
79
+	 * Gets extension functions
80
+	 *
81
+	 * @link https://php.net/manual/en/reflectionextension.getfunctions.php
82
+	 * @return ReflectionFunction[] An associative array of {@see ReflectionFunction} objects,
83
+	 * for each function defined in the extension with the keys being the function
84
+	 * names. If no function are defined, an empty array is returned.
85
+	 */
86
+	#[Pure]
87
+	#[TentativeType]
88
+	public function getFunctions(): array {}
89
+
90
+	/**
91
+	 * Gets constants
92
+	 *
93
+	 * @link https://php.net/manual/en/reflectionextension.getconstants.php
94
+	 * @return array An associative array with constant names as keys.
95
+	 */
96
+	#[Pure]
97
+	#[TentativeType]
98
+	public function getConstants(): array {}
99
+
100
+	/**
101
+	 * Gets extension ini entries
102
+	 *
103
+	 * @link https://php.net/manual/en/reflectionextension.getinientries.php
104
+	 * @return array An associative array with the ini entries as keys,
105
+	 * with their defined values as values.
106
+	 */
107
+	#[Pure]
108
+	#[TentativeType]
109
+	public function getINIEntries(): array {}
110
+
111
+	/**
112
+	 * Gets classes
113
+	 *
114
+	 * @link https://php.net/manual/en/reflectionextension.getclasses.php
115
+	 * @return ReflectionClass[] An array of {@see ReflectionClass} objects, one
116
+	 * for each class within the extension. If no classes are defined,
117
+	 * an empty array is returned.
118
+	 */
119
+	#[Pure]
120
+	#[TentativeType]
121
+	public function getClasses(): array {}
122
+
123
+	/**
124
+	 * Gets class names
125
+	 *
126
+	 * @link https://php.net/manual/en/reflectionextension.getclassnames.php
127
+	 * @return string[] An array of class names, as defined in the extension.
128
+	 * If no classes are defined, an empty array is returned.
129
+	 */
130
+	#[Pure]
131
+	#[TentativeType]
132
+	public function getClassNames(): array {}
133
+
134
+	/**
135
+	 * Gets dependencies
136
+	 *
137
+	 * @link https://php.net/manual/en/reflectionextension.getdependencies.php
138
+	 * @return string[] An associative array with dependencies as keys and
139
+	 * either Required, Optional or Conflicts as the values.
140
+	 */
141
+	#[Pure]
142
+	#[TentativeType]
143
+	public function getDependencies(): array {}
144
+
145
+	/**
146
+	 * Print extension info
147
+	 *
148
+	 * @link https://php.net/manual/en/reflectionextension.info.php
149
+	 * @return void Print extension info
150
+	 */
151
+	#[TentativeType]
152
+	public function info(): void {}
153
+
154
+	/**
155
+	 * Returns whether this extension is persistent
156
+	 *
157
+	 * @link https://php.net/manual/en/reflectionextension.ispersistent.php
158
+	 * @return bool Returns {@see true} for extensions loaded by extension, {@see false} otherwise.
159
+	 * @since 5.4
160
+	 */
161
+	#[Pure]
162
+	#[TentativeType]
163
+	public function isPersistent(): bool {}
164
+
165
+	/**
166
+	 * Returns whether this extension is temporary
167
+	 *
168
+	 * @link https://php.net/manual/en/reflectionextension.istemporary.php
169
+	 * @return bool Returns {@see true} for extensions loaded by {@see dl()}, {@see false} otherwise.
170
+	 * @since 5.4
171
+	 */
172
+	#[Pure]
173
+	#[TentativeType]
174
+	public function isTemporary(): bool {}
175
+
176
+	/**
177
+	 * Clones
178
+	 *
179
+	 * @link https://php.net/manual/en/reflectionextension.clone.php
180
+	 * @return void No value is returned, if called a fatal error will occur.
181
+	 */
182
+	final private function __clone(): void {}
183 183
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,7 @@
 block discarded – undo
11 11
  *
12 12
  * @link https://php.net/manual/en/class.reflectionextension.php
13 13
  */
14
-class ReflectionExtension implements Reflector
15
-{
14
+class ReflectionExtension implements Reflector {
16 15
     /**
17 16
      * @var string Name of the extension, same as calling the {@see ReflectionExtension::getName()} method
18 17
      */
Please login to merge, or discard this patch.
vendor/jetbrains/phpstorm-stubs/Reflection/ReflectionFunctionAbstract.php 3 patches
Indentation   +309 added lines, -309 removed lines patch added patch discarded remove patch
@@ -14,313 +14,313 @@
 block discarded – undo
14 14
  */
15 15
 abstract class ReflectionFunctionAbstract implements Reflector
16 16
 {
17
-    /**
18
-     * @var string Name of the function, same as calling the {@see ReflectionFunctionAbstract::getName()} method
19
-     */
20
-    #[Immutable]
21
-    #[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
22
-    public $name;
23
-
24
-    /**
25
-     * Clones function
26
-     *
27
-     * @link https://php.net/manual/en/reflectionfunctionabstract.clone.php
28
-     * @return void
29
-     */
30
-    final private function __clone(): void {}
31
-
32
-    /**
33
-     * Checks if function in namespace
34
-     *
35
-     * @link https://php.net/manual/en/reflectionfunctionabstract.innamespace.php
36
-     * @return bool {@see true} if it's in a namespace, otherwise {@see false}
37
-     */
38
-    #[TentativeType]
39
-    public function inNamespace(): bool {}
40
-
41
-    /**
42
-     * Checks if closure
43
-     *
44
-     * @link https://php.net/manual/en/reflectionfunctionabstract.isclosure.php
45
-     * @return bool {@see true} if it's a closure, otherwise {@see false}
46
-     */
47
-    #[Pure]
48
-    #[TentativeType]
49
-    public function isClosure(): bool {}
50
-
51
-    /**
52
-     * Checks if deprecated
53
-     *
54
-     * @link https://php.net/manual/en/reflectionfunctionabstract.isdeprecated.php
55
-     * @return bool {@see true} if it's deprecated, otherwise {@see false}
56
-     */
57
-    #[Pure]
58
-    #[TentativeType]
59
-    public function isDeprecated(): bool {}
60
-
61
-    /**
62
-     * Checks if is internal
63
-     *
64
-     * @link https://php.net/manual/en/reflectionfunctionabstract.isinternal.php
65
-     * @return bool {@see true} if it's internal, otherwise {@see false}
66
-     */
67
-    #[Pure]
68
-    #[TentativeType]
69
-    public function isInternal(): bool {}
70
-
71
-    /**
72
-     * Checks if user defined
73
-     *
74
-     * @link https://php.net/manual/en/reflectionfunctionabstract.isuserdefined.php
75
-     * @return bool {@see true} if it's user-defined, otherwise {@see false}
76
-     */
77
-    #[Pure]
78
-    #[TentativeType]
79
-    public function isUserDefined(): bool {}
80
-
81
-    /**
82
-     * Returns whether this function is a generator
83
-     *
84
-     * @link https://php.net/manual/en/reflectionfunctionabstract.isgenerator.php
85
-     * @return bool {@see true} if the function is generator, otherwise {@see false}
86
-     * @since 5.5
87
-     */
88
-    #[Pure]
89
-    #[TentativeType]
90
-    public function isGenerator(): bool {}
91
-
92
-    /**
93
-     * Returns whether this function is variadic
94
-     *
95
-     * @link https://php.net/manual/en/reflectionfunctionabstract.isvariadic.php
96
-     * @return bool {@see true} if the function is variadic, otherwise {@see false}
97
-     * @since 5.6
98
-     */
99
-    #[Pure]
100
-    #[TentativeType]
101
-    public function isVariadic(): bool {}
102
-
103
-    /**
104
-     * Returns this pointer bound to closure
105
-     *
106
-     * @link https://php.net/manual/en/reflectionfunctionabstract.getclosurethis.php
107
-     * @return object|null Returns $this pointer or {@see null} in case of an error.
108
-     */
109
-    #[Pure]
110
-    #[TentativeType]
111
-    public function getClosureThis(): ?object {}
112
-
113
-    /**
114
-     * Returns the scope associated to the closure
115
-     *
116
-     * @link https://php.net/manual/en/reflectionfunctionabstract.getclosurescopeclass.php
117
-     * @return ReflectionClass|null Returns the class on success or {@see null}
118
-     * on failure.
119
-     * @since 5.4
120
-     */
121
-    #[Pure]
122
-    #[TentativeType]
123
-    public function getClosureScopeClass(): ?ReflectionClass {}
124
-
125
-    /**
126
-     * Gets doc comment
127
-     *
128
-     * @link https://php.net/manual/en/reflectionfunctionabstract.getdoccomment.php
129
-     * @return string|false The doc comment if it exists, otherwise {@see false}
130
-     */
131
-    #[Pure]
132
-    #[TentativeType]
133
-    public function getDocComment(): string|false {}
134
-
135
-    /**
136
-     * Gets end line number
137
-     *
138
-     * @link https://php.net/manual/en/reflectionfunctionabstract.getendline.php
139
-     * @return int|false The ending line number of the user defined function,
140
-     * or {@see false} if unknown.
141
-     */
142
-    #[Pure]
143
-    #[TentativeType]
144
-    public function getEndLine(): int|false {}
145
-
146
-    /**
147
-     * Gets extension info
148
-     *
149
-     * @link https://php.net/manual/en/reflectionfunctionabstract.getextension.php
150
-     * @return ReflectionExtension|null The extension information, as a
151
-     * {@see ReflectionExtension} object or {@see null} instead.
152
-     */
153
-    #[Pure]
154
-    #[TentativeType]
155
-    public function getExtension(): ?ReflectionExtension {}
156
-
157
-    /**
158
-     * Gets extension name
159
-     *
160
-     * @link https://php.net/manual/en/reflectionfunctionabstract.getextensionname.php
161
-     * @return string|false The extension's name or {@see false} instead.
162
-     */
163
-    #[Pure]
164
-    #[TentativeType]
165
-    public function getExtensionName(): string|false {}
166
-
167
-    /**
168
-     * Gets file name
169
-     *
170
-     * @link https://php.net/manual/en/reflectionfunctionabstract.getfilename.php
171
-     * @return string|false The file name or {@see false} in case of error.
172
-     */
173
-    #[Pure]
174
-    #[TentativeType]
175
-    public function getFileName(): string|false {}
176
-
177
-    /**
178
-     * Gets function name
179
-     *
180
-     * @link https://php.net/manual/en/reflectionfunctionabstract.getname.php
181
-     * @return string The name of the function.
182
-     */
183
-    #[Pure]
184
-    #[TentativeType]
185
-    public function getName(): string {}
186
-
187
-    /**
188
-     * Gets namespace name
189
-     *
190
-     * @link https://php.net/manual/en/reflectionfunctionabstract.getnamespacename.php
191
-     * @return string The namespace name.
192
-     */
193
-    #[Pure]
194
-    #[TentativeType]
195
-    public function getNamespaceName(): string {}
196
-
197
-    /**
198
-     * Gets number of parameters
199
-     *
200
-     * @link https://php.net/manual/en/reflectionfunctionabstract.getnumberofparameters.php
201
-     * @return int The number of parameters.
202
-     * @since 5.0.3
203
-     */
204
-    #[Pure]
205
-    #[TentativeType]
206
-    public function getNumberOfParameters(): int {}
207
-
208
-    /**
209
-     * Gets number of required parameters
210
-     *
211
-     * @link https://php.net/manual/en/reflectionfunctionabstract.getnumberofrequiredparameters.php
212
-     * @return int The number of required parameters.
213
-     * @since 5.0.3
214
-     */
215
-    #[Pure]
216
-    #[TentativeType]
217
-    public function getNumberOfRequiredParameters(): int {}
218
-
219
-    /**
220
-     * Gets parameters
221
-     *
222
-     * @link https://php.net/manual/en/reflectionfunctionabstract.getparameters.php
223
-     * @return ReflectionParameter[] The parameters, as a ReflectionParameter objects.
224
-     */
225
-    #[Pure]
226
-    #[TentativeType]
227
-    public function getParameters(): array {}
228
-
229
-    /**
230
-     * Gets the specified return type of a function
231
-     *
232
-     * @link https://php.net/manual/en/reflectionfunctionabstract.getreturntype.php
233
-     * @return ReflectionType|null Returns a {@see ReflectionType} object if a
234
-     * return type is specified, {@see null} otherwise.
235
-     * @since 7.0
236
-     */
237
-    #[Pure]
238
-    #[LanguageLevelTypeAware(
239
-        [
240
-            '7.1' => 'ReflectionNamedType|null',
241
-            '8.0' => 'ReflectionNamedType|ReflectionUnionType|null',
242
-            '8.1' => 'ReflectionNamedType|ReflectionUnionType|ReflectionIntersectionType|null'
243
-        ],
244
-        default: 'ReflectionType|null'
245
-    )]
246
-    #[TentativeType]
247
-    public function getReturnType(): ?ReflectionType {}
248
-
249
-    /**
250
-     * Gets function short name
251
-     *
252
-     * @link https://php.net/manual/en/reflectionfunctionabstract.getshortname.php
253
-     * @return string The short name of the function.
254
-     */
255
-    #[Pure]
256
-    #[TentativeType]
257
-    public function getShortName(): string {}
258
-
259
-    /**
260
-     * Gets starting line number
261
-     *
262
-     * @link https://php.net/manual/en/reflectionfunctionabstract.getstartline.php
263
-     * @return int|false The starting line number or {@see false} if unknown.
264
-     */
265
-    #[Pure]
266
-    #[TentativeType]
267
-    public function getStartLine(): int|false {}
268
-
269
-    /**
270
-     * Gets static variables
271
-     *
272
-     * @link https://php.net/manual/en/reflectionfunctionabstract.getstaticvariables.php
273
-     * @return array An array of static variables.
274
-     */
275
-    #[Pure]
276
-    #[TentativeType]
277
-    public function getStaticVariables(): array {}
278
-
279
-    /**
280
-     * Checks if returns reference
281
-     *
282
-     * @link https://php.net/manual/en/reflectionfunctionabstract.returnsreference.php
283
-     * @return bool {@see true} if it returns a reference, otherwise {@see false}
284
-     */
285
-    #[TentativeType]
286
-    public function returnsReference(): bool {}
287
-
288
-    /**
289
-     * Checks if the function has a specified return type
290
-     *
291
-     * @link https://php.net/manual/en/reflectionfunctionabstract.hasreturntype.php
292
-     * @return bool Returns {@see true} if the function is a specified return
293
-     * type, otherwise {@see false}.
294
-     * @since 7.0
295
-     */
296
-    #[TentativeType]
297
-    public function hasReturnType(): bool {}
298
-
299
-    /**
300
-     * Returns an array of function attributes.
301
-     *
302
-     * @param string|null $name Name of an attribute class
303
-     * @param int $flags Сriteria by which the attribute is searched.
304
-     * @return ReflectionAttribute[]
305
-     * @since 8.0
306
-     */
307
-    #[Pure]
308
-    public function getAttributes(?string $name = null, int $flags = 0): array {}
309
-
310
-    #[PhpStormStubsElementAvailable('8.1')]
311
-    #[Pure]
312
-    public function getClosureUsedVariables(): array {}
313
-
314
-    #[PhpStormStubsElementAvailable('8.1')]
315
-    #[Pure]
316
-    public function hasTentativeReturnType(): bool {}
317
-
318
-    #[PhpStormStubsElementAvailable('8.1')]
319
-    #[Pure]
320
-    public function getTentativeReturnType(): ?ReflectionType {}
321
-
322
-    #[PhpStormStubsElementAvailable('8.1')]
323
-    #[Pure]
324
-    #[TentativeType]
325
-    public function isStatic(): bool {}
17
+	/**
18
+	 * @var string Name of the function, same as calling the {@see ReflectionFunctionAbstract::getName()} method
19
+	 */
20
+	#[Immutable]
21
+	#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
22
+	public $name;
23
+
24
+	/**
25
+	 * Clones function
26
+	 *
27
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.clone.php
28
+	 * @return void
29
+	 */
30
+	final private function __clone(): void {}
31
+
32
+	/**
33
+	 * Checks if function in namespace
34
+	 *
35
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.innamespace.php
36
+	 * @return bool {@see true} if it's in a namespace, otherwise {@see false}
37
+	 */
38
+	#[TentativeType]
39
+	public function inNamespace(): bool {}
40
+
41
+	/**
42
+	 * Checks if closure
43
+	 *
44
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.isclosure.php
45
+	 * @return bool {@see true} if it's a closure, otherwise {@see false}
46
+	 */
47
+	#[Pure]
48
+	#[TentativeType]
49
+	public function isClosure(): bool {}
50
+
51
+	/**
52
+	 * Checks if deprecated
53
+	 *
54
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.isdeprecated.php
55
+	 * @return bool {@see true} if it's deprecated, otherwise {@see false}
56
+	 */
57
+	#[Pure]
58
+	#[TentativeType]
59
+	public function isDeprecated(): bool {}
60
+
61
+	/**
62
+	 * Checks if is internal
63
+	 *
64
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.isinternal.php
65
+	 * @return bool {@see true} if it's internal, otherwise {@see false}
66
+	 */
67
+	#[Pure]
68
+	#[TentativeType]
69
+	public function isInternal(): bool {}
70
+
71
+	/**
72
+	 * Checks if user defined
73
+	 *
74
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.isuserdefined.php
75
+	 * @return bool {@see true} if it's user-defined, otherwise {@see false}
76
+	 */
77
+	#[Pure]
78
+	#[TentativeType]
79
+	public function isUserDefined(): bool {}
80
+
81
+	/**
82
+	 * Returns whether this function is a generator
83
+	 *
84
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.isgenerator.php
85
+	 * @return bool {@see true} if the function is generator, otherwise {@see false}
86
+	 * @since 5.5
87
+	 */
88
+	#[Pure]
89
+	#[TentativeType]
90
+	public function isGenerator(): bool {}
91
+
92
+	/**
93
+	 * Returns whether this function is variadic
94
+	 *
95
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.isvariadic.php
96
+	 * @return bool {@see true} if the function is variadic, otherwise {@see false}
97
+	 * @since 5.6
98
+	 */
99
+	#[Pure]
100
+	#[TentativeType]
101
+	public function isVariadic(): bool {}
102
+
103
+	/**
104
+	 * Returns this pointer bound to closure
105
+	 *
106
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.getclosurethis.php
107
+	 * @return object|null Returns $this pointer or {@see null} in case of an error.
108
+	 */
109
+	#[Pure]
110
+	#[TentativeType]
111
+	public function getClosureThis(): ?object {}
112
+
113
+	/**
114
+	 * Returns the scope associated to the closure
115
+	 *
116
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.getclosurescopeclass.php
117
+	 * @return ReflectionClass|null Returns the class on success or {@see null}
118
+	 * on failure.
119
+	 * @since 5.4
120
+	 */
121
+	#[Pure]
122
+	#[TentativeType]
123
+	public function getClosureScopeClass(): ?ReflectionClass {}
124
+
125
+	/**
126
+	 * Gets doc comment
127
+	 *
128
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.getdoccomment.php
129
+	 * @return string|false The doc comment if it exists, otherwise {@see false}
130
+	 */
131
+	#[Pure]
132
+	#[TentativeType]
133
+	public function getDocComment(): string|false {}
134
+
135
+	/**
136
+	 * Gets end line number
137
+	 *
138
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.getendline.php
139
+	 * @return int|false The ending line number of the user defined function,
140
+	 * or {@see false} if unknown.
141
+	 */
142
+	#[Pure]
143
+	#[TentativeType]
144
+	public function getEndLine(): int|false {}
145
+
146
+	/**
147
+	 * Gets extension info
148
+	 *
149
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.getextension.php
150
+	 * @return ReflectionExtension|null The extension information, as a
151
+	 * {@see ReflectionExtension} object or {@see null} instead.
152
+	 */
153
+	#[Pure]
154
+	#[TentativeType]
155
+	public function getExtension(): ?ReflectionExtension {}
156
+
157
+	/**
158
+	 * Gets extension name
159
+	 *
160
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.getextensionname.php
161
+	 * @return string|false The extension's name or {@see false} instead.
162
+	 */
163
+	#[Pure]
164
+	#[TentativeType]
165
+	public function getExtensionName(): string|false {}
166
+
167
+	/**
168
+	 * Gets file name
169
+	 *
170
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.getfilename.php
171
+	 * @return string|false The file name or {@see false} in case of error.
172
+	 */
173
+	#[Pure]
174
+	#[TentativeType]
175
+	public function getFileName(): string|false {}
176
+
177
+	/**
178
+	 * Gets function name
179
+	 *
180
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.getname.php
181
+	 * @return string The name of the function.
182
+	 */
183
+	#[Pure]
184
+	#[TentativeType]
185
+	public function getName(): string {}
186
+
187
+	/**
188
+	 * Gets namespace name
189
+	 *
190
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.getnamespacename.php
191
+	 * @return string The namespace name.
192
+	 */
193
+	#[Pure]
194
+	#[TentativeType]
195
+	public function getNamespaceName(): string {}
196
+
197
+	/**
198
+	 * Gets number of parameters
199
+	 *
200
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.getnumberofparameters.php
201
+	 * @return int The number of parameters.
202
+	 * @since 5.0.3
203
+	 */
204
+	#[Pure]
205
+	#[TentativeType]
206
+	public function getNumberOfParameters(): int {}
207
+
208
+	/**
209
+	 * Gets number of required parameters
210
+	 *
211
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.getnumberofrequiredparameters.php
212
+	 * @return int The number of required parameters.
213
+	 * @since 5.0.3
214
+	 */
215
+	#[Pure]
216
+	#[TentativeType]
217
+	public function getNumberOfRequiredParameters(): int {}
218
+
219
+	/**
220
+	 * Gets parameters
221
+	 *
222
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.getparameters.php
223
+	 * @return ReflectionParameter[] The parameters, as a ReflectionParameter objects.
224
+	 */
225
+	#[Pure]
226
+	#[TentativeType]
227
+	public function getParameters(): array {}
228
+
229
+	/**
230
+	 * Gets the specified return type of a function
231
+	 *
232
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.getreturntype.php
233
+	 * @return ReflectionType|null Returns a {@see ReflectionType} object if a
234
+	 * return type is specified, {@see null} otherwise.
235
+	 * @since 7.0
236
+	 */
237
+	#[Pure]
238
+	#[LanguageLevelTypeAware(
239
+		[
240
+			'7.1' => 'ReflectionNamedType|null',
241
+			'8.0' => 'ReflectionNamedType|ReflectionUnionType|null',
242
+			'8.1' => 'ReflectionNamedType|ReflectionUnionType|ReflectionIntersectionType|null'
243
+		],
244
+		default: 'ReflectionType|null'
245
+	)]
246
+	#[TentativeType]
247
+	public function getReturnType(): ?ReflectionType {}
248
+
249
+	/**
250
+	 * Gets function short name
251
+	 *
252
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.getshortname.php
253
+	 * @return string The short name of the function.
254
+	 */
255
+	#[Pure]
256
+	#[TentativeType]
257
+	public function getShortName(): string {}
258
+
259
+	/**
260
+	 * Gets starting line number
261
+	 *
262
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.getstartline.php
263
+	 * @return int|false The starting line number or {@see false} if unknown.
264
+	 */
265
+	#[Pure]
266
+	#[TentativeType]
267
+	public function getStartLine(): int|false {}
268
+
269
+	/**
270
+	 * Gets static variables
271
+	 *
272
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.getstaticvariables.php
273
+	 * @return array An array of static variables.
274
+	 */
275
+	#[Pure]
276
+	#[TentativeType]
277
+	public function getStaticVariables(): array {}
278
+
279
+	/**
280
+	 * Checks if returns reference
281
+	 *
282
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.returnsreference.php
283
+	 * @return bool {@see true} if it returns a reference, otherwise {@see false}
284
+	 */
285
+	#[TentativeType]
286
+	public function returnsReference(): bool {}
287
+
288
+	/**
289
+	 * Checks if the function has a specified return type
290
+	 *
291
+	 * @link https://php.net/manual/en/reflectionfunctionabstract.hasreturntype.php
292
+	 * @return bool Returns {@see true} if the function is a specified return
293
+	 * type, otherwise {@see false}.
294
+	 * @since 7.0
295
+	 */
296
+	#[TentativeType]
297
+	public function hasReturnType(): bool {}
298
+
299
+	/**
300
+	 * Returns an array of function attributes.
301
+	 *
302
+	 * @param string|null $name Name of an attribute class
303
+	 * @param int $flags Сriteria by which the attribute is searched.
304
+	 * @return ReflectionAttribute[]
305
+	 * @since 8.0
306
+	 */
307
+	#[Pure]
308
+	public function getAttributes(?string $name = null, int $flags = 0): array {}
309
+
310
+	#[PhpStormStubsElementAvailable('8.1')]
311
+	#[Pure]
312
+	public function getClosureUsedVariables(): array {}
313
+
314
+	#[PhpStormStubsElementAvailable('8.1')]
315
+	#[Pure]
316
+	public function hasTentativeReturnType(): bool {}
317
+
318
+	#[PhpStormStubsElementAvailable('8.1')]
319
+	#[Pure]
320
+	public function getTentativeReturnType(): ?ReflectionType {}
321
+
322
+	#[PhpStormStubsElementAvailable('8.1')]
323
+	#[Pure]
324
+	#[TentativeType]
325
+	public function isStatic(): bool {}
326 326
 }
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      */
131 131
     #[Pure]
132 132
     #[TentativeType]
133
-    public function getDocComment(): string|false {}
133
+    public function getDocComment(): string | false {}
134 134
 
135 135
     /**
136 136
      * Gets end line number
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
      */
142 142
     #[Pure]
143 143
     #[TentativeType]
144
-    public function getEndLine(): int|false {}
144
+    public function getEndLine(): int | false {}
145 145
 
146 146
     /**
147 147
      * Gets extension info
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      */
163 163
     #[Pure]
164 164
     #[TentativeType]
165
-    public function getExtensionName(): string|false {}
165
+    public function getExtensionName(): string | false {}
166 166
 
167 167
     /**
168 168
      * Gets file name
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
      */
173 173
     #[Pure]
174 174
     #[TentativeType]
175
-    public function getFileName(): string|false {}
175
+    public function getFileName(): string | false {}
176 176
 
177 177
     /**
178 178
      * Gets function name
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
             '8.0' => 'ReflectionNamedType|ReflectionUnionType|null',
242 242
             '8.1' => 'ReflectionNamedType|ReflectionUnionType|ReflectionIntersectionType|null'
243 243
         ],
244
-        default: 'ReflectionType|null'
244
+        default : 'ReflectionType|null'
245 245
     )]
246 246
     #[TentativeType]
247 247
     public function getReturnType(): ?ReflectionType {}
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
      */
265 265
     #[Pure]
266 266
     #[TentativeType]
267
-    public function getStartLine(): int|false {}
267
+    public function getStartLine(): int | false {}
268 268
 
269 269
     /**
270 270
      * Gets static variables
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,7 @@
 block discarded – undo
12 12
  *
13 13
  * @link https://php.net/manual/en/class.reflectionfunctionabstract.php
14 14
  */
15
-abstract class ReflectionFunctionAbstract implements Reflector
16
-{
15
+abstract class ReflectionFunctionAbstract implements Reflector {
17 16
     /**
18 17
      * @var string Name of the function, same as calling the {@see ReflectionFunctionAbstract::getName()} method
19 18
      */
Please login to merge, or discard this patch.
vendor/jetbrains/phpstorm-stubs/Reflection/ReflectionEnumBackedCase.php 3 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  */
7 7
 class ReflectionEnumBackedCase extends ReflectionEnumUnitCase
8 8
 {
9
-    public function __construct(object|string $class, string $constant) {}
9
+	public function __construct(object|string $class, string $constant) {}
10 10
 
11
-    public function getBackingValue(): int|string {}
11
+	public function getBackingValue(): int|string {}
12 12
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  */
7 7
 class ReflectionEnumBackedCase extends ReflectionEnumUnitCase
8 8
 {
9
-    public function __construct(object|string $class, string $constant) {}
9
+    public function __construct(object | string $class, string $constant) {}
10 10
 
11
-    public function getBackingValue(): int|string {}
11
+    public function getBackingValue(): int | string {}
12 12
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
  * @link https://php.net/manual/en/class.reflectionenumbackedcase.php
5 5
  * @since 8.1
6 6
  */
7
-class ReflectionEnumBackedCase extends ReflectionEnumUnitCase
8
-{
7
+class ReflectionEnumBackedCase extends ReflectionEnumUnitCase {
9 8
     public function __construct(object|string $class, string $constant) {}
10 9
 
11 10
     public function getBackingValue(): int|string {}
Please login to merge, or discard this patch.
vendor/jetbrains/phpstorm-stubs/Reflection/ReflectionUnionType.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -7,11 +7,11 @@
 block discarded – undo
7 7
  */
8 8
 class ReflectionUnionType extends ReflectionType
9 9
 {
10
-    /**
11
-     * Get list of named types of union type
12
-     *
13
-     * @return ReflectionNamedType[]
14
-     */
15
-    #[Pure]
16
-    public function getTypes(): array {}
10
+	/**
11
+	 * Get list of named types of union type
12
+	 *
13
+	 * @return ReflectionNamedType[]
14
+	 */
15
+	#[Pure]
16
+	public function getTypes(): array {}
17 17
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
5 5
 /**
6 6
  * @since 8.0
7 7
  */
8
-class ReflectionUnionType extends ReflectionType
9
-{
8
+class ReflectionUnionType extends ReflectionType {
10 9
     /**
11 10
      * Get list of named types of union type
12 11
      *
Please login to merge, or discard this patch.
vendor/jetbrains/phpstorm-stubs/Reflection/ReflectionReference.php 2 patches
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -13,37 +13,37 @@
 block discarded – undo
13 13
  */
14 14
 class ReflectionReference
15 15
 {
16
-    /**
17
-     * ReflectionReference cannot be created explicitly.
18
-     */
19
-    private function __construct() {}
16
+	/**
17
+	 * ReflectionReference cannot be created explicitly.
18
+	 */
19
+	private function __construct() {}
20 20
 
21
-    /**
22
-     * Returns ReflectionReference if array element is a reference, {@see null} otherwise
23
-     *
24
-     * @link https://php.net/manual/en/reflectionreference.fromarrayelement.php
25
-     * @param array $array The array which contains the potential reference.
26
-     * @param int|string $key The key; either an integer or a string.
27
-     * @return self|null
28
-     */
29
-    public static function fromArrayElement(
30
-        array $array,
31
-        #[LanguageLevelTypeAware(['8.0' => 'string|int'], default: '')] $key
32
-    ): ?ReflectionReference {}
21
+	/**
22
+	 * Returns ReflectionReference if array element is a reference, {@see null} otherwise
23
+	 *
24
+	 * @link https://php.net/manual/en/reflectionreference.fromarrayelement.php
25
+	 * @param array $array The array which contains the potential reference.
26
+	 * @param int|string $key The key; either an integer or a string.
27
+	 * @return self|null
28
+	 */
29
+	public static function fromArrayElement(
30
+		array $array,
31
+		#[LanguageLevelTypeAware(['8.0' => 'string|int'], default: '')] $key
32
+	): ?ReflectionReference {}
33 33
 
34
-    /**
35
-     * Returns unique identifier for the reference. The return value format is unspecified
36
-     *
37
-     * @link https://php.net/manual/en/reflectionreference.getid.php
38
-     * @return int|string Returns an integer or string of unspecified format.
39
-     */
40
-    #[Pure]
41
-    public function getId(): string {}
34
+	/**
35
+	 * Returns unique identifier for the reference. The return value format is unspecified
36
+	 *
37
+	 * @link https://php.net/manual/en/reflectionreference.getid.php
38
+	 * @return int|string Returns an integer or string of unspecified format.
39
+	 */
40
+	#[Pure]
41
+	public function getId(): string {}
42 42
 
43
-    /**
44
-     * ReflectionReference cannot be cloned
45
-     *
46
-     * @return void
47
-     */
48
-    private function __clone(): void {}
43
+	/**
44
+	 * ReflectionReference cannot be cloned
45
+	 *
46
+	 * @return void
47
+	 */
48
+	private function __clone(): void {}
49 49
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,7 @@
 block discarded – undo
11 11
  * @link https://www.php.net/manual/en/class.reflectionreference.php
12 12
  * @since 7.4
13 13
  */
14
-class ReflectionReference
15
-{
14
+class ReflectionReference {
16 15
     /**
17 16
      * ReflectionReference cannot be created explicitly.
18 17
      */
Please login to merge, or discard this patch.