Completed
Push — master ( 6ecc4c...c85972 )
by Ivannis Suárez
11:44
created

VenuesQueryHandler::aroundVenues()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 15
Code Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 15
rs 9.4285
cc 1
eloc 10
nc 1
nop 1
1
<?php
2
/**
3
 * This file is part of the Cubiche package.
4
 *
5
 * Copyright (c) Cubiche
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
namespace Cubiche\Core\Bus\Tests\Fixtures\Query;
11
12
/**
13
 * VenuesQueryHandler class.
14
 *
15
 * @author Ivannis Suárez Jerez <[email protected]>
16
 */
17
class VenuesQueryHandler
18
{
19
    /**
20
     * @param NearbyVenuesQuery $query
21
     *
22
     * @return array
23
     */
24
    public function aroundVenues(NearbyVenuesQuery $query)
0 ignored issues
show
Unused Code introduced by
The parameter $query is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
25
    {
26
        return array(
27
            array(
28
                'id' => 123,
29
                'title' => 'Post 1',
30
                'content' => 'Post 1 content',
31
            ),
32
            array(
33
                'id' => 345,
34
                'title' => 'Post 2',
35
                'content' => 'Post 2 content',
36
            ),
37
        );
38
    }
39
}
40