Skip to content

Commit ec05121

Browse files
authored
remove duplicate mysqli_stmt stub definitions (#485)
1 parent c5e7b83 commit ec05121

File tree

2 files changed

+1
-51
lines changed

2 files changed

+1
-51
lines changed

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
db-image: 'mysql:8.0'
2121
reflector: "pdo-mysql"
2222
mode: "recording"
23-
phpstan-version: "@dev"
23+
phpstan-version: "phpstan@dev"
2424

2525
- php-version: "8.0"
2626
db-image: 'mysql:8.0'

config/Mysqli.stub

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,5 @@
11
<?php
22

3-
class mysqli_stmt
4-
{
5-
6-
/**
7-
* @var int|string
8-
*/
9-
public $affected_rows;
10-
11-
/**
12-
* @var int
13-
*/
14-
public $errno;
15-
16-
/**
17-
* @var list<array{errno: int, sqlstate: string, error: string}>
18-
*/
19-
public $error_list;
20-
21-
/**
22-
* @var string
23-
*/
24-
public $error;
25-
26-
/**
27-
* @var 0|positive-int
28-
*/
29-
public $field_count;
30-
31-
/**
32-
* @var int|string
33-
*/
34-
public $insert_id;
35-
36-
/**
37-
* @var 0|positive-int
38-
*/
39-
public $num_rows;
40-
41-
/**
42-
* @var 0|positive-int
43-
*/
44-
public $param_count;
45-
46-
/**
47-
* @var non-empty-string
48-
*/
49-
public $sqlstate;
50-
51-
}
52-
533
/**
544
* @template TValue
555
* @implements Traversable<int, TValue>

0 commit comments

Comments
 (0)