Conditions | 6 |
Paths | 4 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 3 | Features | 1 |
1 | <?php |
||
44 | public function getStatus() |
||
45 | { |
||
46 | if ($this->githubApi->getRepos() >= 5 && $this->githubApi->getRepos() <= 10) { |
||
47 | return "Yeah, I crown you Senior Evangelist. Thanks for making the world a better place"; |
||
48 | } elseif ($this->githubApi->getRepos() >=11 && $this->githubApi->getRepos() <= 20) { |
||
49 | return "Keep Up The Good Work, I crown you Associate Evangelist"; |
||
50 | } elseif ($this->githubApi->getRepos() >= 21) { |
||
51 | return "Damn It!!! Please make the world better, Oh Ye Prodigal Junior Evangelist"; |
||
52 | } else { |
||
53 | return "You don't qualify to be called an evangelist....whatsoever"; |
||
54 | } |
||
55 | } |
||
56 | |||
58 | } |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..