| 1 | <?php |
||
| 16 | class VersionController extends \hidev\base\Controller |
||
| 17 | { |
||
| 18 | public $own; |
||
| 19 | |||
| 20 | public function getComponent() |
||
| 24 | |||
| 25 | public $defaultAction = 'show'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Show current version. |
||
| 29 | * @param string $release |
||
| 30 | */ |
||
| 31 | public function actionShow($release = null) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Update version. |
||
| 45 | * @param string $release |
||
| 46 | */ |
||
| 47 | public function actionUpdate($release = null) |
||
| 54 | } |
||
| 55 |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.