File tree Expand file tree Collapse file tree 4 files changed +8
-16
lines changed Expand file tree Collapse file tree 4 files changed +8
-16
lines changed Original file line number Diff line number Diff line change 13
13
/**
14
14
* Generic loop, runs single callable.
15
15
*
16
+ * @api
17
+ *
16
18
* @author Daniil Gentili <daniil@daniil.it>
17
19
*/
18
20
class GenericLoop extends Loop
Original file line number Diff line number Diff line change 18
18
/**
19
19
* Generic loop, runs single callable.
20
20
*
21
+ * @api
22
+ *
21
23
* @author Daniil Gentili <daniil@daniil.it>
22
24
*/
23
25
abstract class Loop implements Stringable
@@ -54,6 +56,8 @@ abstract class Loop implements Stringable
54
56
/**
55
57
* Report pause, can be overriden for logging.
56
58
*
59
+ * @psalm-suppress PossiblyUnusedParam
60
+ *
57
61
* @param float $timeout Pause duration, 0 = forever
58
62
*/
59
63
protected function reportPause (float $ timeout ): void
Original file line number Diff line number Diff line change 12
12
/**
13
13
* Periodic loop.
14
14
*
15
+ * @api
16
+ *
15
17
* @author Daniil Gentili <daniil@daniil.it>
16
18
*/
17
19
class PeriodicLoop extends GenericLoop
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<files psalm-version =" dev-master@9725dafb7e0e0693cd8eee14d83d48db2cef39cd" >
3
- <file src =" lib/Generic/GenericLoop.php" >
4
- <DocblockTypeContradiction >
5
- <code >$callable instanceof \Closure</code >
6
- </DocblockTypeContradiction >
7
- <MixedPropertyTypeCoercion >
8
- <code >$callable</code >
9
- </MixedPropertyTypeCoercion >
10
- </file >
11
- <file src =" lib/Generic/PeriodicLoop.php" >
12
- <DocblockTypeContradiction >
13
- <code >$callback instanceof \Closure</code >
14
- </DocblockTypeContradiction >
15
- <MixedPropertyTypeCoercion >
16
- <code >$callback</code >
17
- </MixedPropertyTypeCoercion >
18
- </file >
19
3
</files >
You can’t perform that action at this time.
0 commit comments