Completed
Push — master ( 2eb89a...0fd1a8 )
by Dieter
13:44
created

HandlerCreateTASF   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A analyze() 0 4 1
1
<?php
2
3
namespace Amadeus\Client\ResponseHandler\Ticket;
4
5
use Amadeus\Client\ResponseHandler\StandardResponseHandler;
6
use Amadeus\Client\Result;
7
use Amadeus\Client\Session\Handler\SendResult;
8
9
/**
10
 * HandlerCreateTASF
11
 *
12
 * @package Amadeus\Client\ResponseHandler\Ticket
13
 * @author Artem Zakharchenko <[email protected]>
14
 */
15
class HandlerCreateTASF extends StandardResponseHandler
16
{
17
    /**
18
     * @param SendResult $response
19
     * @return Result
20
     */
21 8
    public function analyze(SendResult $response)
22
    {
23 8
        return $this->analyzeSimpleResponseErrorCodeAndMessageStatusCode($response);
24
    }
25
}
26