Failed Conditions
Push — master ( e341c2...878df1 )
by Bas
12:12
created

NormalizesStringFunctions   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
dl 0
loc 7
ccs 0
cts 2
cp 0
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A normalizeConcat() 0 3 1
1
<?php
2
3
namespace LaravelFreelancerNL\FluentAQL\Traits;
4
5
use LaravelFreelancerNL\FluentAQL\QueryBuilder;
6
7
/**
8
 * Trait hasFunctions.
9
 *
10
 * AQL Function API calls.
11
 */
12
trait NormalizesStringFunctions
13
{
14
    abstract protected function normalizeNumbers(QueryBuilder $queryBuilder);
15
16
    protected function normalizeConcat(QueryBuilder $queryBuilder)
17
    {
18
        $this->normalizeStrings($queryBuilder);
0 ignored issues
show
Bug introduced by
The method normalizeStrings() does not exist on LaravelFreelancerNL\Flue...rmalizesStringFunctions. Did you maybe mean normalizeNumbers()? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

18
        $this->/** @scrutinizer ignore-call */ 
19
               normalizeStrings($queryBuilder);

This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.

This is most likely a typographical error or the method has been renamed.

Loading history...
19
    }
20
}
21