Completed
Push — v2 ( 6101cd...f8a429 )
by Beñat
02:32
created

AnswerSerializer::instance()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 8
Ratio 100 %

Importance

Changes 2
Bugs 0 Features 1
Metric Value
c 2
b 0
f 1
dl 8
loc 8
rs 9.4286
cc 2
eloc 4
nc 2
nop 0
1
<?php
2
3
/*
4
 * This file is part of the Stack Exchange Api Client library.
5
 *
6
 * Copyright (c) 2014-2016 Beñat Espiña <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace BenatEspina\StackExchangeApiClient\Serializer;
13
14
use BenatEspina\StackExchangeApiClient\Model\Answer;
15
16
/**
17
 * The answer serializer class.
18
 *
19
 * @author Beñat Espiña <[email protected]>
20
 */
21
final class AnswerSerializer extends Serializer
22
{
23
    /**
24
     * {@inheritdoc}
25
     */
26
    protected static $class = Answer::class;
27
}
28