This project does not seem to handle request data directly as such no vulnerable execution paths were found.
include
, or for example
via PHP's auto-loading mechanism.
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | /** |
||
3 | * Serviço referente a linha no banco de dados |
||
4 | */ |
||
5 | |||
6 | namespace Finder\Services\Finders; |
||
7 | |||
8 | use Illuminate\Support\Collection; |
||
9 | use Telefonica\Models\Actors\Person; |
||
10 | |||
11 | /** |
||
12 | * |
||
13 | */ |
||
14 | class PersonService extends FinderAbstractService |
||
15 | { |
||
16 | protected $config; |
||
17 | |||
18 | protected $personEntity = false; |
||
19 | |||
20 | public function __construct($config = false) |
||
0 ignored issues
–
show
|
|||
21 | { |
||
22 | // if (!$this->config = $config) { |
||
23 | // $this->config = \Illuminate\Support\Facades\Config::get('sitec.sitec.models'); |
||
24 | // } |
||
25 | } |
||
26 | |||
27 | View Code Duplication | public function aboutBody($config = false) |
|
0 ignored issues
–
show
This method seems to be duplicated in your project.
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation. You can also find more detailed suggestions in the “Code” section of your repository. ![]() |
|||
28 | { |
||
29 | return $this->mergeWith( |
||
30 | $this->getPerson()->pircings()->get(), |
||
0 ignored issues
–
show
The method
getPerson() does not seem to exist on object<Finder\Services\Finders\PersonService> .
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. ![]() |
|||
31 | $this->getPerson()->pintinhas()->get(), |
||
0 ignored issues
–
show
The method
getPerson() does not seem to exist on object<Finder\Services\Finders\PersonService> .
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. ![]() |
|||
32 | $this->getPerson()->tatuages()->get() |
||
0 ignored issues
–
show
The method
getPerson() does not seem to exist on object<Finder\Services\Finders\PersonService> .
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. ![]() |
|||
33 | ); |
||
34 | } |
||
35 | |||
36 | View Code Duplication | public function aboutLikes($config = false) |
|
0 ignored issues
–
show
This method seems to be duplicated in your project.
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation. You can also find more detailed suggestions in the “Code” section of your repository. ![]() |
|||
37 | { |
||
38 | return $this->mergeWith( |
||
39 | $this->getPerson()->pircings()->get(), |
||
0 ignored issues
–
show
The method
getPerson() does not seem to exist on object<Finder\Services\Finders\PersonService> .
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. ![]() |
|||
40 | $this->getPerson()->pintinhas()->get(), |
||
0 ignored issues
–
show
The method
getPerson() does not seem to exist on object<Finder\Services\Finders\PersonService> .
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. ![]() |
|||
41 | $this->getPerson()->tatuages()->get() |
||
0 ignored issues
–
show
The method
getPerson() does not seem to exist on object<Finder\Services\Finders\PersonService> .
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. ![]() |
|||
42 | ); |
||
43 | } |
||
44 | |||
45 | |||
46 | public function aboutPersonagens($config = false) |
||
0 ignored issues
–
show
|
|||
47 | { |
||
48 | return $this->mergeWith( |
||
49 | $this->getPerson()->productions()->get(), |
||
0 ignored issues
–
show
The method
getPerson() does not seem to exist on object<Finder\Services\Finders\PersonService> .
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. ![]() |
|||
50 | $this->getPerson()->personagens()->get() |
||
0 ignored issues
–
show
The method
getPerson() does not seem to exist on object<Finder\Services\Finders\PersonService> .
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. ![]() |
|||
51 | ); |
||
52 | } |
||
53 | |||
54 | |||
55 | /** |
||
56 | * Localizar |
||
57 | */ |
||
58 | public function aboutLocals($config = false) |
||
0 ignored issues
–
show
|
|||
59 | { |
||
60 | return $this->mergeWith( |
||
61 | $this->getPerson()->accounts()->get(), |
||
0 ignored issues
–
show
The method
getPerson() does not seem to exist on object<Finder\Services\Finders\PersonService> .
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. ![]() |
|||
62 | $this->getPerson()->phones()->get(), |
||
0 ignored issues
–
show
The method
getPerson() does not seem to exist on object<Finder\Services\Finders\PersonService> .
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. ![]() |
|||
63 | $this->getPerson()->emails()->get(), |
||
0 ignored issues
–
show
The method
getPerson() does not seem to exist on object<Finder\Services\Finders\PersonService> .
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. ![]() |
|||
64 | $this->getPerson()->addresses()->get(), |
||
0 ignored issues
–
show
The method
getPerson() does not seem to exist on object<Finder\Services\Finders\PersonService> .
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. ![]() |
|||
65 | $this->getPerson()->sitios()->get() |
||
0 ignored issues
–
show
The method
getPerson() does not seem to exist on object<Finder\Services\Finders\PersonService> .
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. ![]() |
|||
66 | ); |
||
67 | } |
||
68 | |||
69 | /** |
||
70 | * ORganizacao |
||
71 | */ |
||
72 | |||
73 | public function aboutSenhas($config = false) |
||
0 ignored issues
–
show
|
|||
74 | { |
||
75 | return $this->mergeWith( |
||
76 | $this->getPerson()->passwords()->get() |
||
0 ignored issues
–
show
The method
getPerson() does not seem to exist on object<Finder\Services\Finders\PersonService> .
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. ![]() |
|||
77 | ); |
||
78 | } |
||
79 | |||
80 | public function aboutInfo($config = false) |
||
0 ignored issues
–
show
|
|||
81 | { |
||
82 | return $this->mergeWith( |
||
83 | $this->getPerson()->infos()->get(), |
||
0 ignored issues
–
show
The method
getPerson() does not seem to exist on object<Finder\Services\Finders\PersonService> .
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. ![]() |
|||
84 | $this->getPerson()->fatos()->get() |
||
0 ignored issues
–
show
The method
getPerson() does not seem to exist on object<Finder\Services\Finders\PersonService> .
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. ![]() |
|||
85 | ); |
||
86 | } |
||
87 | public function aboutMidias($config = false) |
||
0 ignored issues
–
show
|
|||
88 | { |
||
89 | return $this->mergeWith( |
||
90 | $this->getPerson()->videos()->get(), |
||
0 ignored issues
–
show
The method
getPerson() does not seem to exist on object<Finder\Services\Finders\PersonService> .
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. ![]() |
|||
91 | $this->getPerson()->imagens()->get() |
||
0 ignored issues
–
show
The method
getPerson() does not seem to exist on object<Finder\Services\Finders\PersonService> .
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. ![]() |
|||
92 | ); |
||
93 | } |
||
94 | } |
||
95 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.