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

GeneratorClassFactory::create()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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
}