Passed
Push — master ( e91214...4bd70e )
by Grupo
06:18
created

GeneratorClassFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 4
dl 0
loc 7
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A create() 0 5 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: thalesmartins
5
 * Date: 10/12/2018
6
 * Time: 14:41
7
 */
8
9
namespace Saci\Console\Infrastructure\Domain\Services;
10
11
12
use cristianoc72\codegen\generator\CodeGenerator;
13
14
class GeneratorClassFactory
15
{
16
    public static function create()
17
    {
18
        return new GeneratorClass(new CodeGenerator([
19
            'generateScalarTypeHints' => true,
20
            'generateReturnTypeHints' => true
21
        ]));
22
    }
23
}