Conditions | 4 |
Paths | 4 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
60 | private function parseContentProtocol () |
||
61 | { |
||
62 | if ( $this->hasEnabled ( 'file_content' ) ) |
||
63 | { |
||
64 | $this->protocol = 'file_content'; |
||
65 | } elseif ( $this->hasEnabled ( 'steam_content' ) ) |
||
66 | { |
||
67 | $this->protocol = 'steam_content'; |
||
68 | } elseif ( $this->hasEnabled ( 'curl' ) ) |
||
69 | { |
||
70 | $this->protocol = 'curl'; |
||
71 | } |
||
72 | } |
||
73 | |||
95 | } |
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..