File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
tests/PHPStan/Levels/data Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -8,29 +8,29 @@ class Foo
8
8
private const FOO_CONST = 'foo ' ;
9
9
10
10
/**
11
- * @param \stdClass $object
11
+ * @param \stdClass $object
12
12
* @param int $int
13
- * @param float $float
13
+ * @param float $float
14
14
* @param string $string
15
15
* @param int|string $intOrString
16
16
* @param int|\stdClass $intOrObject
17
17
*/
18
18
public function doFoo (
19
- \stdClass $ object ,
19
+ \stdClass $ object ,
20
20
int $ int ,
21
21
float $ float ,
22
22
string $ string ,
23
23
$ intOrString ,
24
- $ intOrObject
24
+ $ intOrObject
25
25
)
26
26
{
27
- $ object == $ int ;
28
- $ object == $ float ;
29
- $ object == $ string ;
30
- $ object == $ intOrString ;
31
- $ object == $ intOrObject ;
27
+ $ result = $ object == $ int ;
28
+ $ result = $ object == $ float ;
29
+ $ result = $ object == $ string ;
30
+ $ result = $ object == $ intOrString ;
31
+ $ result = $ object == $ intOrObject ;
32
32
33
- self ::FOO_CONST === 'bar ' ;
33
+ $ result = self ::FOO_CONST === 'bar ' ;
34
34
}
35
35
36
36
public function doBar (\ffmpeg_movie $ movie ): void
You can’t perform that action at this time.
0 commit comments