Passed
Push — master ( c82647...c877fa )
by Georges
11:01
created

PhpfastcacheCorruptedDataException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
dl 0
loc 9
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
/**
4
 *
5
 * This file is part of Phpfastcache.
6
 *
7
 * @license MIT License (MIT)
8
 *
9
 * For full copyright and license information, please see the docs/CREDITS.txt and LICENCE files.
10
 *
11
 * @author Georges.L (Geolim4)  <[email protected]>
12
 * @author Contributors  https://github.com/PHPSocialNetwork/phpfastcache/graphs/contributors
13
 */
14
15
declare(strict_types=1);
16
17
namespace Phpfastcache\Exceptions;
18
19
class PhpfastcacheCorruptedDataException extends PhpfastcacheDriverException
20
{
21
    /**
22
     * @param string $message
23
     * @param mixed|null $corruptedData
24
     */
25
    public function __construct(protected $message = '', protected mixed $corruptedData = null)
26
    {
27
        parent::__construct($message);
28
    }
29
}
30