Skip to content

Commit cacbea3

Browse files
Add Psalm baseline and 'CurlHandle' as property type
1 parent a723922 commit cacbea3

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

psalm-baseline.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<files psalm-version="4.x-dev@">
3+
<file src="src/API.php">
4+
<UndefinedClass occurrences="2">
5+
<code>CurlHandle</code>
6+
<code>CurlHandle</code>
7+
</UndefinedClass>
8+
</file>
9+
</files>

src/API.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class API {
137137
/**
138138
* cURL resource
139139
*
140-
* @var resource
140+
* @var resource|CurlHandle
141141
*/
142142
protected $resource;
143143

0 commit comments

Comments
 (0)