Skip to content

Commit 53acae4

Browse files
authored
Merge pull request #762 from acrobat/fix-dynamic-properties
Declare all used properties in RateLimitResource class
2 parents 5e1dc3e + cf54790 commit 53acae4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

lib/Github/Api/RateLimit/RateLimitResource.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@
77
*/
88
class RateLimitResource
99
{
10+
/** @var string */
11+
private $name;
12+
13+
/** @var int */
14+
private $limit;
15+
16+
/** @var int */
17+
private $reset;
18+
19+
/** @var int */
20+
private $remaining;
21+
1022
/**
1123
* @param string $name
1224
* @param array $data

0 commit comments

Comments
 (0)