| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function __construct(string $name, LaruploadMode $mode) |
||
|
|
|||
| 16 | { |
||
| 17 | static::$laruploadNull = crc32(time()); |
||
| 18 | |||
| 19 | if (!defined('LARUPLOAD_NULL')) { |
||
| 20 | // @codeCoverageIgnoreStart |
||
| 21 | define('LARUPLOAD_NULL', static::$laruploadNull); |
||
| 22 | // @codeCoverageIgnoreEnd |
||
| 23 | } |
||
| 24 | |||
| 25 | parent::__construct($name, LaruploadMode::STANDALONE); |
||
| 26 | } |
||
| 37 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.