Completed
Push — master ( a449a7...7f0061 )
by Gino
12:11
created

PostsRelationTrait::scopeListFrontend()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 2
1
<?php
2
3
namespace GinoPane\BlogTaxonomy\Models;
4
5
trait PostsRelationTrait
6
{
7
    /**
8
     * Gets a list of items related to Posts for frontend use
9
     *
10
     * @param       $query
11
     * @param array $options Available options are "sort", "displayEmpty", "limit"
12
     */
13
    public function scopeListFrontend($query, array $options = [])
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...
Unused Code introduced by
The parameter $options 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...
14
    {
15
16
    }
17
}