| 1 | <?php |
||
| 14 | class EvangelistStatus |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Github username |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected $username; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Bring in the functionality of the |
||
| 24 | * github api class |
||
| 25 | * @var obj |
||
| 26 | */ |
||
| 27 | protected $githubApi; |
||
| 28 | |||
| 29 | public function __construct($username = null) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Will return a status depending on the number of repos you have |
||
| 41 | * on github |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | public function getStatus() |
||
| 56 | |||
| 57 | |||
| 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..