Passed
Push — master ( 292850...b09322 )
by Emmanuel
01:50
created

Base::emptyString()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 3
ccs 0
cts 0
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
crap 2
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
    public static function emptyString(): string
29
    {
30
        return '';
31
    }
32
}
33