Passed
Push — master ( 16eb74...e2e5d8 )
by Emmanuel
02:58
created

Base   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 9
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A emptyString() 0 3 1
1
<?php
2
/**
3
 * neuralyzer : Data Anonymization Library and CLI Tool
4
 *
5
 * PHP Version 7.1
6
 *
7
 * @author Emmanuel Dyan
8
 * @copyright 2018 Emmanuel Dyan
9
 *
10
 * @package edyan/neuralyzer
11
 *
12
 * @license GNU General Public License v2.0
13
 *
14
 * @link https://github.com/edyan/neuralyzer
15
 */
16
17
namespace Edyan\Neuralyzer\Faker\Provider;
18
19
/**
20
 * Extends the base provider of faker to add an empty value Generator
21
 */
22
class Base extends \Faker\Provider\Base
23
{
24
    /**
25
     * Simply generate an empty string
26
     * @return string
27
     */
28 1
    public static function emptyString(): string
29
    {
30 1
        return '';
31
    }
32
}
33