| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | interface MylinksThumbPlugin |
||
| 25 | { |
||
| 26 | public function getProviderUrl(); |
||
| 27 | |||
| 28 | public function getProviderName(); |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param $szarray |
||
| 32 | * @return mixed |
||
| 33 | */ |
||
| 34 | public function setShotSize($szarray); |
||
| 35 | |||
| 36 | public function getShotSize(); |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param $url |
||
| 40 | * @return mixed |
||
| 41 | */ |
||
| 42 | public function setSiteUrl($url); |
||
| 43 | |||
| 44 | public function getSiteUrl(); |
||
| 45 | |||
| 46 | public function setAttribution(); |
||
| 47 | |||
| 48 | public function getAttribution(); |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @param $key |
||
| 52 | * @return mixed |
||
| 53 | */ |
||
| 54 | public function setProviderPublicKey($key); |
||
| 55 | |||
| 56 | public function getProviderPublicKey(); |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @param $key |
||
| 60 | * @return mixed |
||
| 61 | */ |
||
| 62 | public function setProviderPrivateKey($key); |
||
| 63 | |||
| 64 | public function getProviderPrivateKey(); |
||
| 65 | } |
||
| 66 |
For interface and abstract methods, it is impossible to infer the return type from the immediate code. In these cases, it is generally advisible to explicitly annotate these methods with a
@returndoc comment to communicate to implementors of these methods what they are expected to return.