| 1 | <?php |
||
| 7 | class LangPublisher extends Publisher |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Determine whether the result message will shown in the console. |
||
| 11 | * |
||
| 12 | * @var bool |
||
| 13 | */ |
||
| 14 | protected $showMessage = false; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Get destination path. |
||
| 18 | * |
||
| 19 | * @return string |
||
| 20 | */ |
||
| 21 | public function getDestinationPath() |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Get source path. |
||
| 30 | * |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | public function getSourcePath() |
||
| 39 | } |
||
| 40 |
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.